# 2.11BSD#431 - /usr/ingres/source/qrymod/qrymod.h

##### Macros

    MAXPROQM          X
    QBUFFULL          X
    QBUFSIZ           X
    QTREE             X
    STACKFULL         X

##### struct's

    rngtab            X

       1: #
       2: /*
       3: **  QRYMOD.H -- Query Modification header file.
       4: **
       5: **	Contains the manifest constants and global variables
       6: **	used by the query modification process.
       7: **
       8: **	History:
       9: **		2/14/79 -- version 6.2 released.
      10: */
      11:
      12: # define    QTREE       struct querytree
      13:
      14: /* check out match for this two in decomp.h */
      15: # define    QBUFSIZ     2000        /* query buffer */
      16:
      17: /* error message constants */
      18: # define    QBUFFULL    3700        /* tree buffer oflo error */
      19: # define    STACKFULL   3701        /* trbuild stack oflo error */
      20:
      21: /* range table */
      22: struct rngtab
      23: {
      24:     char    relid[MAXNAME];     /* relation name */
      25:     int rstat;          /* relation status */
      26:     char    rowner[2];      /* relation owner */
      27:     char    rused;          /* non-zero if this slot used */
      28: };
      29:
      30: extern struct rngtab    Rangev[MAXVAR + 1];
      31: extern int      Remap[MAXVAR + 1];  /* remapping for range table */
      32:
      33: extern char *Qbuf;          /* tree buffer space */
      34: extern int  Qmode;          /* type of query */
      35: extern int  Resultvar;      /* if >= 0, result var name */
      36:
      37:
      38: extern struct descriptor    Treedes;    /* descriptor for tree catalog */
      39:
      40:
      41:
      42:
      43: /*********************************************************************
      44: **								    **
      45: **  The following stuff is used by the protection algorithm only.   **
      46: **								    **
      47: *********************************************************************/
      48: /* maximum query mode for proopset (<--> sizeof Proopmap - 1) */
      49: # define    MAXPROQM    4

#### Defined struct's

rngtab defined in line 22; used 4 times

- in line 30(2)
- in /usr/ingres/source/qrymod/range.c line 38(2)

#### Defined macros

MAXPROQM defined in line 49; used 1 times

- in /usr/ingres/source/qrymod/protect.c line 188

QBUFFULL defined in line 18; used 1 times

- in /usr/ingres/source/qrymod/readtree.c line 78

QBUFSIZ defined in line 15; used 2 times

- in /usr/ingres/source/qrymod/main.c line 110
- in /usr/ingres/source/qrymod/readtree.c line 78

QTREE defined in line 12; used 107 times

- in /usr/ingres/source/qrymod/d_integ.c line 46, 56, 198-202(2)
- in /usr/ingres/source/qrymod/d_prot.c line 100, 111
- in /usr/ingres/source/qrymod/d_view.c line 58, 69
- in /usr/ingres/source/qrymod/define.c line 48, 149, 206
- in /usr/ingres/source/qrymod/integrity.c line 61-71(6)
- in /usr/ingres/source/qrymod/issue.c line 55-57(2), 123-127(4), 226-229(2)
- in /usr/ingres/source/qrymod/main.c line 101-107(3)
- in /usr/ingres/source/qrymod/protect.c line 204-210(4), 335, 344-348(3), 355-360(2), 687, 693
- in /usr/ingres/source/qrymod/qrymod.c line 38-43(4)
- in /usr/ingres/source/qrymod/range.c line 236-238(2)
- in /usr/ingres/source/qrymod/readtree.c line 58, 65-69(2), 179, 188, 377, 385
- in /usr/ingres/source/qrymod/tree.c line 35-43(4), 49
- in /usr/ingres/source/qrymod/treepr.c line 69-72(2), 135-137(2), 167-169(2)
- in /usr/ingres/source/qrymod/trscan.c line 58-60(2), 117-123(3), 176-183(4), 233-235(2), 335-343(5)
- in /usr/ingres/source/qrymod/util.c line 75-81(5), 140-144(4), 403, 471, 508
- in /usr/ingres/source/qrymod/view.c line 234-244(5), 419-427(7)
- in /usr/ingres/source/qrymod/writetree.c line 55-58(2), 107

STACKFULL defined in line 19; used 1 times

- in /usr/ingres/source/qrymod/readtree.c line 126

#### Usage of this include

qrymod.h used 18 times

- in /usr/ingres/source/qrymod/d_integ.c line 7
- in /usr/ingres/source/qrymod/d_prot.c line 9
- in /usr/ingres/source/qrymod/d_view.c line 7
- in /usr/ingres/source/qrymod/define.c line 6
- in /usr/ingres/source/qrymod/fillprotup.c line 6
- in /usr/ingres/source/qrymod/integrity.c line 7
- in /usr/ingres/source/qrymod/issue.c line 6
- in /usr/ingres/source/qrymod/main.c line 4
- in /usr/ingres/source/qrymod/protect.c line 7
- in /usr/ingres/source/qrymod/qrymod.c line 3
- in /usr/ingres/source/qrymod/range.c line 4
- in /usr/ingres/source/qrymod/readtree.c line 6
- in /usr/ingres/source/qrymod/tree.c line 4
- in /usr/ingres/source/qrymod/treepr.c line 5
- in /usr/ingres/source/qrymod/trscan.c line 4
- in /usr/ingres/source/qrymod/util.c line 6
- in /usr/ingres/source/qrymod/view.c line 5
- in /usr/ingres/source/qrymod/writetree.c line 6

Last modified: 1980-12-17 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1106 |