libgphoto2 photo camera library (libgphoto2) API
2.5.10.1
Main Page
Related Pages
Data Structures
Files
File List
Globals
gphoto2-port-result.h
Go to the documentation of this file.
1
21
#ifndef __GPHOTO2_PORT_RESULT_H__
22
#define __GPHOTO2_PORT_RESULT_H__
23
24
/* Return values. gphoto2-port should only return values from 0 to -99 */
30
#define GP_OK 0
31
34
#define GP_ERROR -1
35
38
#define GP_ERROR_BAD_PARAMETERS -2
39
42
#define GP_ERROR_NO_MEMORY -3
43
46
#define GP_ERROR_LIBRARY -4
47
50
#define GP_ERROR_UNKNOWN_PORT -5
51
54
#define GP_ERROR_NOT_SUPPORTED -6
55
58
#define GP_ERROR_IO -7
59
62
#define GP_ERROR_FIXED_LIMIT_EXCEEDED -8
63
66
#define GP_ERROR_TIMEOUT -10
67
71
#define GP_ERROR_IO_SUPPORTED_SERIAL -20
72
75
#define GP_ERROR_IO_SUPPORTED_USB -21
76
80
#define GP_ERROR_IO_INIT -31
81
84
#define GP_ERROR_IO_READ -34
85
88
#define GP_ERROR_IO_WRITE -35
89
92
#define GP_ERROR_IO_UPDATE -37
93
97
#define GP_ERROR_IO_SERIAL_SPEED -41
98
102
#define GP_ERROR_IO_USB_CLEAR_HALT -51
103
106
#define GP_ERROR_IO_USB_FIND -52
107
110
#define GP_ERROR_IO_USB_CLAIM -53
111
115
#define GP_ERROR_IO_LOCK -60
116
120
#define GP_ERROR_HAL -70
121
122
const
char
*
gp_port_result_as_string
(
int
result);
123
124
#endif
/* __GPHOTO2_PORT_RESULT_H__ */
125
gp_port_result_as_string
const char * gp_port_result_as_string(int result)
Definition:
gphoto2-port-result.c:54
libgphoto2_port
gphoto2
gphoto2-port-result.h
Generated by
1.8.11