148650Sbostic /*-
248650Sbostic  * Copyright (c) 1985 The Regents of the University of California.
348650Sbostic  * All rights reserved.
448650Sbostic  *
548650Sbostic  * %sccs.include.proprietary.c%
648650Sbostic  *
7*60033Storek  *	@(#)condevs.h	4.10 (Berkeley) 05/16/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();
31*60033Storek #endif
3217826Sralph 
3317826Sralph #ifdef DN11
3417826Sralph int dnopn(), dncls();
35*60033Storek #endif
3617826Sralph 
3717826Sralph #ifdef HAYES
3823595Sbloom int hyspopn(), hystopn(), hyscls();
39*60033Storek #endif
4017826Sralph 
4125966Sbloom #ifdef HAYES2400
4226165Sbloom int hyspopn24(), hystopn24(), hyscls24();
43*60033Storek #endif
4425966Sbloom 
4517826Sralph #ifdef HAYESQ
4617826Sralph int hysqopn(), hysqcls();  /* a version of hayes that doesn't use ret codes */
47*60033Storek #endif
4817826Sralph 
4917826Sralph #ifdef NOVATION
5017826Sralph int novopn(), novcls();
51*60033Storek #endif
5217826Sralph 
5325966Sbloom #ifdef CDS224
5425966Sbloom int cdsopn224(), cdscls224();
55*60033Storek #endif
5625966Sbloom 
5717826Sralph #ifdef DF02
5817826Sralph int df2opn(), df2cls();
59*60033Storek #endif
6017826Sralph 
6118619Sralph #ifdef DF112
6218619Sralph int df12popn(), df12topn(), df12cls();
63*60033Storek #endif
6418619Sralph 
6517826Sralph #ifdef PNET
6617826Sralph int pnetopn();
67*60033Storek #endif
6817826Sralph 
6917826Sralph #ifdef VENTEL
7017826Sralph int ventopn(), ventcls();
71*60033Storek #endif
7217826Sralph 
7318619Sralph #ifdef PENRIL
7418619Sralph int penopn(), pencls();
75*60033Storek #endif
7618619Sralph 
7717826Sralph #ifdef	UNETTCP
7817826Sralph #define TO_ACTIVE	0
7917826Sralph int unetopn(), unetcls();
80*60033Storek #endif
8117826Sralph 
8217826Sralph #ifdef BSDTCP
8317826Sralph int bsdtcpopn(), bsdtcpcls();
84*60033Storek #endif
8517826Sralph 
8617826Sralph #ifdef VADIC
8717826Sralph int vadopn(), vadcls();
88*60033Storek #endif
8917826Sralph 
9017826Sralph #ifdef VA212
9117826Sralph int va212opn(), va212cls();
92*60033Storek #endif
9317826Sralph 
9417826Sralph #ifdef VA811S
9517826Sralph int va811opn(), va811cls();
96*60033Storek #endif
9717826Sralph 
9817826Sralph #ifdef VA820
9917826Sralph int va820opn(), va820cls();
100*60033Storek #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();
112*60033Storek #endif
11317826Sralph 
11417826Sralph #ifdef SYTEK
11517826Sralph int sykopn(), sykcls();
116*60033Storek #endif
11726151Sbloom 
11826151Sbloom #ifdef ATT2224
11926151Sbloom int attopn(), attcls();
120*60033Storek #endif
121