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