Loading...
Searching...
No Matches
gphoto2-setting.h
Go to the documentation of this file.
#ifndef LIBGPHOTO2_GPHOTO2_SETTING_H
#define LIBGPHOTO2_GPHOTO2_SETTING_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef int(*gp_settings_func)(char*,char*,char*,void*);
void gp_setting_set_get_func (gp_settings_func func, void *userdata);
void gp_setting_set_set_func (gp_settings_func func, void *userdata);
int gp_setting_set (char *id, char *key, char *value);
int gp_setting_get (char *id, char *key, char *value);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#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