gphoto2-port-result.h

Go to the documentation of this file.
00001 
00021 #ifndef __GPHOTO2_PORT_RESULT_H__
00022 #define __GPHOTO2_PORT_RESULT_H__
00023 
00024 /* Return values. gphoto2-port should only return values from 0 to -99 */
00030 #define GP_OK                            0
00031 
00034 #define GP_ERROR                        -1
00035 
00038 #define GP_ERROR_BAD_PARAMETERS         -2
00039 
00042 #define GP_ERROR_NO_MEMORY              -3
00043 
00046 #define GP_ERROR_LIBRARY                -4
00047 
00050 #define GP_ERROR_UNKNOWN_PORT           -5
00051 
00054 #define GP_ERROR_NOT_SUPPORTED          -6
00055 
00058 #define GP_ERROR_IO                     -7
00059 
00062 #define GP_ERROR_FIXED_LIMIT_EXCEEDED   -8
00063 
00066 #define GP_ERROR_TIMEOUT                -10
00067 
00071 #define GP_ERROR_IO_SUPPORTED_SERIAL    -20
00072 
00075 #define GP_ERROR_IO_SUPPORTED_USB       -21
00076 
00080 #define GP_ERROR_IO_INIT                -31
00081 
00084 #define GP_ERROR_IO_READ                -34
00085 
00088 #define GP_ERROR_IO_WRITE               -35
00089 
00092 #define GP_ERROR_IO_UPDATE              -37
00093 
00097 #define GP_ERROR_IO_SERIAL_SPEED        -41
00098 
00102 #define GP_ERROR_IO_USB_CLEAR_HALT      -51
00103 
00106 #define GP_ERROR_IO_USB_FIND            -52
00107 
00110 #define GP_ERROR_IO_USB_CLAIM           -53
00111 
00115 #define GP_ERROR_IO_LOCK                -60
00116 
00120 #define GP_ERROR_HAL                    -70
00121 
00122 const char *gp_port_result_as_string (int result);
00123 
00124 #endif /* __GPHOTO2_PORT_RESULT_H__ */
00125 

Generated on Sun Jul 22 19:29:31 2007 for libgphoto2 photo camera library (libgphoto2) by  doxygen 1.5.0