1: # include   <ingres.h>
   2: # include   <aux.h>
   3: # include   <access.h>
   4: # include   <func.h>
   5: # include   <sccs.h>
   6: 
   7: SCCSID(@(#)univingres.c	8.2	12/18/85)
   8: 
   9: /*
  10: **  Configuration table for INGRES backend
  11: */
  12: 
  13: char    Qbuf[16000];
  14: int QbufSize = sizeof Qbuf;
  15: 
  16: int Noupdt;
  17: 
  18: 
  19: DESC    Reldes;
  20: DESC    Attdes;
  21: DESC    Inddes;
  22: DESC    Treedes;
  23: DESC    Prodes;
  24: DESC    Intdes;
  25: DESC    Btreesec;
  26: int Btree_fd;
  27: 
  28: struct desxx    Desxx[] =
  29: {
  30:     "relation", &Reldes,    &Admin.adreld,
  31:     "attribute",    &Attdes,    &Admin.adattd,
  32:     "indexes",  &Inddes,    NULL,
  33:     "tree",     &Treedes,   NULL,
  34:     "protect",  &Prodes,    NULL,
  35:     "integrities",  &Intdes,    NULL,
  36:     NULL
  37: };
  38: 
  39: 
  40: short   tTdbu[100];
  41: 
  42: extern struct fn_def    ParserFn;
  43: extern struct fn_def    QryModFn;
  44: extern struct fn_def    DefProFn;
  45: extern struct fn_def    DefIntFn;
  46: extern struct fn_def    DefViewFn;
  47: extern struct fn_def    DeOvqpFn;
  48: extern struct fn_def    CopyFn;
  49: extern struct fn_def    CreateFn;
  50: extern struct fn_def    DstroyFn;
  51: extern struct fn_def    HelpFn;
  52: extern struct fn_def    DsplayFn;
  53: extern struct fn_def    KsortFn;
  54: extern struct fn_def    ModifyFn;
  55: extern struct fn_def    PrintFn;
  56: extern struct fn_def    ResetrFn;
  57: extern struct fn_def    RmqmFn;
  58: extern struct fn_def    RupdatFn;
  59: extern struct fn_def    SaveFn;
  60: extern struct fn_def    IndexFn;
  61: extern struct fn_def    SysDmpFn;
  62: 
  63: struct fn_def   *FuncVect[] =
  64: {
  65:     &ParserFn,  /* 0 -- parser */
  66:     &QryModFn,  /* 1 -- qrymod (normal query) */
  67:     &DefViewFn, /* 2 -- define view */
  68:     &DefIntFn,  /* 3 -- define integrity */
  69:     &DefProFn,  /* 4 -- define permit */
  70:     &DeOvqpFn,  /* 5 -- decomp/ovqp */
  71:     &CreateFn,  /* 6 */
  72:     &DstroyFn,  /* 7 */
  73:     &RupdatFn,  /* 8 */
  74:     &PrintFn,   /* 9 */
  75:     &HelpFn,    /* 10 */
  76:     &ResetrFn,  /* 11 */
  77:     &CopyFn,    /* 12 */
  78:     &SaveFn,    /* 13 */
  79:     &ModifyFn,  /* 14 */
  80:     &IndexFn,   /* 15 */
  81:     &DsplayFn,  /* 16 */
  82:     &SysDmpFn,  /* 17 -- unused */
  83:     &RmqmFn,    /* 18 */
  84:     &KsortFn,   /* 19 */
  85: };
  86: 
  87: int NumFunc = sizeof FuncVect / sizeof FuncVect[0];

Defined variables

Btree_fd defined in line 26; never used
Desxx defined in line 28; never used
FuncVect defined in line 63; used 2 times
  • in line 87(2)
Noupdt defined in line 16; never used
NumFunc defined in line 87; never used
Qbuf defined in line 13; used 1 times
  • in line 14
QbufSize defined in line 14; never used
tTdbu defined in line 40; never used
Last modified: 1986-04-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 576
Valid CSS Valid XHTML 1.0 Strict