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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user