1*48650Sbostic /*-
2*48650Sbostic  * Copyright (c) 1985 The Regents of the University of California.
3*48650Sbostic  * All rights reserved.
4*48650Sbostic  *
5*48650Sbostic  * %sccs.include.proprietary.c%
6*48650Sbostic  *
7*48650Sbostic  *	@(#)condevs.h	4.9 (Berkeley) 04/24/91
8*48650Sbostic  */
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();
3117826Sralph #endif DATAKIT
3217826Sralph 
3317826Sralph #ifdef DN11
3417826Sralph int dnopn(), dncls();
3517826Sralph #endif DN11
3617826Sralph 
3717826Sralph #ifdef HAYES
3823595Sbloom int hyspopn(), hystopn(), hyscls();
3917826Sralph #endif HAYES
4017826Sralph 
4125966Sbloom #ifdef HAYES2400
4226165Sbloom int hyspopn24(), hystopn24(), hyscls24();
4325966Sbloom #endif HAYES2400
4425966Sbloom 
4517826Sralph #ifdef HAYESQ
4617826Sralph int hysqopn(), hysqcls();  /* a version of hayes that doesn't use ret codes */
4717826Sralph #endif HAYESQ
4817826Sralph 
4917826Sralph #ifdef NOVATION
5017826Sralph int novopn(), novcls();
5117826Sralph #endif NOVATION
5217826Sralph 
5325966Sbloom #ifdef CDS224
5425966Sbloom int cdsopn224(), cdscls224();
5525966Sbloom #endif CDs224
5625966Sbloom 
5717826Sralph #ifdef DF02
5817826Sralph int df2opn(), df2cls();
5917826Sralph #endif DF02
6017826Sralph 
6118619Sralph #ifdef DF112
6218619Sralph int df12popn(), df12topn(), df12cls();
6318619Sralph #endif DF112
6418619Sralph 
6517826Sralph #ifdef PNET
6617826Sralph int pnetopn();
6717826Sralph #endif PNET
6817826Sralph 
6917826Sralph #ifdef VENTEL
7017826Sralph int ventopn(), ventcls();
7117826Sralph #endif VENTEL
7217826Sralph 
7318619Sralph #ifdef PENRIL
7418619Sralph int penopn(), pencls();
7518619Sralph #endif PENRIL
7618619Sralph 
7717826Sralph #ifdef	UNETTCP
7817826Sralph #define TO_ACTIVE	0
7917826Sralph int unetopn(), unetcls();
8017826Sralph #endif UNETTCP
8117826Sralph 
8217826Sralph #ifdef BSDTCP
8317826Sralph int bsdtcpopn(), bsdtcpcls();
8417826Sralph #endif BSDTCP
8517826Sralph 
8617826Sralph #ifdef VADIC
8717826Sralph int vadopn(), vadcls();
8817826Sralph #endif VADIC
8917826Sralph 
9017826Sralph #ifdef VA212
9117826Sralph int va212opn(), va212cls();
9217826Sralph #endif VA212
9317826Sralph 
9417826Sralph #ifdef VA811S
9517826Sralph int va811opn(), va811cls();
9617826Sralph #endif VA811S
9717826Sralph 
9817826Sralph #ifdef VA820
9917826Sralph int va820opn(), va820cls();
10017826Sralph #endif VA820
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();
11217826Sralph #endif MICOM
11317826Sralph 
11417826Sralph #ifdef SYTEK
11517826Sralph int sykopn(), sykcls();
11626151Sbloom #endif SYTEK
11726151Sbloom 
11826151Sbloom #ifdef ATT2224
11926151Sbloom int attopn(), attcls();
12026151Sbloom #endif	ATT2224
12126151Sbloom 
122