#ifndef __TStatus__ #define __TStatus__ // this header is not self-sufficient, but rather included by XS.h // you should include XS.h instead namespace XS { typedef long TStatus; //------------------------------------------------------------------------------ const TStatus tstat_WARN_NOTIFICATION_DROPS = 16; // used by receiveNow() const TStatus tstat_WARN_API_RECEIVE_INTERRUPTED = 15; // receive()/receiveNow() did not get a usable msg; should be called again const TStatus tstat_WARN_INCOMPLETE_PERM_RESP = 13; // permissions info incomplete due to wildcards const TStatus tstat_MORE_COMING = 12; // initial status of the transaction, before any other status is rcvd const TStatus tstat_SUBSCRIPTION_OPEN = 11; // subscription confirmation rcvd from server const TStatus tstat_WARN_MSG_DROPS = 10; // used by receiveNow() const TStatus tstat_NO_MORE_MSGS = 9; // used by receiveNow() const TStatus tstat_OK = 0; // not a status, but what you get from receive const TStatus tstat_ERR = -1; // generic error, when cannot decide what to use const TStatus tstat_ERR_AUTH = -3; // generic authorization error, where more specific doesn't apply const TStatus tstat_ERR_AUTH_REQ = -12; // not authorized for this request const TStatus tstat_ERR_AUTH_REQ_SYS = -13; // const TStatus tstat_ERR_PARAM_MISSING = -36; // const TStatus tstat_ERR_REQ_GENERIC = -43; // const TStatus tstat_ERR_REQ_INVALID = -46; // const TStatus tstat_ERR_REQ_OS = -50; // const TStatus tstat_ERR_SVC = -55; // const TStatus tstat_ERR_CNX_NOTOPEN = -94; // connection needs to be open to perform request const TStatus tstat_ERR_CNX_NOTCLOSED = -95; // connection needs to be closed to perform request const TStatus tstat_ERR_DICT_UPDATE_ALLOC = -106; const TStatus tstat_ERR_DICT_UPDATE_TYPE = -107; const TStatus tstat_ERR_DICT_UPDATE_NAME = -108; const TStatus tstat_ERR_DICT_FILE_OPEN = -109; const TStatus tstat_ERR_DICT_FILE_PARSE = -110; const TStatus tstat_ERR_CONNECT_CANNOTOPEN = -112; const TStatus tstat_ERR_CONNECT_PARAM_USER = -113; const TStatus tstat_ERR_CONNECT_PARAM_PASSWORD = -114; const TStatus tstat_ERR_CONNECT_PARAM_PORT = -115; // The port number is not a valid port number const TStatus tstat_ERR_CONNECT_DISCONNECT = -116; const TStatus tstat_ERR_MSG_MISSING_STATUS = -117; const TStatus tstat_ERR_API_EXCEPTION = -118; // const TStatus tstat_ERR_API_CONNECT_EXCEPTION = -119; // const TStatus tstat_ERR_API_RECEIVE_EXCEPTION = -120; // const TStatus tstat_ERR_API_SOCKET_READ = -122; const TStatus tstat_ERR_NO_DATA_FOUND = -182; // QueryHist found no matching data const TStatus tstat_ERR_MSG_MISSING_VERSION = -194; // the login response is missing the dictionary version const TStatus tstat_ERR_NO_DATA_FOUND_1 = -202; // QueryTas found no matching data const TStatus tstat_ERR_NO_DATA_FOUND_2 = -203; // QueryInterval found no matching data const TStatus tstat_ERR_BAD_COUNT = -204; // QueryTas or QueryInterval where count is negative const TStatus tstat_ERR_BAD_RECORD_TYPE = -205; // QueryTas with bad record type const TStatus tstat_ERR_BACKWARD_TIME = -206; // QueryTas or QueryInterval where to time is earlier than from time const TStatus tstat_ERR_API_BAD_ALLOC = -212; // API was not able to alloc internal components const TStatus tstat_ERR_INTL_QUERY_INTERVAL_1 = -215; // Internal error processing Query Interval const TStatus tstat_ERR_INVALID_TIME_RANGE_SPECIFIED = -216; // QueryTas or QueryInterval where to time is earli const TStatus tstat_CONTINUE = -999; // Cursor } // end namespace #endif