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

Defined macros

MAXPROQM defined in line 49; used 1 times
QBUFFULL defined in line 18; used 1 times
STACKFULL defined in line 19; used 1 times

Usage of this include

Last modified: 1980-12-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2730
Valid CSS Valid XHTML 1.0 Strict