From 5f0b377d7eef399bfbf560dff07a548664c613fd Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 25 May 2007 06:22:20 +0000 Subject: [PATCH] marked up logfunc git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10311 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2_port/libgphoto2_port/gphoto2-port-log.c | 14 ++++++++++---- 1 file 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;