libgphoto2 photo camera library (libgphoto2) Internals  2.5.26
LogFunc Struct Reference

Internal logging function entry. More...

Data Fields

int id
 
GPLogLevel level
 
GPLogFunc func
 
void * data
 

Detailed Description

Internal logging function entry.

Internal structure to remember the logging functions. Use gp_log_add_func() and gp_log_remove_func() to access it.

Definition at line 57 of file gphoto2-port-log.c.

Field Documentation

◆ data

void* LogFunc::data

Private data supplied by caller

Definition at line 61 of file gphoto2-port-log.c.

Referenced by gp_log_add_func().

◆ func

GPLogFunc LogFunc::func

Internal function pointer to call

Definition at line 60 of file gphoto2-port-log.c.

Referenced by gp_log_add_func(), and gp_logv().

◆ id

int LogFunc::id

Internal id

Definition at line 58 of file gphoto2-port-log.c.

Referenced by gp_log_add_func().

◆ level

GPLogLevel LogFunc::level

Internal loglevel

Definition at line 59 of file gphoto2-port-log.c.

Referenced by gp_log_add_func().


The documentation for this struct was generated from the following file: