Annotation of coherent/a/usr/include.b4ps2/dial.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * $Log:       dial.h,v $
        !             3:  * Revision 1.2  92/09/29  09:06:23  bin
        !             4:  * updated with kernel 63 source
        !             5:  * 
        !             6:  * Revision 1.1        89/04/26  16:24:50      root
        !             7:  * Initial revision
        !             8:  * 
        !             9:  */
        !            10: 
        !            11: #ifndef        DIAL_H
        !            12: #define        DIAL_H  DIAL_H
        !            13: 
        !            14: #include <termio.h>
        !            15: 
        !            16: #define        LDEVS   "/usr/lib/uucp/L-devices"
        !            17: #define        DEVDIR  "/dev/"                         /* device path */
        !            18: #define        LOCK    "/usr/spool/uucp/LCK.."         /* lock file semaphore */
        !            19: #define        DVC_LEN 30                      /* max num of chars in TTY-device path name */
        !            20: 
        !            21: /*
        !            22:  *     Error mnemonics
        !            23:  */
        !            24: 
        !            25: #define        INTRPT  (-1)    /* Interrupt occured */
        !            26: #define        D_HUNG  (-2)    /* dialer hung (no return from write) */
        !            27: #define        NO_ANS  (-3)    /* no answer within 10 seconds */
        !            28: #define        ILL_BD  (-4)    /* illegal baud rate */
        !            29: #define        A_PROB  (-5)    /* acu problem (open() failure) */
        !            30: #define        L_PROB  (-6)    /* line problem (open() failure) */
        !            31: #define        NO_Ldv  (-7)    /* cannot open LDEVS file */
        !            32: #define        DV_NT_A (-8)    /* requested device not available */
        !            33: #define        DV_NT_K (-9)    /* requested device not known */
        !            34: #define        NO_BD_A (-10)   /* no device available at requested baud */
        !            35: #define        NO_BD_K (-11)   /* no device known at requested baud */
        !            36: 
        !            37: typedef        struct {
        !            38:        struct  termio  *attr;  /* ptr to termio attribute struct */
        !            39:        int     baud;           /* transmission baud rate */
        !            40:        int     speed;          /* 212A modem: low=300, high=1200 */
        !            41:        char    *line;          /* device name for outgoing line */
        !            42:        char    *telno;         /* ptr to telephone num digits string */
        !            43:        int     modem;          /* allow modem control on direct lines */
        !            44: } CALL;
        !            45: 
        !            46: extern int     dial();
        !            47: extern void    undial();
        !            48: 
        !            49: #endif

unix.superglobalmegacorp.com

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