home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a524 / 31.ddi / lib / osntabst.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-04  |  1.1 KB  |  35 lines

  1.  
  2. /*
  3. **
  4. ** This File Is GENERATED By genosntab.
  5. **
  6. */
  7.  
  8. extern int   osnsgl();                      /* single    task private */
  9. extern int   osnptt();                        /* pipe two task */
  10. extern int   osnftt();                        /* Fast two task */
  11. struct ifcdef
  12. {
  13. int     (*ifcfun)();                     /* connect function */
  14. char *   ifcfnm;                           /* fixed    name */
  15. char *   ifcprf;        /* interface prefix    w/ delimeter (P:,S:,TT:,...) */
  16. char *   ifcdsc;           /* interface description    (private,shared,...) */
  17. char *   ifcdfl;               /* char * to pass if none from attach */
  18. char *   ifcprm;         /* add'l parameter char * for connect calls */
  19. };
  20. typedef    struct ifcdef    ifcdef;
  21.  
  22. ifcdef osntab[] =
  23. {
  24. /* FUNC    NAME         PREFIX    DESCRIPTION    DFLT          PARAM */
  25. # if defined(SYS_SGL)
  26.  { osnsgl, "SINGLE_TASK:",      "S:",   "Single task",  "",             ""},
  27. # else
  28.  { osnptt, "PIPE_TWO_TASK:",    "P:",    "Pipe Two-Task","",        ""},
  29.  { osnftt, "FAST_TWO_TASK:",    "F:",    "Fast Two-Task","",        ""},
  30. # endif
  31. { 0,0,0,0,0,0 }
  32. };
  33. ifcdef *osndfn = &osntab[0];      /* without host: default is single */
  34. ifcdef *osndfh = &osntab[0];     /* with host: default is Two Task   */
  35.