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


Define Documentation

#define DTN_EBUSY   (DTN_ERRBASE+10)

Definition at line 34 of file dtn_errno.h.

Referenced by dtn_strerror(), dtn::APIClient::handle_bind(), dtn::APIClient::handle_register(), and dtn::APIClient::handle_unregister().

#define DTN_ECOMM   (DTN_ERRBASE+3)

Definition at line 27 of file dtn_errno.h.

Referenced by dtn_strerror(), dtnipc_close(), dtnipc_open(), dtnipc_recv(), dtnipc_send(), dtn::APIClient::handle_begin_poll(), dtn::APIClient::handle_recv(), and dtn::APIClient::run().

#define DTN_ECONNECT   (DTN_ERRBASE+4)

Definition at line 28 of file dtn_errno.h.

Referenced by dtn_strerror().

#define DTN_EINPOLL   (DTN_ERRBASE+9)

Definition at line 33 of file dtn_errno.h.

Referenced by dtn_begin_poll(), dtn_bind(), dtn_build_local_eid(), dtn_change_registration(), dtn_find_registration(), dtn_register(), dtn_send(), dtn_strerror(), dtn_unbind(), and dtn_unregister().

#define DTN_EINTERNAL   (DTN_ERRBASE+8)

Definition at line 32 of file dtn_errno.h.

Referenced by dtn_change_registration(), dtn_open(), dtn_strerror(), dtn::APIClient::handle_recv(), dtn::APIClient::handle_send(), and dtn::APIClient::wait_for_bundle().

#define DTN_EINVAL   (DTN_ERRBASE+1)

Definition at line 25 of file dtn_errno.h.

Referenced by dtn_build_local_eid(), dtn_cancel_poll(), dtn_parse_eid_string(), dtn_strerror(), dtn::APIClient::handle_find_registration(), dtn::APIClient::handle_local_eid(), dtn::APIClient::handle_recv(), dtn::APIClient::handle_register(), dtn::APIClient::handle_send(), dtn::APIClient::handle_unregister(), and dtn::APIClient::wait_for_bundle().

#define DTN_EMSGTYPE   (DTN_ERRBASE+12)

Definition at line 36 of file dtn_errno.h.

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

#define DTN_ENOSPACE   (DTN_ERRBASE+13)

Definition at line 37 of file dtn_errno.h.

Referenced by dtn_strerror(), dtn::APIClient::handle_send(), and dtntunnel::TCPTunnel::Connection::run().

#define DTN_ENOTFOUND   (DTN_ERRBASE+7)

Definition at line 31 of file dtn_errno.h.

Referenced by dtn_strerror(), dtn::APIClient::handle_bind(), dtn::APIClient::handle_find_registration(), dtn::APIClient::handle_unbind(), dtn::APIClient::handle_unregister(), dtntunnel::DTNTunnel::init_registration(), main(), and make_registration().

#define DTN_ERRBASE   128

Definition at line 24 of file dtn_errno.h.

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

#define DTN_ERRMAX   255

Definition at line 38 of file dtn_errno.h.

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

#define DTN_ESIZE   (DTN_ERRBASE+6)

Definition at line 30 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)

Definition at line 29 of file dtn_errno.h.

Referenced by dtn_strerror(), TcaController::eat_bundles(), main(), and dtn::APIClient::wait_for_bundle().

#define DTN_EVERSION   (DTN_ERRBASE+11)

Definition at line 35 of file dtn_errno.h.

#define DTN_EXDR   (DTN_ERRBASE+2)

Definition at line 26 of file dtn_errno.h.

Referenced by dtn_begin_poll(), dtn_bind(), dtn_build_local_eid(), dtn_find_registration(), dtn_recv(), dtn_register(), dtn_send(), dtn_strerror(), dtn_unbind(), dtn_unregister(), dtn::APIClient::handle_begin_poll(), dtn::APIClient::handle_bind(), dtn::APIClient::handle_find_registration(), dtn::APIClient::handle_local_eid(), dtn::APIClient::handle_recv(), dtn::APIClient::handle_register(), dtn::APIClient::handle_send(), dtn::APIClient::handle_unbind(), and dtn::APIClient::handle_unregister().

#define DTN_SUCCESS   0

DTN API error codes.

Definition at line 23 of file dtn_errno.h.

Referenced by dtn_build_local_eid(), dtn_close(), dtn_find_registration(), dtn_open(), dtn_recv(), dtn_register(), dtn_strerror(), dtn_unregister(), dtnipc_send_recv(), DTNRecvCommand::exec(), DTNUnbindCommand::exec(), DTNBindCommand::exec(), DTNSendCommand::exec(), DTNUnregisterCommand::exec(), DTNRegisterCommand::exec(), DTNOpenCommand::exec(), dtn::APIClient::handle_begin_poll(), dtn::APIClient::handle_bind(), dtn::APIClient::handle_cancel_poll(), dtn::APIClient::handle_find_registration(), dtn::APIClient::handle_local_eid(), dtn::APIClient::handle_recv(), dtn::APIClient::handle_register(), dtn::APIClient::handle_send(), dtn::APIClient::handle_unbind(), dtn::APIClient::handle_unregister(), TcaController::init(), dtntunnel::DTNTunnel::init_registration(), main(), make_registration(), reader_thread(), dtntunnel::UDPTunnel::Listener::run(), dtntunnel::TCPTunnel::Connection::run(), dtntunnel::DTNTunnel::send_bundle(), and dtn::APIClient::send_response().


Generated on Thu Jun 7 12:54:30 2007 for DTN Reference Implementation by  doxygen 1.5.1