root/tags/5.4.pre05/mxfun.h

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

Criação do svn para Cisis.

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