148650Sbostic /*- 2*62382Sbostic * Copyright (c) 1985, 1993 3*62382Sbostic * The Regents of the University of California. All rights reserved. 448650Sbostic * 548650Sbostic * %sccs.include.proprietary.c% 648650Sbostic * 7*62382Sbostic * @(#)condevs.h 8.1 (Berkeley) 06/06/93 848650Sbostic */ 917826Sralph 1018619Sralph #include "uucp.h" 1117826Sralph #include <errno.h> 1217826Sralph #include <setjmp.h> 1317826Sralph #include <signal.h> 1417826Sralph #include <sgtty.h> 1517826Sralph #ifdef VMSDTR /* Modem control on vms(works dtr) */ 1617826Sralph #include <eunice/eunice.h> 1717826Sralph #define TT$M_MODEM 0x00200000 /* These should be in a '.h' somewhere */ 1817826Sralph #define SS$_NORMAL 0x00000001 1917826Sralph #define IO$_SETMODE 0x00000023 2017826Sralph #define IO$_SENSEMODE 0x00000027 2117826Sralph #endif 2217826Sralph 2317826Sralph extern char devSel[]; /* name to pass to delock() in close */ 2417826Sralph extern int errno, next_fd; 2517826Sralph extern jmp_buf Sjbuf; 2646874Sbostic extern void alarmtr(); 2717826Sralph int nulldev(), nodev(), Acuopn(), diropn(), dircls(); 2817826Sralph 2917826Sralph #ifdef DATAKIT 3017826Sralph int dkopn(); 3160033Storek #endif 3217826Sralph 3317826Sralph #ifdef DN11 3417826Sralph int dnopn(), dncls(); 3560033Storek #endif 3617826Sralph 3717826Sralph #ifdef HAYES 3823595Sbloom int hyspopn(), hystopn(), hyscls(); 3960033Storek #endif 4017826Sralph 4125966Sbloom #ifdef HAYES2400 4226165Sbloom int hyspopn24(), hystopn24(), hyscls24(); 4360033Storek #endif 4425966Sbloom 4517826Sralph #ifdef HAYESQ 4617826Sralph int hysqopn(), hysqcls(); /* a version of hayes that doesn't use ret codes */ 4760033Storek #endif 4817826Sralph 4917826Sralph #ifdef NOVATION 5017826Sralph int novopn(), novcls(); 5160033Storek #endif 5217826Sralph 5325966Sbloom #ifdef CDS224 5425966Sbloom int cdsopn224(), cdscls224(); 5560033Storek #endif 5625966Sbloom 5717826Sralph #ifdef DF02 5817826Sralph int df2opn(), df2cls(); 5960033Storek #endif 6017826Sralph 6118619Sralph #ifdef DF112 6218619Sralph int df12popn(), df12topn(), df12cls(); 6360033Storek #endif 6418619Sralph 6517826Sralph #ifdef PNET 6617826Sralph int pnetopn(); 6760033Storek #endif 6817826Sralph 6917826Sralph #ifdef VENTEL 7017826Sralph int ventopn(), ventcls(); 7160033Storek #endif 7217826Sralph 7318619Sralph #ifdef PENRIL 7418619Sralph int penopn(), pencls(); 7560033Storek #endif 7618619Sralph 7717826Sralph #ifdef UNETTCP 7817826Sralph #define TO_ACTIVE 0 7917826Sralph int unetopn(), unetcls(); 8060033Storek #endif 8117826Sralph 8217826Sralph #ifdef BSDTCP 8317826Sralph int bsdtcpopn(), bsdtcpcls(); 8460033Storek #endif 8517826Sralph 8617826Sralph #ifdef VADIC 8717826Sralph int vadopn(), vadcls(); 8860033Storek #endif 8917826Sralph 9017826Sralph #ifdef VA212 9117826Sralph int va212opn(), va212cls(); 9260033Storek #endif 9317826Sralph 9417826Sralph #ifdef VA811S 9517826Sralph int va811opn(), va811cls(); 9660033Storek #endif 9717826Sralph 9817826Sralph #ifdef VA820 9917826Sralph int va820opn(), va820cls(); 10060033Storek #endif 10117826Sralph 10217826Sralph #ifdef RVMACS 10317826Sralph int rvmacsopn(), rvmacscls(); 10417826Sralph #endif 10517826Sralph 10617826Sralph #ifdef VMACS 10717826Sralph int vmacsopn(), vmacscls(); 10817826Sralph #endif 10917826Sralph 11017826Sralph #ifdef MICOM 11117826Sralph int micopn(), miccls(); 11260033Storek #endif 11317826Sralph 11417826Sralph #ifdef SYTEK 11517826Sralph int sykopn(), sykcls(); 11660033Storek #endif 11726151Sbloom 11826151Sbloom #ifdef ATT2224 11926151Sbloom int attopn(), attcls(); 12060033Storek #endif 121