1*18619Sralph /* condevs.h 4.2 85/04/10 */ 217826Sralph 3*18619Sralph #include "uucp.h" 417826Sralph #include <errno.h> 517826Sralph #include <setjmp.h> 617826Sralph #include <signal.h> 717826Sralph #include <sgtty.h> 817826Sralph #ifdef VMSDTR /* Modem control on vms(works dtr) */ 917826Sralph #include <eunice/eunice.h> 1017826Sralph #define TT$M_MODEM 0x00200000 /* These should be in a '.h' somewhere */ 1117826Sralph #define SS$_NORMAL 0x00000001 1217826Sralph #define IO$_SETMODE 0x00000023 1317826Sralph #define IO$_SENSEMODE 0x00000027 1417826Sralph #endif 1517826Sralph 1617826Sralph extern char devSel[]; /* name to pass to delock() in close */ 1717826Sralph extern int errno, next_fd; 1817826Sralph extern jmp_buf Sjbuf; 1917826Sralph extern int alarmtr(); 2017826Sralph int nulldev(), nodev(), Acuopn(), diropn(), dircls(); 2117826Sralph 2217826Sralph #ifdef DATAKIT 2317826Sralph int dkopn(); 2417826Sralph #endif DATAKIT 2517826Sralph 2617826Sralph #ifdef DN11 2717826Sralph int dnopn(), dncls(); 2817826Sralph #endif DN11 2917826Sralph 3017826Sralph #ifdef HAYES 3117826Sralph int hysopn(), hyscls(); 3217826Sralph #endif HAYES 3317826Sralph 3417826Sralph #ifdef HAYESQ 3517826Sralph int hysqopn(), hysqcls(); /* a version of hayes that doesn't use ret codes */ 3617826Sralph #endif HAYESQ 3717826Sralph 3817826Sralph #ifdef NOVATION 3917826Sralph int novopn(), novcls(); 4017826Sralph #endif NOVATION 4117826Sralph 4217826Sralph #ifdef DF02 4317826Sralph int df2opn(), df2cls(); 4417826Sralph #endif DF02 4517826Sralph 46*18619Sralph #ifdef DF112 47*18619Sralph int df12popn(), df12topn(), df12cls(); 48*18619Sralph #endif DF112 49*18619Sralph 5017826Sralph #ifdef PNET 5117826Sralph int pnetopn(); 5217826Sralph #endif PNET 5317826Sralph 5417826Sralph #ifdef VENTEL 5517826Sralph int ventopn(), ventcls(); 5617826Sralph #endif VENTEL 5717826Sralph 58*18619Sralph #ifdef PENRIL 59*18619Sralph int penopn(), pencls(); 60*18619Sralph #endif PENRIL 61*18619Sralph 6217826Sralph #ifdef UNETTCP 6317826Sralph #define TO_ACTIVE 0 6417826Sralph int unetopn(), unetcls(); 6517826Sralph #endif UNETTCP 6617826Sralph 6717826Sralph #ifdef BSDTCP 6817826Sralph int bsdtcpopn(), bsdtcpcls(); 6917826Sralph #endif BSDTCP 7017826Sralph 7117826Sralph #ifdef VADIC 7217826Sralph int vadopn(), vadcls(); 7317826Sralph #endif VADIC 7417826Sralph 7517826Sralph #ifdef VA212 7617826Sralph int va212opn(), va212cls(); 7717826Sralph #endif VA212 7817826Sralph 7917826Sralph #ifdef VA811S 8017826Sralph int va811opn(), va811cls(); 8117826Sralph #endif VA811S 8217826Sralph 8317826Sralph #ifdef VA820 8417826Sralph int va820opn(), va820cls(); 8517826Sralph #endif VA820 8617826Sralph 8717826Sralph #ifdef RVMACS 8817826Sralph int rvmacsopn(), rvmacscls(); 8917826Sralph #endif 9017826Sralph 9117826Sralph #ifdef VMACS 9217826Sralph int vmacsopn(), vmacscls(); 9317826Sralph #endif 9417826Sralph 9517826Sralph #ifdef MICOM 9617826Sralph int micopn(), miccls(); 9717826Sralph #endif MICOM 9817826Sralph 9917826Sralph #ifdef SYTEK 10017826Sralph int sykopn(), sykcls(); 10117826Sralph #endif 102