dtn_errno.h File Reference

Go to the source code of this file.

Defines

#define DTN_SUCCESS   0
 DTN API error codes.
#define DTN_ERRBASE   128
#define DTN_EINVAL   (DTN_ERRBASE+1)
#define DTN_EXDR   (DTN_ERRBASE+2)
#define DTN_ECOMM   (DTN_ERRBASE+3)
#define DTN_ECONNECT   (DTN_ERRBASE+4)
#define DTN_ETIMEOUT   (DTN_ERRBASE+5)
#define DTN_ESIZE   (DTN_ERRBASE+6)
#define DTN_ENOTFOUND   (DTN_ERRBASE+7)
#define DTN_EINTERNAL   (DTN_ERRBASE+8)
#define DTN_EINPOLL   (DTN_ERRBASE+9)
#define DTN_EBUSY   (DTN_ERRBASE+10)
#define DTN_EVERSION   (DTN_ERRBASE+11)
#define DTN_EMSGTYPE   (DTN_ERRBASE+12)
#define DTN_ENOSPACE   (DTN_ERRBASE+13)
#define DTN_ERRMAX   255

Functions

char * dtn_strerror (int err)
 Get a string value associated with the dtn error code.


Define Documentation

#define DTN_EBUSY   (DTN_ERRBASE+10)

#define DTN_ECOMM   (DTN_ERRBASE+3)

#define DTN_ECONNECT   (DTN_ERRBASE+4)

Definition at line 32 of file dtn_errno.h.

Referenced by dtn_strerror().

#define DTN_EINPOLL   (DTN_ERRBASE+9)

#define DTN_EINTERNAL   (DTN_ERRBASE+8)

#define DTN_EINVAL   (DTN_ERRBASE+1)

#define DTN_EMSGTYPE   (DTN_ERRBASE+12)

Definition at line 40 of file dtn_errno.h.

Referenced by dtn_strerror(), and dtn::APIClient::run().

#define DTN_ENOSPACE   (DTN_ERRBASE+13)

#define DTN_ENOTFOUND   (DTN_ERRBASE+7)

#define DTN_ERRBASE   128

Definition at line 28 of file dtn_errno.h.

Referenced by dtn::APIClient::send_response().

#define DTN_ERRMAX   255

Definition at line 42 of file dtn_errno.h.

Referenced by dtn::APIClient::send_response().

#define DTN_ESIZE   (DTN_ERRBASE+6)

Definition at line 34 of file dtn_errno.h.

Referenced by dtn_parse_eid_string(), dtn_set_payload(), dtn_strerror(), and fill_payload().

#define DTN_ETIMEOUT   (DTN_ERRBASE+5)

#define DTN_EVERSION   (DTN_ERRBASE+11)

Definition at line 39 of file dtn_errno.h.

Referenced by dtn_strerror(), and dtnipc_open().

#define DTN_EXDR   (DTN_ERRBASE+2)

#define DTN_SUCCESS   0


Function Documentation

char* dtn_strerror ( int  err  ) 


Generated on Mon Jul 21 14:12:18 2008 for DTN Reference Implementation by  doxygen 1.5.6