1: #
2:
3: /* @(#)ovqp.h 8.3 2/8/85 */
4:
5: /*
6: ** This header file contains the external (global) declarations
7: ** of variables and structures as well as the manifest constants
8: ** particular to OVQP.
9: **
10: ** By convention global variable identifiers are spelled with
11: ** an initial capital letter; manifest constants are in caps
12: ** completely.
13: */
14:
15:
16:
17: /*
18: ** Manifest constants
19: */
20:
21:
22: # define tTFLAG 'O' /* trace flag */
23:
24: # define LBUFSIZE 850 /* buffer size for holding query list */
25: /* and concat and ascii buffers */
26: # define NSIMP 15 /*maximum no. of "simple clauses"
27: * allowed in Qual list
28: * (see "strategy" portion) */
29: # ifndef STACKSIZ
30: # define STACKSIZ 20
31: # endif
32: # define MAXNODES (2 * MAXDOM) + 50 /* max nodes in De.ov_qvect */
33:
34: /* symbolic values for GETNXT parameter of fcn GET */
35: # define CURTUP 0 /* get tuple specified by tid */
36: # define NXTTUP 1 /* get next tuple after one specified by tid */
37:
38:
39: /* symbolic values for CHECKDUPS param of fcn INSERT */
40: # define DUPS 0 /* allow a duplicate tuple to be inserted */
41: # define NODUPS 1 /* check for and avoid inserting
42: * a duplicate (if possible)*/
43:
44:
45: # define TIDTYPE INT
46: # define TIDLEN 4
47:
48: # define CNTLEN 4 /* counter for aggregate computations */
49: # define CNTTYPE INT /* counter type */
50:
51: # define OANYLEN 2 /* length for opANY */
52: # define OANYTYPE INT /* type for opANY */
53:
54:
55: /* (i.e. either De.ov_srcdesc or Ov.ov_indesc) */
56:
57:
58:
59:
60:
61:
62:
63:
64: typedef char i1type;
65: typedef short i2type;
66: typedef long i4type;
67: typedef float f4type;
68: typedef double f8type;
69: typedef char c0type[];
70:
71:
72: typedef char *stringp;
73:
74:
75: /*
76: ** Structures for string manipulation
77: **
78: */
79: # define PATNUM 10
80:
81: typedef struct plist {
82: char *string;
83: int len;
84: } PLIST;
85:
86: typedef struct glist {
87: char *string;
88: int len;
89: struct glist *next;
90: } GLIST;
91:
92: PLIST Pats[PATNUM]; /* for use with PAT_SPEC chars in a replace command. */
93: /* Holds pattern and corresponding length to be */
94: /* inserted into the new string. Index of Pats */
95: /* corresponds to index which user types following */
96: /* the PAT_SPEC char. */
97:
98: int Patnum, /* Number of patterns to be inserted into replaced */
99: /* string. Set to zero in endquelst(). */
100: Globlen,
101: Globnum;
102: GLIST *Globs,*;
Defined variables
defined in line
102; used 8 times
Pats
defined in line
92; used 12 times
Defined struct's
glist
defined in line
86; used 2 times
plist
defined in line
81;
never used
Defined typedef's
GLIST
defined in line
90; used 7 times
PLIST
defined in line
84; used 1 times
f8type
defined in line
68; used 55 times
- in /usr/ingres/source/ovqp/interp.c line
256(3),
292(3),
316-332(11),
338-341(4),
395-396(3),
439-459(12),
563-564(3),
616-617(3),
648(4)
- in /usr/ingres/source/ovqp/interp1.c line
105-109(3)
- in /usr/ingres/source/ovqp/string.c line
136-141(2)
- in /usr/ingres/source/ovqp/typecheck.c line
207-209(2),
233,
257
i2type
defined in line
65; used 42 times
- in /usr/ingres/source/ovqp/interp.c line
95,
130,
142,
201,
234-250(10),
261-262(3),
306,
345,
363,
384-385(3),
401(2),
549-553(3),
583-588(2),
605(2)
- in /usr/ingres/source/ovqp/interp1.c line
89
- in /usr/ingres/source/ovqp/prsym.c line
75
- in /usr/ingres/source/ovqp/scan.c line
133,
206
- in /usr/ingres/source/ovqp/string.c line
121
- in /usr/ingres/source/ovqp/tidtest.c line
124
- in /usr/ingres/source/ovqp/typecheck.c line
156,
182,
209,
233
i4type
defined in line
66; used 29 times
Defined macros
DUPS
defined in line
40;
never used
NSIMP
defined in line
26; used 2 times
Usage of this include