home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume14 / pcomm / part02 / dial_dir.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-17  |  815 b   |  28 lines

  1. /*
  2.  * The dialing directory structure.  The first eight elements are
  3.  * contained in the pcomm.dial_dir file.
  4.  */
  5.  
  6. #define NUM_DIR        100
  7. #define NUM_QUEUE    10
  8.  
  9. struct DIAL_DIR {
  10.     char    *name[NUM_DIR+1];    /* name of system being called */
  11.     char    *number[NUM_DIR+1];    /* phone number */
  12.     int    baud[NUM_DIR+1];    /* baud rate */
  13.     char    parity[NUM_DIR+1];    /* parity */
  14.     int    dbits[NUM_DIR+1];    /* data bits */
  15.     int    sbits[NUM_DIR+1];    /* stop bits */
  16.     char    duplex[NUM_DIR+1];    /* duplex (F = full, H = half) */
  17.     char     *index[NUM_DIR+1];    /* command line index (or tty) */
  18.  
  19.     int    d_entries;        /* number of entries in the file */
  20.     int    d_cur;            /* the current entry */
  21.     int    q_num[NUM_QUEUE];    /* entry numbers in the queue */
  22.     char    q_ld[NUM_QUEUE];    /* LD codes in the queue */
  23. };
  24.  
  25. #ifndef MAIN
  26. extern struct DIAL_DIR *dir;
  27. #endif /* MAIN */
  28.