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