|
|
1.1 ! root 1: /* ! 2: * This file defines message structures and codes ! 3: * used in talking to the UNIXP DK controller ! 4: */ ! 5: ! 6: /* ! 7: * Principal message structure. ! 8: */ ! 9: struct dialout { ! 10: unsigned char type; ! 11: unsigned char srv; ! 12: unsigned char param0l; ! 13: unsigned char param0h; ! 14: unsigned char param1l; ! 15: unsigned char param1h; ! 16: unsigned char param2l; ! 17: unsigned char param2h; ! 18: unsigned char param3l; ! 19: unsigned char param3h; ! 20: unsigned char param4l; ! 21: unsigned char param4h; ! 22: }; ! 23: ! 24: ! 25: /* ! 26: * message types ! 27: */ ! 28: #define T_SRV 'k' /* request for server process */ ! 29: #define T_REPLY 2 /* reply from controller */ ! 30: #define T_CHG 3 /* status change on a channel */ ! 31: #define T_ALIVE 4 /* keep-alive */ ! 32: #define T_RESTART 8 /* controller warmstart */ ! 33: ! 34: /* ! 35: * T_CHG codes ! 36: */ ! 37: #define D_CLOSE 1 /* close a channel */ ! 38: #define D_ISCLOSED 2 /* channel is closed */ ! 39: #define D_CLOSEALL 3 /* close all channels */ ! 40: #define D_REDIAL 6 /* redial a call */ ! 41: ! 42: #define D_OK 1 /* server announce OK */ ! 43: #define D_OPEN 2 /* channel is open */ ! 44: #define D_FAIL 3 /* call failed */ ! 45: ! 46: /* ! 47: * T_SRV codes ! 48: */ ! 49: #define D_SERV 1 /* announce a server */ ! 50: #define D_DIAL 2 /* dialout from host */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.