home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gccdist / gcc / include / clidef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-27  |  8.0 KB  |  259 lines

  1. /* Created by SDL V3.1-7     */
  2. /* Source:  6-FEB-1991 13:28:27 $DISKU:[ERIC.UNSDL]STARDEFAE.SDI;1 */
  3. #ifndef $CLIDEF_H
  4. #define $CLIDEF_H
  5.  
  6. /*** MODULE $CLIDEF ***/
  7. #define CLI$M_DEBUG 0x00000001
  8. #define CLI$M_DBGTRU 0x00000002
  9. #define CLI$M_VERIFY 0x00000004
  10. #define CLI$M_BATCH 0x00000008
  11. #define CLI$M_INDIRECT 0x00000010
  12. #define CLI$M_VFYINP 0x00000020
  13. #define CLI$M_TRMVRBLV 0x00000300
  14. #define CLI$M_DBGEXCP 0x00010000
  15. struct clidef {
  16.     unsigned long int cli$l_iniargcnt;
  17.     int *cli$a_progxfer;
  18.     int *cli$a_utilserv;
  19.     int *cli$a_imghdadr;
  20.     int *cli$a_imgfiled;
  21.     unsigned long int cli$l_linkflag;
  22.      union {
  23.         unsigned long int cli$l_cliflag;
  24.          struct {
  25.             unsigned cli$v_debug : 1;
  26.             unsigned cli$v_dbgtru : 1;
  27.             unsigned cli$v_verify : 1;
  28.             unsigned cli$v_batch : 1;
  29.             unsigned cli$v_indirect : 1;
  30.             unsigned cli$v_vfyinp : 1;
  31.             unsigned clidef$$_fill_1 : 2;
  32.             unsigned cli$v_trmvrblv : 2;
  33.             unsigned clidef$$_fill_2 : 6;
  34.             unsigned cli$v_dbgexcp : 1;
  35.             unsigned cli$v_fill_18 : 7;
  36.             } cli$r_cliflag_bits;
  37.         } cli$r_cliflag_overlay;
  38.     unsigned long int cli$l_arglist;
  39. } ;
  40. #define CLI$M_PARMREQ 0x00000001
  41. #define CLI$M_ABSADR 0x00000002
  42. #define CLI$M_EXPNAM 0x00000004
  43. #define CLI$M_LASTVAL 0x00000001
  44. #define CLI$M_DUMMY 0x00000002
  45. #define CLI$M_PARMPRS 0x00000001
  46. #define CLI$M_CONCATINP 0x00000002
  47. #define CLI$M_MOREINP 0x00000004
  48. #define CLI$M_PARMDEF 0x00000008
  49. #define CLI$M_MOREVALS 0x00000001
  50. #define CLI$M_KEYVALU 0x00000002
  51. #define CLI$K_REQDESC 28
  52. #define CLI$C_REQDESC 28
  53. struct clidef1 {
  54.      union {
  55.         long int clidef$$_fill_3;
  56.          struct {
  57.              union {
  58.                 unsigned char cli$b_rqtype;
  59.                  struct {
  60.                     unsigned cli$v_subtyp : 4;
  61.                     unsigned cli$v_prityp : 4;
  62.                     } cli$r_rqtype_bits;
  63.                 } cli$r_rqtype_overlay;
  64.              union {
  65.                 unsigned short int cli$w_servcod;
  66.                  struct {
  67.                      union {
  68.                         unsigned char cli$b_rqindx;
  69.                         unsigned char cli$b_bitnum;
  70.                         } cli$r_rqindx_overlay;
  71.                      union {
  72.                         unsigned char cli$b_rqflgs;
  73.                          struct {
  74.                             unsigned cli$v_parmreq : 1;
  75.                             unsigned cli$v_absadr : 1;
  76.                             unsigned cli$v_expnam : 1;
  77.                             unsigned cli$v_fill_19 : 5;
  78.                             } cli$r_rqflgs_bits0;
  79.                          struct {
  80.                             unsigned cli$v_lastval : 1;
  81.                             unsigned cli$v_dummy : 1;
  82.                             unsigned cli$v_fill_20 : 6;
  83.                             } cli$r_rqflgs_bits1;
  84.                         } cli$r_rqflgs_overlay;
  85.                     } cli$r_servcod_fields;
  86.                 } cli$r_servcod_overlay;
  87.              union {
  88.                 unsigned char cli$b_rqstat;
  89.                  struct {
  90.                     unsigned cli$v_parmprs : 1;
  91.                     unsigned cli$v_concatinp : 1;
  92.                     unsigned cli$v_moreinp : 1;
  93.                     unsigned cli$v_parmdef : 1;
  94.                     unsigned cli$v_fill_21 : 4;
  95.                     } cli$r_rqstat_bits0;
  96.                  struct {
  97.                     unsigned cli$v_morevals : 1;
  98.                     unsigned cli$v_keyvalu : 1;
  99.                     unsigned cli$v_fill_22 : 6;
  100.                     } cli$r_rqstat_bits1;
  101.                 } cli$r_rqstat_overlay;
  102.             } cli$r_fill_3_fields;
  103.         } cli$r_fill_3_overlay;
  104.     int *cli$a_erract;
  105.      union {
  106.         unsigned int cli$q_rqdesc [2];
  107.          struct {
  108.             unsigned short int cli$w_rqsize;
  109.             short int clidef$$_fill_4;
  110.              union {
  111.                 unsigned long int cli$l_rqvalu;
  112.                 int *cli$a_rqaddr;
  113.                 } cli$r_rqvalu_overlay;
  114.             } cli$r_rqdesc_fields;
  115.         } cli$r_rqdesc_overlay;
  116.     int *cli$a_prsact;
  117.     int *cli$a_absact;
  118.     int *cli$a_qualst;
  119. } ;
  120. struct clidef2 {
  121.     char clidef$$_fill_8 [4];
  122.     unsigned int cli$q_namdesc [2];
  123.     unsigned int cli$q_valdesc [2];
  124.     unsigned int cli$q_tabdesc [2];
  125.     unsigned long int cli$l_itmlst;
  126.     unsigned long int cli$l_attr;
  127. } ;
  128. struct clidef3 {
  129.     char clidef$$_fill_9 [4];
  130.     unsigned long int cli$l_new_mask;
  131.     unsigned long int cli$l_old_mask;
  132. } ;
  133. struct clidef4 {
  134.     char clidef$$_fill_10 [4];
  135.     unsigned long int cli$l_pid;
  136. } ;
  137. #define CLI$M_NOWAIT 0x00000001
  138. #define CLI$M_NOCLISYM 0x00000002
  139. #define CLI$M_NOLOGNAM 0x00000004
  140. #define CLI$M_NOKEYPAD 0x00000008
  141. #define CLI$M_NOTIFY 0x00000010
  142. #define CLI$M_NOCONTROL 0x00000020
  143. #define CLI$K_SPAWN_VERSION 1
  144. #define CLI$C_SPAWN_VERSION 1
  145. #define CLI$K_SRVDESC 84
  146. #define CLI$C_SRVDESC 84
  147. struct clidef5 {
  148.     char clidef$$_fill_11 [4];
  149.      union {
  150.         unsigned char cli$b_flags;
  151.          struct {
  152.             unsigned cli$v_nowait : 1;
  153.             unsigned cli$v_noclisym : 1;
  154.             unsigned cli$v_nolognam : 1;
  155.             unsigned cli$v_nokeypad : 1;
  156.             unsigned cli$v_notify : 1;
  157.             unsigned cli$v_nocontrol : 1;
  158.             unsigned cli$v_fill_23 : 2;
  159.             } cli$r_flags_bits;
  160.         } cli$r_flags_overlay;
  161.     char clidef$$_fill_5 [3];
  162.     unsigned long int cli$l_outpid;
  163.     unsigned long int cli$l_lststatus;
  164.     unsigned int cli$q_cmdstr [2];
  165.     unsigned int cli$q_input [2];
  166.     unsigned int cli$q_output [2];
  167.     unsigned int cli$q_prcnam [2];
  168.     unsigned long int cli$l_astadr;
  169.     unsigned long int cli$l_astprm;
  170.     unsigned char cli$b_efn;
  171.     unsigned char cli$b_version;
  172.     char clidef$$_fill_6 [2];
  173.     unsigned int cli$q_prompt [2];
  174.     unsigned int cli$q_cli [2];
  175.     unsigned int cli$q_table [2];
  176. } ;
  177. #define CLI$M_ALLOCCUR 0x00000001
  178. #define CLI$M_QDUSRV 0x00000002
  179. #define CLI$M_QDEXPA 0x00000004
  180. #define CLI$M_QUALTRU 0x00000001
  181. #define CLI$M_QUALEXP 0x00000002
  182. #define CLI$K_QUALDEF 20
  183. #define CLI$C_QUALDEF 20
  184. #define CLI$K_QDBITS 20
  185. #define CLI$C_QDBITS 20
  186. struct clidef6 {
  187.     unsigned char cli$b_qdblksiz;
  188.     unsigned char cli$b_qdcode;
  189.      union {
  190.         unsigned char cli$b_qdflgs;
  191.          struct {
  192.             unsigned cli$v_alloccur : 1;
  193.             unsigned cli$v_qdusrv : 1;
  194.             unsigned cli$v_qdexpa : 1;
  195.             unsigned cli$v_fill_24 : 5;
  196.             } cli$r_qdflgs_bits;
  197.         } cli$r_qdflgs_overlay;
  198.      union {
  199.         unsigned char cli$b_qdstat;
  200.          struct {
  201.             unsigned cli$v_qualtru : 1;
  202.             unsigned cli$v_qualexp : 1;
  203.             unsigned cli$v_fill_25 : 6;
  204.             } cli$r_qdstat_bits;
  205.         } cli$r_qdstat_overlay;
  206.      union {
  207.         unsigned int cli$q_qdvaldesc [2];
  208.          struct {
  209.             unsigned short int cli$w_qdvalsiz;
  210.             short int clidef$$_fill_7;
  211.             int *cli$a_qdvaladr;
  212.             } cli$r_qdvaldesc_fields;
  213.         } cli$r_qdvaldesc_overlay;
  214.     int *cli$a_truact;
  215.     int *cli$a_flsact;
  216.     unsigned long int cli$l_usrval;
  217. } ;
  218. #define CLI$K_WORKAREA 128
  219. #define CLI$C_WORKAREA 128
  220. #define CLI$K_UTILOPR 0
  221. #define CLI$K_INPSPEC 1
  222. #define CLI$K_OUTSPEC 2
  223. #define CLI$K_PARDONE 3
  224. #define CLI$K_VALCONV 4
  225. #define CLI$K_CLINT 5
  226. #define CLI$K_INITPRS 0
  227. #define CLI$K_GETCMD 1
  228. #define CLI$K_GETQUAL 2
  229. #define CLI$K_GETOPT 3
  230. #define CLI$K_GETLINE 4
  231. #define CLI$K_CLISERV 5
  232. #define CLI$K_INPUT1 16
  233. #define CLI$K_INPUT2 17
  234. #define CLI$K_INPUT3 18
  235. #define CLI$K_INPUT4 19
  236. #define CLI$K_OUTPUT1 32
  237. #define CLI$K_OUTPUT2 33
  238. #define CLI$K_OUTPUT3 34
  239. #define CLI$K_OUTPUT4 35
  240. #define CLI$K_ENDPRM1 48
  241. #define CLI$K_ENDPRM2 49
  242. #define CLI$K_ENDPRM3 50
  243. #define CLI$K_ENDPRM4 51
  244. #define CLI$K_NUMERVAL 64
  245. #define CLI$K_ASCIIVAL 65
  246. #define CLI$K_KEYWORD 66
  247. #define CLI$K_KEYVAL 67
  248. #define CLI$K_FILSPEC 68
  249. #define CLI$K_PRESENT 80
  250. #define CLI$K_GETVALUE 81
  251. #define CLI$K_ENDPARSE 82
  252. #define CLI$K_DCLPARSE 83
  253. #define CLI$K_DISPATCH 84
  254. #define CLI$K_NEXTQUAL 85
  255. union clidef7 {
  256.     unsigned long int cli$l_workarea [32];
  257. } ;
  258. #endif
  259.