error.h

00001 /*
00002  * error.h
00003  */
00004 
00005 #ifndef __LIBNFSNAPI_ERROR_H__
00006 #define __LIBNFSNAPI_ERROR_H__
00007 
00024 typedef enum {
00025         LIBNFSNAPI_ERROR_NONE = 0,      
00026         LIBNFSNAPI_ERROR_NOTIMPLEMENTED = 1,    
00027         LIBNFSNAPI_ERROR_MEMORY = 2,    
00028         LIBNFSNAPI_ERROR_NETWORK = 3,   
00029         LIBNFSNAPI_ERROR_LIBCURL = 4,   
00030         LIBNFSNAPI_ERROR_ARGUMENT = 5,  
00031         LIBNFSNAPI_ERROR_PROTOCOL = 6,  
00032 } libnfsnapi_error_t;
00033 
00040 const char *libnfsnapi_strerror(libnfsnapi_error_t error);
00041 
00044 #endif /* __LIBNFSNAPI_ERROR_H__ */

Generated on Sat Jan 13 17:42:28 2007 for libNFSNapi by  doxygen 1.4.6