libgphoto2 photo camera library (libgphoto2) Internals
2.5.23
|
Go to the source code of this file.
Functions | |
int | gp_setting_set (char *id, char *key, char *value) |
Set a specific gphoto setting. More... | |
int | gp_setting_get (char *id, char *key, char *value) |
Retrieve a specific gphoto setting. More... | |
Definition in file gphoto2-setting.h.
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.
Definition at line 75 of file gphoto2-setting.c.
References glob_setting, glob_setting_count, GP_ERROR, GP_OK, and load_settings().
Referenced by gp_filesystem_lru_update().
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.
Definition at line 107 of file gphoto2-setting.c.
References glob_setting, glob_setting_count, GP_OK, load_settings(), and save_settings().
Referenced by gp_filesystem_lru_update().