home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / source / support / externs.c < prev    next >
Encoding:
C/C++ Source or Header  |  1985-12-08  |  953 b   |  47 lines

  1. # include    <ingres.h>
  2.  
  3. /*    @(#)externs.c    8.1    12/31/84    */
  4.  
  5. test(map,n)
  6. char    *map;
  7. int    n;
  8. {
  9.     return ((map[n/BITS] & (1<<(n%BITS))) != 0);
  10. }
  11. char    Qbuf[1000];
  12.  
  13. extern struct fn_def    CopyFn;
  14. extern struct fn_def    CreateFn;
  15. extern struct fn_def    DstroyFn;
  16. extern struct fn_def    HelpFn;
  17. extern struct fn_def    DsplayFn;
  18. extern struct fn_def    KsortFn;
  19. extern struct fn_def    ModifyFn;
  20. extern struct fn_def    PrintFn;
  21. extern struct fn_def    ResetrFn;
  22. extern struct fn_def    RmqmFn;
  23. extern struct fn_def    RupdatFn;
  24. extern struct fn_def    SaveFn;
  25. extern struct fn_def    IndexFn;
  26. extern struct fn_def    SysDmpFn;
  27.  
  28. struct fn_def    *FuncVect[] =
  29. {
  30.     &CreateFn,    /* 6 */
  31.     &DstroyFn,    /* 7 */
  32.     &RupdatFn,    /* 8 */
  33.     &PrintFn,    /* 9 */
  34.     &HelpFn,    /* 10 */
  35.     &ResetrFn,    /* 11 */
  36.     &CopyFn,    /* 12 */
  37.     &SaveFn,    /* 13 */
  38.     &ModifyFn,    /* 14 */
  39.     &IndexFn,    /* 15 */
  40.     &DsplayFn,    /* 16 */
  41.     &SysDmpFn,    /* 17 -- unused */
  42.     &RmqmFn,    /* 18 */
  43.     &KsortFn,    /* 19 */
  44. };
  45.  
  46. int    NumFunc = sizeof FuncVect / sizeof FuncVect[0];
  47.