gphoto2-result.h
Go to the documentation of this file.
#ifndef LIBGPHOTO2_GPHOTO2_RESULT_H
#define LIBGPHOTO2_GPHOTO2_RESULT_H
/* Additional error codes are defined here */
#include <gphoto2/gphoto2-port-result.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GP_ERROR_CORRUPTED_DATA -102 /* Corrupted data */
#define GP_ERROR_FILE_EXISTS -103
#define GP_ERROR_MODEL_NOT_FOUND -105
#define GP_ERROR_DIRECTORY_NOT_FOUND -107
#define GP_ERROR_FILE_NOT_FOUND -108
#define GP_ERROR_DIRECTORY_EXISTS -109
#define GP_ERROR_CAMERA_BUSY -110
#define GP_ERROR_PATH_NOT_ABSOLUTE -111
#define GP_ERROR_CANCEL -112
#define GP_ERROR_CAMERA_ERROR -113
#define GP_ERROR_OS_FAILURE -114
#define GP_ERROR_NO_SPACE -115
const char *gp_result_as_string (int result);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#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