1*17826Sralph /* condevs.h 4.1 85/01/22 */ 2*17826Sralph 3*17826Sralph #include <sys/types.h> 4*17826Sralph #include <errno.h> 5*17826Sralph #include <setjmp.h> 6*17826Sralph #include <signal.h> 7*17826Sralph #include <sgtty.h> 8*17826Sralph #include "uucp.h" 9*17826Sralph #ifdef VMSDTR /* Modem control on vms(works dtr) */ 10*17826Sralph #include <eunice/eunice.h> 11*17826Sralph #define TT$M_MODEM 0x00200000 /* These should be in a '.h' somewhere */ 12*17826Sralph #define SS$_NORMAL 0x00000001 13*17826Sralph #define IO$_SETMODE 0x00000023 14*17826Sralph #define IO$_SENSEMODE 0x00000027 15*17826Sralph #endif 16*17826Sralph 17*17826Sralph extern char devSel[]; /* name to pass to delock() in close */ 18*17826Sralph extern int errno, next_fd; 19*17826Sralph extern jmp_buf Sjbuf; 20*17826Sralph extern int alarmtr(); 21*17826Sralph int nulldev(), nodev(), Acuopn(), diropn(), dircls(); 22*17826Sralph 23*17826Sralph #ifdef DATAKIT 24*17826Sralph int dkopn(); 25*17826Sralph #endif DATAKIT 26*17826Sralph 27*17826Sralph #ifdef DN11 28*17826Sralph int dnopn(), dncls(); 29*17826Sralph #endif DN11 30*17826Sralph 31*17826Sralph #ifdef HAYES 32*17826Sralph int hysopn(), hyscls(); 33*17826Sralph #endif HAYES 34*17826Sralph 35*17826Sralph #ifdef HAYESQ 36*17826Sralph int hysqopn(), hysqcls(); /* a version of hayes that doesn't use ret codes */ 37*17826Sralph #endif HAYESQ 38*17826Sralph 39*17826Sralph #ifdef NOVATION 40*17826Sralph int novopn(), novcls(); 41*17826Sralph #endif NOVATION 42*17826Sralph 43*17826Sralph #ifdef DF02 44*17826Sralph int df2opn(), df2cls(); 45*17826Sralph #endif DF02 46*17826Sralph 47*17826Sralph #ifdef PNET 48*17826Sralph int pnetopn(); 49*17826Sralph #endif PNET 50*17826Sralph 51*17826Sralph #ifdef VENTEL 52*17826Sralph int ventopn(), ventcls(); 53*17826Sralph #endif VENTEL 54*17826Sralph 55*17826Sralph #ifdef UNETTCP 56*17826Sralph #define TO_ACTIVE 0 57*17826Sralph int unetopn(), unetcls(); 58*17826Sralph #endif UNETTCP 59*17826Sralph 60*17826Sralph #ifdef BSDTCP 61*17826Sralph int bsdtcpopn(), bsdtcpcls(); 62*17826Sralph #endif BSDTCP 63*17826Sralph 64*17826Sralph #ifdef VADIC 65*17826Sralph int vadopn(), vadcls(); 66*17826Sralph #endif VADIC 67*17826Sralph 68*17826Sralph #ifdef VA212 69*17826Sralph int va212opn(), va212cls(); 70*17826Sralph #endif VA212 71*17826Sralph 72*17826Sralph #ifdef VA811S 73*17826Sralph int va811opn(), va811cls(); 74*17826Sralph #endif VA811S 75*17826Sralph 76*17826Sralph #ifdef VA820 77*17826Sralph int va820opn(), va820cls(); 78*17826Sralph #endif VA820 79*17826Sralph 80*17826Sralph #ifdef RVMACS 81*17826Sralph int rvmacsopn(), rvmacscls(); 82*17826Sralph #endif 83*17826Sralph 84*17826Sralph #ifdef VMACS 85*17826Sralph int vmacsopn(), vmacscls(); 86*17826Sralph #endif 87*17826Sralph 88*17826Sralph #ifdef MICOM 89*17826Sralph int micopn(), miccls(); 90*17826Sralph #endif MICOM 91*17826Sralph 92*17826Sralph #ifdef SYTEK 93*17826Sralph int sykopn(), sykcls(); 94*17826Sralph #endif 95