libgphoto2 photo camera library (libgphoto2) API  2.4.13
gphoto2-result.h
Go to the documentation of this file.
00001 
00024 #ifndef __GPHOTO2_RESULT_H__
00025 #define __GPHOTO2_RESULT_H__
00026 
00027 /* Additional error codes are defined here */
00028 #include <gphoto2/gphoto2-port-result.h>
00029 
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif /* __cplusplus */
00033 
00042 #define GP_ERROR_CORRUPTED_DATA      -102 /* Corrupted data             */
00043 
00050 #define GP_ERROR_FILE_EXISTS         -103
00051 
00059 #define GP_ERROR_MODEL_NOT_FOUND     -105
00060 
00067 #define GP_ERROR_DIRECTORY_NOT_FOUND -107
00068 
00075 #define GP_ERROR_FILE_NOT_FOUND      -108
00076 
00083 #define GP_ERROR_DIRECTORY_EXISTS    -109
00084 
00090 #define GP_ERROR_CAMERA_BUSY    -110
00091 
00099 #define GP_ERROR_PATH_NOT_ABSOLUTE   -111
00100 
00107 #define GP_ERROR_CANCEL              -112
00108 
00117 #define GP_ERROR_CAMERA_ERROR        -113
00118 
00125 #define GP_ERROR_OS_FAILURE          -114
00126 
00132 #define GP_ERROR_NO_SPACE            -115
00133 
00134 
00135 const char *gp_result_as_string      (int result);
00136 
00137 #ifdef __cplusplus
00138 }
00139 #endif /* __cplusplus */
00140 
00141 #endif /* __GPHOTO2_RESULT_H__ */