libgphoto2 photo camera library (libgphoto2) Internals
2.5.23
|
Go to the source code of this file.
Macros | |
#define | _(String) (String) |
#define | N_(String) (String) |
Functions | |
const char * | gp_result_as_string (int result) |
Translate a gphoto error code into a localized string. More... | |
Variables | |
struct { | |
int result | |
const char * description | |
} | result_descriptions [] |
Definition in file gphoto2-result.c.
#define _ | ( | String | ) | (String) |
Definition at line 40 of file gphoto2-result.c.
#define N_ | ( | String | ) | (String) |
Definition at line 41 of file gphoto2-result.c.
const char* gp_result_as_string | ( | int | result | ) |
Translate a gphoto error code into a localized string.
result | a gphoto2 error code |
Translates a gphoto2 error code into a human readable string. If the error occurred in combination with a camera, gp_camera_get_result_as_string() should be used instead.
Definition at line 73 of file gphoto2-result.c.
References _, description, gp_port_result_as_string(), N_, result, and result_descriptions.
Referenced by gp_filesystem_delete_all(), and gp_filesystem_get_file().
const char* description |
Definition at line 45 of file gphoto2-result.c.
Referenced by gp_result_as_string().
int result |
Definition at line 44 of file gphoto2-result.c.
Referenced by foreach_func(), gp_camera_file_get_info(), gp_camera_init(), gp_camera_new(), gp_filesystem_set_info(), gp_log_data(), gp_port_info_list_load(), gp_port_info_list_lookup_path(), gp_port_result_as_string(), gp_result_as_string(), gp_widget_get_child_by_id(), gp_widget_get_child_by_label(), and gp_widget_get_child_by_name().
struct { ... } result_descriptions[] |
Referenced by gp_result_as_string().