diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2007-05-25 06:22:20 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2007-05-25 06:22:20 +0000 |
commit | 5f0b377d7eef399bfbf560dff07a548664c613fd (patch) | |
tree | 32491dfa212d07d7279430f9fc93c0291b0f9292 /libgphoto2_port/libgphoto2_port | |
parent | b77e042141ee9fd3664251acd381111eb4762ec8 (diff) | |
download | libgphoto2-5f0b377d7eef399bfbf560dff07a548664c613fd.tar.gz |
marked up logfunc
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10311 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/libgphoto2_port')
-rw-r--r-- | libgphoto2_port/libgphoto2_port/gphoto2-port-log.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c b/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c index bedc331ef..164b34f25 100644 --- a/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c +++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c @@ -46,11 +46,17 @@ #endif #ifndef DISABLE_DEBUGGING +/** + * \brief Internal logging function entry. + * + * Internal structure to remember the logging functions. + * Use gp_log_add_func() and gp_log_remove_func() to access it. + */ typedef struct { - unsigned int id; - GPLogLevel level; - GPLogFunc func; - void *data; + unsigned int id; /**< Internal id */ + GPLogLevel level; /**< Internal loglevel */ + GPLogFunc func; /**< Internal function pointer to call */ + void *data; /**< Private data supplied by caller */ } LogFunc; static LogFunc *log_funcs = NULL; |