home *** CD-ROM | disk | FTP | other *** search
- /* Created by SDL V3.1-7 */
- /* Source: 6-FEB-1991 13:28:27 $DISKU:[ERIC.UNSDL]STARDEFAE.SDI;1 */
- #ifndef $CLIDEF_H
- #define $CLIDEF_H
-
- /*** MODULE $CLIDEF ***/
- #define CLI$M_DEBUG 0x00000001
- #define CLI$M_DBGTRU 0x00000002
- #define CLI$M_VERIFY 0x00000004
- #define CLI$M_BATCH 0x00000008
- #define CLI$M_INDIRECT 0x00000010
- #define CLI$M_VFYINP 0x00000020
- #define CLI$M_TRMVRBLV 0x00000300
- #define CLI$M_DBGEXCP 0x00010000
- struct clidef {
- unsigned long int cli$l_iniargcnt;
- int *cli$a_progxfer;
- int *cli$a_utilserv;
- int *cli$a_imghdadr;
- int *cli$a_imgfiled;
- unsigned long int cli$l_linkflag;
- union {
- unsigned long int cli$l_cliflag;
- struct {
- unsigned cli$v_debug : 1;
- unsigned cli$v_dbgtru : 1;
- unsigned cli$v_verify : 1;
- unsigned cli$v_batch : 1;
- unsigned cli$v_indirect : 1;
- unsigned cli$v_vfyinp : 1;
- unsigned clidef$$_fill_1 : 2;
- unsigned cli$v_trmvrblv : 2;
- unsigned clidef$$_fill_2 : 6;
- unsigned cli$v_dbgexcp : 1;
- unsigned cli$v_fill_18 : 7;
- } cli$r_cliflag_bits;
- } cli$r_cliflag_overlay;
- unsigned long int cli$l_arglist;
- } ;
- #define CLI$M_PARMREQ 0x00000001
- #define CLI$M_ABSADR 0x00000002
- #define CLI$M_EXPNAM 0x00000004
- #define CLI$M_LASTVAL 0x00000001
- #define CLI$M_DUMMY 0x00000002
- #define CLI$M_PARMPRS 0x00000001
- #define CLI$M_CONCATINP 0x00000002
- #define CLI$M_MOREINP 0x00000004
- #define CLI$M_PARMDEF 0x00000008
- #define CLI$M_MOREVALS 0x00000001
- #define CLI$M_KEYVALU 0x00000002
- #define CLI$K_REQDESC 28
- #define CLI$C_REQDESC 28
- struct clidef1 {
- union {
- long int clidef$$_fill_3;
- struct {
- union {
- unsigned char cli$b_rqtype;
- struct {
- unsigned cli$v_subtyp : 4;
- unsigned cli$v_prityp : 4;
- } cli$r_rqtype_bits;
- } cli$r_rqtype_overlay;
- union {
- unsigned short int cli$w_servcod;
- struct {
- union {
- unsigned char cli$b_rqindx;
- unsigned char cli$b_bitnum;
- } cli$r_rqindx_overlay;
- union {
- unsigned char cli$b_rqflgs;
- struct {
- unsigned cli$v_parmreq : 1;
- unsigned cli$v_absadr : 1;
- unsigned cli$v_expnam : 1;
- unsigned cli$v_fill_19 : 5;
- } cli$r_rqflgs_bits0;
- struct {
- unsigned cli$v_lastval : 1;
- unsigned cli$v_dummy : 1;
- unsigned cli$v_fill_20 : 6;
- } cli$r_rqflgs_bits1;
- } cli$r_rqflgs_overlay;
- } cli$r_servcod_fields;
- } cli$r_servcod_overlay;
- union {
- unsigned char cli$b_rqstat;
- struct {
- unsigned cli$v_parmprs : 1;
- unsigned cli$v_concatinp : 1;
- unsigned cli$v_moreinp : 1;
- unsigned cli$v_parmdef : 1;
- unsigned cli$v_fill_21 : 4;
- } cli$r_rqstat_bits0;
- struct {
- unsigned cli$v_morevals : 1;
- unsigned cli$v_keyvalu : 1;
- unsigned cli$v_fill_22 : 6;
- } cli$r_rqstat_bits1;
- } cli$r_rqstat_overlay;
- } cli$r_fill_3_fields;
- } cli$r_fill_3_overlay;
- int *cli$a_erract;
- union {
- unsigned int cli$q_rqdesc [2];
- struct {
- unsigned short int cli$w_rqsize;
- short int clidef$$_fill_4;
- union {
- unsigned long int cli$l_rqvalu;
- int *cli$a_rqaddr;
- } cli$r_rqvalu_overlay;
- } cli$r_rqdesc_fields;
- } cli$r_rqdesc_overlay;
- int *cli$a_prsact;
- int *cli$a_absact;
- int *cli$a_qualst;
- } ;
- struct clidef2 {
- char clidef$$_fill_8 [4];
- unsigned int cli$q_namdesc [2];
- unsigned int cli$q_valdesc [2];
- unsigned int cli$q_tabdesc [2];
- unsigned long int cli$l_itmlst;
- unsigned long int cli$l_attr;
- } ;
- struct clidef3 {
- char clidef$$_fill_9 [4];
- unsigned long int cli$l_new_mask;
- unsigned long int cli$l_old_mask;
- } ;
- struct clidef4 {
- char clidef$$_fill_10 [4];
- unsigned long int cli$l_pid;
- } ;
- #define CLI$M_NOWAIT 0x00000001
- #define CLI$M_NOCLISYM 0x00000002
- #define CLI$M_NOLOGNAM 0x00000004
- #define CLI$M_NOKEYPAD 0x00000008
- #define CLI$M_NOTIFY 0x00000010
- #define CLI$M_NOCONTROL 0x00000020
- #define CLI$K_SPAWN_VERSION 1
- #define CLI$C_SPAWN_VERSION 1
- #define CLI$K_SRVDESC 84
- #define CLI$C_SRVDESC 84
- struct clidef5 {
- char clidef$$_fill_11 [4];
- union {
- unsigned char cli$b_flags;
- struct {
- unsigned cli$v_nowait : 1;
- unsigned cli$v_noclisym : 1;
- unsigned cli$v_nolognam : 1;
- unsigned cli$v_nokeypad : 1;
- unsigned cli$v_notify : 1;
- unsigned cli$v_nocontrol : 1;
- unsigned cli$v_fill_23 : 2;
- } cli$r_flags_bits;
- } cli$r_flags_overlay;
- char clidef$$_fill_5 [3];
- unsigned long int cli$l_outpid;
- unsigned long int cli$l_lststatus;
- unsigned int cli$q_cmdstr [2];
- unsigned int cli$q_input [2];
- unsigned int cli$q_output [2];
- unsigned int cli$q_prcnam [2];
- unsigned long int cli$l_astadr;
- unsigned long int cli$l_astprm;
- unsigned char cli$b_efn;
- unsigned char cli$b_version;
- char clidef$$_fill_6 [2];
- unsigned int cli$q_prompt [2];
- unsigned int cli$q_cli [2];
- unsigned int cli$q_table [2];
- } ;
- #define CLI$M_ALLOCCUR 0x00000001
- #define CLI$M_QDUSRV 0x00000002
- #define CLI$M_QDEXPA 0x00000004
- #define CLI$M_QUALTRU 0x00000001
- #define CLI$M_QUALEXP 0x00000002
- #define CLI$K_QUALDEF 20
- #define CLI$C_QUALDEF 20
- #define CLI$K_QDBITS 20
- #define CLI$C_QDBITS 20
- struct clidef6 {
- unsigned char cli$b_qdblksiz;
- unsigned char cli$b_qdcode;
- union {
- unsigned char cli$b_qdflgs;
- struct {
- unsigned cli$v_alloccur : 1;
- unsigned cli$v_qdusrv : 1;
- unsigned cli$v_qdexpa : 1;
- unsigned cli$v_fill_24 : 5;
- } cli$r_qdflgs_bits;
- } cli$r_qdflgs_overlay;
- union {
- unsigned char cli$b_qdstat;
- struct {
- unsigned cli$v_qualtru : 1;
- unsigned cli$v_qualexp : 1;
- unsigned cli$v_fill_25 : 6;
- } cli$r_qdstat_bits;
- } cli$r_qdstat_overlay;
- union {
- unsigned int cli$q_qdvaldesc [2];
- struct {
- unsigned short int cli$w_qdvalsiz;
- short int clidef$$_fill_7;
- int *cli$a_qdvaladr;
- } cli$r_qdvaldesc_fields;
- } cli$r_qdvaldesc_overlay;
- int *cli$a_truact;
- int *cli$a_flsact;
- unsigned long int cli$l_usrval;
- } ;
- #define CLI$K_WORKAREA 128
- #define CLI$C_WORKAREA 128
- #define CLI$K_UTILOPR 0
- #define CLI$K_INPSPEC 1
- #define CLI$K_OUTSPEC 2
- #define CLI$K_PARDONE 3
- #define CLI$K_VALCONV 4
- #define CLI$K_CLINT 5
- #define CLI$K_INITPRS 0
- #define CLI$K_GETCMD 1
- #define CLI$K_GETQUAL 2
- #define CLI$K_GETOPT 3
- #define CLI$K_GETLINE 4
- #define CLI$K_CLISERV 5
- #define CLI$K_INPUT1 16
- #define CLI$K_INPUT2 17
- #define CLI$K_INPUT3 18
- #define CLI$K_INPUT4 19
- #define CLI$K_OUTPUT1 32
- #define CLI$K_OUTPUT2 33
- #define CLI$K_OUTPUT3 34
- #define CLI$K_OUTPUT4 35
- #define CLI$K_ENDPRM1 48
- #define CLI$K_ENDPRM2 49
- #define CLI$K_ENDPRM3 50
- #define CLI$K_ENDPRM4 51
- #define CLI$K_NUMERVAL 64
- #define CLI$K_ASCIIVAL 65
- #define CLI$K_KEYWORD 66
- #define CLI$K_KEYVAL 67
- #define CLI$K_FILSPEC 68
- #define CLI$K_PRESENT 80
- #define CLI$K_GETVALUE 81
- #define CLI$K_ENDPARSE 82
- #define CLI$K_DCLPARSE 83
- #define CLI$K_DISPATCH 84
- #define CLI$K_NEXTQUAL 85
- union clidef7 {
- unsigned long int cli$l_workarea [32];
- } ;
- #endif
-