added debug types
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@999 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -26,10 +26,15 @@
|
||||
|
||||
int gp_exit();
|
||||
|
||||
/* Debugging functions */
|
||||
/* ============================================================================== */
|
||||
void gp_debug_printf(int level, char *id, char *format, ...);
|
||||
/* Print debugging messages */
|
||||
|
||||
/* Frontend registration */
|
||||
/* ============================================================================== */
|
||||
int gp_frontend_register(CameraStatus status, CameraProgress progress,
|
||||
CameraMessage message, CameraConfirm confirm);
|
||||
CameraMessage message, CameraConfirm confirm);
|
||||
/* register the frontend's feedback functions */
|
||||
|
||||
/* Port information */
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
#define GP_ERROR -1
|
||||
#define GP_ERROR_NONCRITICAL -2
|
||||
|
||||
/* Debugging levels for gp_init */
|
||||
#define GP_DEBUG_NONE 0
|
||||
#define GP_DEBUG_LOW 1
|
||||
#define GP_DEBUG_MEDIUM 2
|
||||
#define GP_DEBUG_HIGH 3
|
||||
|
||||
/* Macros
|
||||
---------------------------------------------------------------- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user