libgphoto2 photo camera library (libgphoto2) API: gphoto2/gphoto2-setting.h Source File

libgphoto2 photo camera library (libgphoto2) API 2.5.34

Loading...
Searching...
No Matches
gphoto2-setting.h
Go to the documentation of this file.
1
23
24#ifndef LIBGPHOTO2_GPHOTO2_SETTING_H
25#define LIBGPHOTO2_GPHOTO2_SETTING_H
26
27#ifdef __cplusplus
28extern "C" {
29#endif /* __cplusplus */
30
31typedef int(*gp_settings_func)(char*,char*,char*,void*);
32void gp_setting_set_get_func (gp_settings_func func, void *userdata);
33void gp_setting_set_set_func (gp_settings_func func, void *userdata);
34int gp_setting_set (char *id, char *key, char *value);
35int gp_setting_get (char *id, char *key, char *value);
36
37#ifdef __cplusplus
38}
39#endif /* __cplusplus */
40
41#endif /* !defined(LIBGPHOTO2_GPHOTO2_SETTING_H) */
gp_setting_set_set_func
void gp_setting_set_set_func(gp_settings_func func, void *userdata)
Set user defined function to set a gphoto setting.
Definition gphoto2-setting.c:91
gp_setting_get
int gp_setting_get(char *id, char *key, char *value)
Retrieve a specific gphoto setting.
Definition gphoto2-setting.c:108
gp_setting_set_get_func
void gp_setting_set_get_func(gp_settings_func func, void *userdata)
Set user defined function to get a gphoto setting.
Definition gphoto2-setting.c:77
gp_setting_set
int gp_setting_set(char *id, char *key, char *value)
Set a specific gphoto setting.
Definition gphoto2-setting.c:143