libgphoto2 photo camera library (libgphoto2) API: gphoto2/gphoto2-result.h Source File

libgphoto2 photo camera library (libgphoto2) API 2.5.33

Loading...
Searching...
No Matches
gphoto2-result.h
Go to the documentation of this file.
1
23
24#ifndef LIBGPHOTO2_GPHOTO2_RESULT_H
25#define LIBGPHOTO2_GPHOTO2_RESULT_H
26
27/* Additional error codes are defined here */
28#include <gphoto2/gphoto2-port-result.h>
29
30#ifdef __cplusplus
31extern "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
135const char *gp_result_as_string (int result);
136
137#ifdef __cplusplus
138}
139#endif /* __cplusplus */
140
141#endif /* !defined(LIBGPHOTO2_GPHOTO2_RESULT_H) */
gphoto2-port-result.h
gp_result_as_string
const char * gp_result_as_string(int result)
Translate a gphoto error code into a localized string.
Definition gphoto2-result.c:62