1: /* condevs.h 4.6 86/02/13 */ 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 HAYES2400 35: int hyspopn24(), hystopn24(), hyscls24(); 36: #endif HAYES2400 37: 38: #ifdef HAYESQ 39: int hysqopn(), hysqcls(); /* a version of hayes that doesn't use ret codes */ 40: #endif HAYESQ 41: 42: #ifdef NOVATION 43: int novopn(), novcls(); 44: #endif NOVATION 45: 46: #ifdef CDS224 47: int cdsopn224(), cdscls224(); 48: #endif CDs224 49: 50: #ifdef DF02 51: int df2opn(), df2cls(); 52: #endif DF02 53: 54: #ifdef DF112 55: int df12popn(), df12topn(), df12cls(); 56: #endif DF112 57: 58: #ifdef PNET 59: int pnetopn(); 60: #endif PNET 61: 62: #ifdef VENTEL 63: int ventopn(), ventcls(); 64: #endif VENTEL 65: 66: #ifdef PENRIL 67: int penopn(), pencls(); 68: #endif PENRIL 69: 70: #ifdef UNETTCP 71: #define TO_ACTIVE 0 72: int unetopn(), unetcls(); 73: #endif UNETTCP 74: 75: #ifdef BSDTCP 76: int bsdtcpopn(), bsdtcpcls(); 77: #endif BSDTCP 78: 79: #ifdef VADIC 80: int vadopn(), vadcls(); 81: #endif VADIC 82: 83: #ifdef VA212 84: int va212opn(), va212cls(); 85: #endif VA212 86: 87: #ifdef VA811S 88: int va811opn(), va811cls(); 89: #endif VA811S 90: 91: #ifdef VA820 92: int va820opn(), va820cls(); 93: #endif VA820 94: 95: #ifdef RVMACS 96: int rvmacsopn(), rvmacscls(); 97: #endif 98: 99: #ifdef VMACS 100: int vmacsopn(), vmacscls(); 101: #endif 102: 103: #ifdef MICOM 104: int micopn(), miccls(); 105: #endif MICOM 106: 107: #ifdef SYTEK 108: int sykopn(), sykcls(); 109: #endif SYTEK 110: 111: #ifdef ATT2224 112: int attopn(), attcls(); 113: #endif ATT2224