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:
Scott Fritzinger
2000-08-31 18:17:42 +00:00
parent 8d9d17ec58
commit 5d11b52312
2 changed files with 12 additions and 1 deletions

View File

@@ -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 */

View File

@@ -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
---------------------------------------------------------------- */