|
|
1.1 ! root 1: # include <ingres.h> ! 2: # include <aux.h> ! 3: # include <access.h> ! 4: # include <func.h> ! 5: # include <sccs.h> ! 6: ! 7: SCCSID(@(#)vaxingres.c 7.1 2/5/81) ! 8: ! 9: /* ! 10: ** Configuration table for VAX INGRES ! 11: */ ! 12: ! 13: char Qbuf[10000]; ! 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: ! 26: struct desxx Desxx[] = ! 27: { ! 28: "relation", &Reldes, &Admin.adreld, ! 29: "attribute", &Attdes, &Admin.adattd, ! 30: "indexes", &Inddes, NULL, ! 31: "tree", &Treedes, NULL, ! 32: "protect", &Prodes, NULL, ! 33: "integrities", &Intdes, NULL, ! 34: NULL ! 35: }; ! 36: ! 37: ! 38: short tTdbu[100]; ! 39: ! 40: extern struct fn_def ParserFn; ! 41: extern struct fn_def QryModFn; ! 42: extern struct fn_def DefProFn; ! 43: extern struct fn_def DefIntFn; ! 44: extern struct fn_def DefViewFn; ! 45: extern struct fn_def DeOvqpFn; ! 46: extern struct fn_def CopyFn; ! 47: extern struct fn_def CreateFn; ! 48: extern struct fn_def DstroyFn; ! 49: extern struct fn_def HelpFn; ! 50: extern struct fn_def DsplayFn; ! 51: /* extern struct fn_def KsortFn; */ ! 52: extern struct fn_def ModifyFn; ! 53: extern struct fn_def PrintFn; ! 54: extern struct fn_def ResetrFn; ! 55: extern struct fn_def RmqmFn; ! 56: extern struct fn_def RupdatFn; ! 57: extern struct fn_def SaveFn; ! 58: extern struct fn_def IndexFn; ! 59: extern struct fn_def SysDmpFn; ! 60: ! 61: struct fn_def *FuncVect[] = ! 62: { ! 63: &ParserFn, /* 0 -- parser */ ! 64: &QryModFn, /* 1 -- qrymod (normal query) */ ! 65: &DefViewFn, /* 2 -- define view */ ! 66: &DefIntFn, /* 3 -- define integrity */ ! 67: &DefProFn, /* 4 -- define permit */ ! 68: &DeOvqpFn, /* 5 -- decomp/ovqp */ ! 69: &CreateFn, /* 6 */ ! 70: &DstroyFn, /* 7 */ ! 71: &RupdatFn, /* 8 */ ! 72: &PrintFn, /* 9 */ ! 73: &HelpFn, /* 10 */ ! 74: &ResetrFn, /* 11 */ ! 75: &CopyFn, /* 12 */ ! 76: &SaveFn, /* 13 */ ! 77: &ModifyFn, /* 14 */ ! 78: &IndexFn, /* 15 */ ! 79: &DsplayFn, /* 16 */ ! 80: &SysDmpFn, /* 17 -- unused */ ! 81: &RmqmFn, /* 18 */ ! 82: }; ! 83: ! 84: int NumFunc = sizeof FuncVect / sizeof FuncVect[0];
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.