root/tags/5.52/mxfun.h

Revision 4, 3.6 kB (checked in by heitor.barbieri, 2 years ago)

Versão 5.52 do cisis (28/04/2010)

Line 
1/* ==----------------------------- mxfun.h ------------------------------== */
2
3typedef struct mxfun_xmx {
4
5#if OPEN30
6union REGS      d33_regs;
7struct SREGS    d33_sregs;
8unsigned short  newax;
9#endif
10
11char *parmpftoutp;
12FILE *parmpftoutfp;
13char *parmprologp;
14char *parmepilogp;
15LONGX  irecepilog;
16#if CICGI
17LONGX wwrec1;
18LONGX wwrec2;
19char *cgixpok;
20#endif /* CICGI */
21
22FMT_CODE *pgmp;
23char *fmtarea;
24LONGX fmtlw;
25LONGX fmtlines;
26LONGX fmtasize;
27FILE *fp;
28
29char *ptabtable;
30int   ptabwidth;
31LONGX  ptabcategories;
32LONGX  ptabmaxprim;
33LONGX *ptabCOUNT; 
34
35LONGX parmtell;
36LONGX parmload;
37int parmtrace;
38int parmcopy;
39
40char *parmdupp;
41int parmdupx;
42
43LONGX *tagfreq;
44
45int parmiso1;
46int parmiso2;
47FILE *fpfix;    /*parmiso2=2 */
48
49#if RECXPND
50int parmxpn01;
51int parmxpn02;
52#endif
53#if MXGIZP
54char *parmgizp;
55int parmgizhp;
56#endif
57
58char *prompt1p;
59char *prompt2p;
60
61char promptxx[2];
62
63char line[LINSIZE];              /* recfgets() + working */
64char prmbuff[PRMSIZE];           /* in= */
65
66FILE *fpseq;
67FILE *fpprm;
68
69FILE *vfpprm[MAXNFPRM];
70int nfpprms;
71
72int tmpseq;                   /* mxexit() */
73char *mx_bup;                   /* global */
74LONGX mx_buplen;              /* global */
75
76LONGX upcrec;                 /* global */
77LONGX upirec;                 /* global */
78
79#if MXFULLINV
80char *fullinv_ifnp;
81char *fullinv_ln1p;
82char *fullinv_ln2p;
83char *fullinv_lk1p;
84char *fullinv_lk2p;
85int fullinv_pstflag;
86int fullinv_reset;
87int fullinv_balan;
88int fullinv_keep;
89#if LIND
90LONGX fullinv_maxmfn;
91#endif
92char *fullinv_master;
93#endif
94
95#if MXIFUPD
96LONGX mstcrec;
97LONGX mstirec;
98char *ifnp;
99int svdifupx;
100int svdifupy;
101#endif
102
103#if MXIFUPD
104int pstflag;
105int endup;
106#endif
107
108#if MXIFUPD || MXFST
109char *stwp;
110FST_CODE *fstpgmp;
111char *lnk1p;
112char *lnk2p;
113LONGX maxlk1;
114LONGX maxlk2;
115#endif
116
117PRMSTRU *vprmp[MAXNPRM];        /* pointers to the entries      */
118LONGX nprms;                   /* actual #entries              */
119LONGX maxnprm;           /* runtime value                */
120
121
122/* ------------------------------ mx.h ------------------------------------- */
123
124#if RECXPND
125#endif
126
127#if RECGIZM
128#endif
129
130
131
132
133/* ------------------------------ mxbol.c --------------------------------- */
134
135char *boolqryp;
136LONGX boolridx;
137LONGX boolhits;
138LONGX boolh;
139
140char *booldbnp;          /* b4x query dbn */
141LONGX booltell;               /* 0L = no msg */
142LONGX booltlir;               /* b40 invx */
143
144#if CIB71
145b7_CIB7 *cib7p;
146char booltmpnam[CIMPL+1];    /* b72 MFQTHMEM tmp file */
147#else /* CIB71 */
148#if LIND || CIB64
149LONGX boolnby1;               /* b62 nbytes1 */
150LONGX boolnbyb;               /* b62 b6bufsiz */
151LONGX boolnby0;               /* b62 b5irxbyts0 */
152char booltmpnam[CIMPL+1];    /* b62 MFQTHMEM tmp file */
153int boolerrno;                /* b62 errno */
154#else
155LONGX boolnby2;          /* b42 nbytes2 */
156#endif
157#endif /* CIB71 */
158
159/* ------------------------------ mxrel.c --------------------------------- */
160
161/* ========================== mp_scan/mp_edit ============================= */
162
163FMT_CODE *mp_pgmp[MAXNPPP];
164int mp_n;
165char *mp_areap;
166
167/* ====================== mj_scan/mj_edit/mj_join ========================= */
168
169MJ_TAGS *mj_vtagp[MAXNJJJ];
170MJ_STWS *mj_vstwp[MAXNJJJ];
171FMT_CODE *mj_pgmp[MAXNJJJ];
172LONGX mj_ridx[MAXNJJJ];
173LONGX mj_plustag[MAXNJJJ]; /* AOT 23/04/2005 */
174LONGX mj_tidx;
175char *mj_areap;
176char *mj_buffup;
177int mj_pjchk[MAXNJJJ];
178int mj_n;
179LONGX mj_jmax;
180UWORD mj_jtag;
181
182/* ------------------------------ mxtxt.c --------------------------------- */
183
184int  mxtext_found;
185int  mxtext_fdir;
186int  mxtext_foff;
187int  mxtext_pshow;
188
189/* ------------------------------ ciapip --------------------------------- */
190void *mx_ciapip;
191} MXFUN_XMX;
192
193/* ==----------------------------- mxfun.h ------------------------------== */
Note: See TracBrowser for help on using the browser.