TReK ANSI-C  5.3.3
All ANSI-C APIs
toolkit_ds_api_error_codes.h File Reference

Error codes for the DS API (starts at 50001) More...

Macros

#define DS_THREAD_START_ERROR   50001
 Error starting a thread.
 
#define DS_THREAD_TIMEOUT   50002
 A timeout occurred while starting a thread.
 
#define DS_THREAD_STOP_ERROR   50003
 Error stopping a thread.
 
#define DS_LIBRARY_LOAD_ERROR   50004
 Error loading a device library using pathname.
 
#define DS_LIBRARY_ADDRESS_ERROR   50005
 Error addressing a device library.
 
#define DS_FILE_READ_SIZE_ERROR   50006
 Error identifying the bytes to read from a file.
 
#define DS_DEVICE_NOT_FOUND   50007
 The device name or key does not match any existing device.
 
#define DS_INVALID_FILE_DEVICE_TYPE   50008
 The file device type is not invlaid.
 
#define DS_INVALID_SEND_TO_DEVICE   50009
 Cannot send packets to this device.
 
#define DS_INVALID_DEVICE_TYPE   50010
 The device type does not support request.
 
#define DS_DEVICE_HAS_EXISTING_PHP   50011
 The device has an existing packet header processor.
 
#define DS_PACKET_KEY_NOT_FOUND   50012
 The packet key was not found in the associated map.
 
#define DS_PHP_PACKET_TYPE_MISMATCH   50013
 The packet header processors do not describe the same headers.
 
#define DS_PHP_VECTOR_EMPTY   50014
 The vector of packet header processors is empty.
 
#define DS_DEVICE_HAS_EXISTING_PACKET_TRANSFORMER   50015
 The device has an existing packet transformer.
 
#define DS_INVALID_PACKET_TRANSFORMER_TYPE   50016
 The packet transformer type does not match an existing transformer type.
 
#define DS_PACKET_TRANSFORMER_INITIALIZATION_ERROR   50017
 Error initializing packet transformer.
 
#define DS_PACKET_TRANSFORMER_PHP_MISMATCH   50018
 The packet transformers's packet header processor does not match it's neighbors.
 
#define DS_SOCKET_CREATION_ERROR   50019
 Error creating socket.
 
#define DS_SOCKET_BIND_ERROR   50020
 Error binding socket to ip address and port.
 
#define DS_SOCKET_LISTEN_STATE_ERROR   50021
 Error configuring socket to accept connections.
 
#define DS_SOCKET_INVALID   50022
 The socket is not connected and cannot support the request.
 
#define DS_SOCKET_RECEIVE_FROM_ERROR   50023
 Error receiving packet from the network.
 
#define DS_SOCKET_CONNECTION_ERROR   50024
 Error connecting socket.
 
#define DS_SOCKET_CONNECTION_TIMEOUT_ERROR   50025
 Error caused by timeout waiting for socket to complete connection.
 
#define DS_SOCKET_JOIN_MULTICAST_GROUP_ERROR   50026
 Error joining multicast group.
 
#define DS_SOCKET_IP_ADDRESS_CONVERSION_ERROR   50027
 Error converting IP address.
 
#define DS_SOCKET_OPTION_MULTICAST_TTL_ERROR   50028
 Error setting the multicast time to live parameter.
 
#define DS_SOCKET_OPTION_KEEPALIVE_ERROR   50029
 Error setting the keepalive parameter.
 
#define DS_ARRAY_SIZE_ERROR   50030
 The size of the array is not large enough to hold the requested values.
 
#define DS_TIMEOUT   50031
 The timer associated with the request expired.
 
#define DS_DEVICE_KEY_BUFFER_SIZE_ERROR   50032
 The device key buffer is too small to host the device key.
 
#define DS_PACKET_BUFFER_SIZE_ERROR   50033
 The packet buffer is too small to host the packet.
 
#define DS_IP_ADDRESS_BUFFER_SIZE_ERROR   50034
 The IP address buffer is too small to host the IP address.
 
#define DS_PHP_NOT_DEFINED   50035
 The referenced packet header processor was not defined.
 
#define DS_CANNOT_ASSIGN_EXISTING_ALIAS_NAME   50036
 The alias name currently exists.
 
#define DS_PHP_PACKET_SIZE_FIELD_ERROR   50037
 The bit length of the packet size field cannot exceeds the maximum exceptable value.
 
#define DS_PHP_SYNC_SIZE_ERROR   50038
 The byte length of the sync pattern cannot exceeds the maximum exceptable value.
 
#define DS_PHP_SYNC_BYTE_BOUNDARY_ERROR   50039
 The sync pattern must be on a byte boundary.
 
#define DS_PHP_PACKET_SEQUENCE_COUNT_FIELD_ERROR   50040
 The bit length of the packet sequence count field cannot exceeds the maximum exceptable value.
 
#define DS_PHP_PACKET_KEY_FIELD_ERROR   50041
 The bit length of the packet key field cannot exceeds the maximum exceptable value.
 
#define DS_FILE_OPEN_ERROR   50042
 Error opening the file.
 
#define DS_FILE_CLOSE_ERROR   50043
 Error opening the file.
 
#define DS_WRITE_TO_LOG_FILE_ERROR   50044
 Error writing message to the log file.
 
#define DS_NO_LOG_FILE_EXISTS   50045
 No log file exists.
 
#define DS_ERROR_RENAMING_LOG_FILE   50046
 Error renaming log file.
 
#define DS_WINSOCK_DLL_VERSION_ERROR   50047
 Error calling WSAStartup.
 
#define DS_BUFFER_SIZE_ERROR   50048
 The value is too large to fit in the associated buffer.
 
#define DS_NULL_POINTER_ERROR   50049
 Invalid pointer value of NULL.
 
#define DS_RECORDING_CURRENTLY_ACTIVATED   50050
 The start recording request cannot be executed because recording is already being performed.
 
#define DS_INVALID_BP_LIFETIME   50051
 Invalid bundle protocol lifetime (lifetime must be greater than zero).
 
#define DS_INVALID_BP_CLASS_OF_SERVICE   50052
 Invalid bundle protocol class of service.
 
#define DS_INVALID_BP_TRANSMISSION_MODE   50053
 Invalid bundle protocol transmission mode.
 
#define DS_INVALID_BP_EXPEDITED_PRIORITY_ORDINAL   50054
 Invalid bundle protocol expedited priority ordinal (ordinal must be less than 255).
 
#define DS_INVALID_BP_CRITICALITY   50055
 Invalid bundle protocol criticality.
 
#define DS_INVALID_BP_SERVICE   50056
 Invalid bundle protocol service (<lifespan>/<cos>/<ordinal>/<mode>/<custody>).
 
#define DS_FILE_RENAME_ERROR   50057
 Error renaming the file.
 
#define DS_NAMED_PIPE_CREATION_ERROR   50058
 Error creating named pipe.
 
#define DS_DEVICE_HAS_EXISTING_CIPHER   50059
 Error device has an existing cipher.
 
#define DS_DEVICE_DOES_NOT_SUPPORT_CIPHER   50060
 Error device has an existing cipher.
 
#define DS_NO_CRYPT_LIBRARY_DEVICE_EXISTS   50061
 Error no crypt library device exists.
 
#define DS_SOCKET_OPTION_BROADCAST_ERROR   50062
 Error setting broadcast socket option.
 
#define DS_EMAIL_MESSAGE_LENGTH_IS_TOO_LONG   50063
 Error email message length is too long.
 
#define DS_TEXT_MESSAGE_LENGTH_IS_TOO_LONG   50064
 Error text message length is too long.
 

Detailed Description

Error codes for the DS API (starts at 50001)