marked up logfunc

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10311 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2007-05-25 06:22:20 +00:00
parent b77e042141
commit 5f0b377d7e

View File

@@ -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;