2001-10-04 Lutz M�ller <urc8@rz.uni-karlsruhe.de>

* include/gphoto2-debug.h: #include <gphoto2-port-debug.h>
        * include/gphoto2-result.h: #include <gphoto2-port-result.h>
        * libgphoto2/debug.c: #include <gphoto2-port.h>


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2380 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Lutz Mueller
2001-10-04 21:20:53 +00:00
parent f89c7f8021
commit 2ba2a66a9e
5 changed files with 17 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2001-10-04 Lutz Müller <urc8@rz.uni-karlsruhe.de>
* include/gphoto2-debug.h: #include <gphoto2-port-debug.h>
* include/gphoto2-result.h: #include <gphoto2-port-result.h>
* libgphoto2/debug.c: #include <gphoto2-port.h>
2001-10-04 Lutz Müller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/debug.c: Move debugging stuff to libgphoto2_port so

View File

@@ -18,6 +18,11 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef __KONICA_LOWLEVEL_H__
#define __KONICA_LOWLEVEL_H__
#include <gphoto2-port.h>
int l_init (gp_port* device);
/*
@@ -44,3 +49,5 @@ int l_send_receive (gp_port *device,
unsigned char **receive_buffer, unsigned int *receive_buffer_size,
unsigned int timeout,
unsigned char **image_buffer, unsigned int *image_buffer_size);
#endif /* __KONICA_LOWLEVEL_H__ */

View File

@@ -21,9 +21,8 @@
#ifndef __GPHOTO2_DEBUG_H__
#define __GPHOTO2_DEBUG_H__
#include <gphoto2-port.h>
/* The debug levels (GP_DEBUG_*) are defined in gphoto2-port.h */
/* The debug levels (GP_DEBUG_*) are defined here */
#include <gphoto2-port-debug.h>
void gp_debug_printf (int level, const char *id, const char *format, ...);

View File

@@ -22,7 +22,7 @@
#define __GPHOTO2_RESULT_H__
/* Additional error codes are defined here */
#include <gphoto2-port.h>
#include <gphoto2-port-result.h>
#define GP_ERROR_BAD_PARAMETERS -100 /* for checking function-param. */
#define GP_ERROR_IO -101 /* IO problem */

View File

@@ -27,6 +27,7 @@
#include <gphoto2-result.h>
#include <gphoto2-port-debug.h>
#include <gphoto2-port.h>
static int glob_debug = GP_DEBUG_NONE;