Annotation of coherent/a/usr/bob/uusrc/modemcap/dial.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  *  dial.h
                      3:  *
                      4:  *  Header file for the dial(3) dialer package, using modemcap.
                      5:  */
                      6: 
                      7: #define        CONNECTTIME     60      /* Max seconds after dial to Connect    */
                      8: 
                      9: extern int merrno;             /* modem error return code              */
                     10: extern char *_merr_list[];     /* modem error code strings             */
                     11: extern char modembuf[];        /* characters received from modem       */
                     12: 
                     13: typedef struct {
                     14:     int                baud;  /* transmission data rate */
                     15:     char       *line; /* device name for out-going line */
                     16:     char       *telno;/* pointer to tel-no digits string */
                     17: } CALL;
                     18: 
                     19: #define        M_INTRPT  -1    /* interrupt occurred */
                     20: #define        M_D_HUNG  -2    /* dialer hung (no return from write) */
                     21: #define        M_NO_ANS  -3    /* no answer within CONNECTTIME seconds */
                     22: #define        M_ILL_BD  -4    /* illegal baud-rate */
                     23: #define        M_A_PROB  -5    /* acu problem (open() failure) */
                     24: #define        M_L_PROB  -6    /* line problem (open() failure) */
                     25: #define        M_NO_LDV  -7    /* can't open LDEVS file */
                     26: #define        M_DV_NT_A -8    /* requested device not available */
                     27: #define        M_DV_NT_K -9    /* requested device not known */
                     28: #define        M_NO_BD_A -10   /* no device available at requested baud */
                     29: #define        M_NO_BD_K -11   /* no device known at requested baud */
                     30: #define M_DEV_TEL -12  /* Incompatible ACU and telephone number */
                     31: 
                     32: #define DVC_LEN        64
                     33: #define DEVDIR "/dev/"
                     34: 
                     35: /* minix */
                     36: #define O_RDWR 2
                     37: #ifdef BITS8
                     38: #define ANYP   BITS8
                     39: #else
                     40: #define ANYP   (EVENP|ODDP)
                     41: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.