libgphoto2 photo camera library (libgphoto2) Internals
2.5.23
|
Go to the documentation of this file.
24 #define _DEFAULT_SOURCE
156 const char *format, ...)
167 va_start (args, format);
208 va_start (args, format);
229 va_start (args, format);
237 GP_LOG_D (
"%s", str);
262 va_start (args, format);
270 GP_LOG_D (
"%s", str);
297 va_start (args, format);
GPContextCancelFunc cancel_func
void * progress_func_data
GPContextProgressStartFunc progress_start_func
GPContext * gp_context_new(void)
Creates a new context.
void gp_context_set_question_func(GPContext *context, GPContextQuestionFunc func, void *data)
GPContextStatusFunc status_func
void gp_context_set_cancel_func(GPContext *context, GPContextCancelFunc func, void *data)
GPContextFeedback gp_context_cancel(GPContext *context)
void gp_context_unref(GPContext *context)
Decrements reference count of a context.
GPContextFeedback gp_context_question(GPContext *context, const char *format,...)
Ask frontend user a question.
unsigned int gp_context_progress_start(GPContext *context, float target, const char *format,...)
Start progress tracking.
GPContextErrorFunc error_func
void(* GPContextMessageFunc)(GPContext *context, const char *text, void *data)
void(* GPContextProgressStopFunc)(GPContext *context, unsigned int id, void *data)
void gp_context_set_error_func(GPContext *context, GPContextErrorFunc func, void *data)
unsigned int(* GPContextProgressStartFunc)(GPContext *context, float target, const char *text, void *data)
void gp_context_set_progress_funcs(GPContext *context, GPContextProgressStartFunc start_func, GPContextProgressUpdateFunc update_func, GPContextProgressStopFunc stop_func, void *data)
GPContextIdleFunc idle_func
static void gp_context_free(GPContext *context)
void gp_context_progress_stop(GPContext *context, unsigned int id)
void(* GPContextIdleFunc)(GPContext *context, void *data)
void gp_context_status(GPContext *context, const char *format,...)
void(* GPContextProgressUpdateFunc)(GPContext *context, unsigned int id, float current, void *data)
GPContextQuestionFunc question_func
void gp_context_ref(GPContext *context)
GPContextProgressStopFunc progress_stop_func
void gp_context_set_message_func(GPContext *context, GPContextMessageFunc func, void *data)
GPContextMessageFunc message_func
@ GP_LOG_ERROR
Log message is an error infomation.
void gp_context_message(GPContext *context, const char *format,...)
Print a message to the context.
void gp_context_error(GPContext *context, const char *format,...)
void gp_context_idle(GPContext *context)
Notify frontend of a brief idle time.
GPContextFeedback(* GPContextCancelFunc)(GPContext *context, void *data)
void gp_context_progress_update(GPContext *context, unsigned int id, float current)
void(* GPContextErrorFunc)(GPContext *context, const char *text, void *data)
void gp_context_set_idle_func(GPContext *context, GPContextIdleFunc func, void *data)
void(* GPContextStatusFunc)(GPContext *context, const char *text, void *data)
enum _GPContextFeedback GPContextFeedback
Return codes that can be returned by progress handling.
GPContextFeedback(* GPContextQuestionFunc)(GPContext *context, const char *text, void *data)
void gp_log(GPLogLevel level, const char *domain, const char *format,...)
Log a debug or error message.
char * gpi_vsnprintf(const char *format, va_list args)
GPContextProgressUpdateFunc progress_update_func
Context callback operation functions.
void * question_func_data
void gp_context_set_status_func(GPContext *context, GPContextStatusFunc func, void *data)