libgphoto2 photo camera library (libgphoto2) API 2.5.32
|
Go to the source code of this file.
Typedefs | |
typedef int(* | gp_settings_func) (char *, char *, char *, void *) |
Functions | |
void | gp_setting_set_get_func (gp_settings_func func, void *userdata) |
Set user defined function to get a gphoto setting. | |
void | gp_setting_set_set_func (gp_settings_func func, void *userdata) |
Set user defined function to set a gphoto setting. | |
int | gp_setting_set (char *id, char *key, char *value) |
Set a specific gphoto setting. | |
int | gp_setting_get (char *id, char *key, char *value) |
Retrieve a specific gphoto setting. |
int gp_setting_get | ( | char * | id, |
char * | key, | ||
char * | value ) |
Retrieve a specific gphoto setting.
id | the frontend id of the caller |
key | the key the frontend queries |
value | changed value |
This function retrieves the setting key for a specific frontend id and copies the value into the passed value pointer.
int gp_setting_set | ( | char * | id, |
char * | key, | ||
char * | value ) |
Set a specific gphoto setting.
id | the frontend id of the caller |
key | the key the frontend queries |
value | new value |
This function sets the setting key for a specific frontend id to the value.
References GP_OK.
void gp_setting_set_get_func | ( | gp_settings_func | func, |
void * | userdata ) |
Set user defined function to get a gphoto setting.
func | The function to get the settings |
userdata | userdata passed to func |
This function is expected to behave like gp_settings_get. To clear set func to NULL.
void gp_setting_set_set_func | ( | gp_settings_func | func, |
void * | userdata ) |
Set user defined function to set a gphoto setting.
func | The function to set the settings |
userdata | userdata passed to func |
This function is expected to behave like gp_settings_set. To clear set func to NULL.