libgphoto2 photo camera library (libgphoto2) API  2.5.10.1
gphoto2-result.h
Go to the documentation of this file.
1 
24 #ifndef __GPHOTO2_RESULT_H__
25 #define __GPHOTO2_RESULT_H__
26 
27 /* Additional error codes are defined here */
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif /* __cplusplus */
33 
42 #define GP_ERROR_CORRUPTED_DATA -102 /* Corrupted data */
43 
50 #define GP_ERROR_FILE_EXISTS -103
51 
59 #define GP_ERROR_MODEL_NOT_FOUND -105
60 
67 #define GP_ERROR_DIRECTORY_NOT_FOUND -107
68 
75 #define GP_ERROR_FILE_NOT_FOUND -108
76 
83 #define GP_ERROR_DIRECTORY_EXISTS -109
84 
90 #define GP_ERROR_CAMERA_BUSY -110
91 
99 #define GP_ERROR_PATH_NOT_ABSOLUTE -111
100 
107 #define GP_ERROR_CANCEL -112
108 
117 #define GP_ERROR_CAMERA_ERROR -113
118 
125 #define GP_ERROR_OS_FAILURE -114
126 
132 #define GP_ERROR_NO_SPACE -115
133 
134 
135 const char *gp_result_as_string (int result);
136 
137 #ifdef __cplusplus
138 }
139 #endif /* __cplusplus */
140 
141 #endif /* __GPHOTO2_RESULT_H__ */
const char * gp_result_as_string(int result)
Translate a gphoto error code into a localized string.
Definition: gphoto2-result.c:73