/****************************************************************************/ /* */ /* "TS_NOPROC" is passed as the "proc" parameter in a CATS call if one */ /* does not want to specify a service-procedure. In this case, one is */ /* obliged to call a corresponding "TSwait" to be notified of its */ /* completion. */ /* */ /* "TS_DUPROC" is passed as the "proc" parameter in a CATS call if one */ /* does not want to be notified of its termination. In this case, */ /* there is no way to know when or how it completed. */ /* */ /****************************************************************************/ #define TS_NOPROC -1 #define TS_DUPROC -3 /****************************************************************************/ /* */ /* These bit-masks specify each of the bits for the "evn_msk" parameter */ /* in a call to "TSwait". In general, combinations of them will be */ /* used. The combinations which are used most frequently, are already */ /* predefined in this file and they carry the prefix "WT". */ /* */ /****************************************************************************/ #define W_ALL 0x0001 #define W_CONNID 0x0002 #define W_CONNCF 0x0004 #define W_SND 0x0008 #define W_RCV 0x0010 #define W_SNX 0x0020 #define W_RCX 0x0040 #define W_DISCCF 0x0080 #define W_DISCID 0x0100 #define W_CONNRS 0x0200 #define WT_CNR ( W_CONNCF | W_DISCID ) #define WT_CRS ( W_CONNRS | W_DISCID ) #define WT_DSR W_DISCCF #define WT_SND ( W_SND | W_DISCID ) #define WT_RCV ( W_RCV | W_DISCID ) #define WT_SNX ( W_SNX | W_DISCID ) #define WT_RCX ( W_RCX | W_DISCID ) #define WT_LST W_CONNID /****************************************************************************/ /* */ /* SUCCESS TS Symbols for Status Returns in CATS calls */ /* */ /****************************************************************************/ #define TS_OK 0x08438321 #define TS_NULL 0x08438329 /****************************************************************************/ /* */ /* INFORMATIONAL TS Symbols for Status Returns in CATS calls */ /* */ /****************************************************************************/ #define TS_CNCF 0x08438643 #define TS_DSCF 0x0843864b #define TS_CNID 0x08438653 #define TS_RDYID 0x0843865b #define TS_DTAID 0x08438663 #define TS_EXRID 0x0843866b #define TS_EXPID 0x08438673 #define TS_CNRSOK 0x0843867b #define TS_CONNTD 0x08438683 /****************************************************************************/ /* */ /* WARNING TS Symbols for Status Returns in CATS calls */ /* */ /****************************************************************************/ #define TS_DTAOVR 0x08438960 #define TS_TIMOUT 0x08438968 /****************************************************************************/ /* */ /* ERROR TS Symbols for Status Returns in CATS calls */ /* */ /****************************************************************************/ #define TS_DSID 0x08438c82 #define TS_BADSEQ 0x08438c8a #define TS_BADPAR 0x08438c92 #define TS_BADCON 0x08438c9a #define TS_TOOBIG 0x08438ca2 #define TS_NOSAP 0x08438caa #define TS_NCONN 0x08438cb2 #define TS_PROERR 0x08438cba #define TS_CONFAI 0x08438cc2 #define TS_REMFAI 0x08438cca #define TS_SHUT 0x08438cd2 #define TS_DISCON 0x08438cd8 /****************************************************************************/ /* */ /* SEVERE TS Symbols for Status Returns in CATS calls */ /* */ /****************************************************************************/ #define TS_MEMFAI 0x08438fa4 /****************************************************************************/ /* */ /* FATAL TS Symbols for Status Returns in CATS calls */ /* */ /****************************************************************************/ #define TS_INTERR 0x084392c4 #define TS_FATAL 0x084392cc /****************************************************************************/ /* */ /* INFORMATIONAL TS Symbols for Status Returns in CATS calls */ /* */ /****************************************************************************/ #define TS_GRTSAP 0x084395e3 #define TS_GLTSUF 0x084395eb #define TS_GUDT 0x084395f3 #define TS_GLNSAP 0x084395fb /****************************************************************************/ /* */ /* INFORMATIONAL TS Symbols for Status Returns in CATS calls */ /* */ /****************************************************************************/ #define TS_SLTSUF 0x08439773 #define TS_SUDT 0x0843977b