1 /*-
2  * Copyright (c) 1985, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.proprietary.c%
6  *
7  *	@(#)condevs.h	8.1 (Berkeley) 06/06/93
8  */
9 
10 #include "uucp.h"
11 #include <errno.h>
12 #include <setjmp.h>
13 #include <signal.h>
14 #include <sgtty.h>
15 #ifdef VMSDTR	/* Modem control on vms(works dtr) */
16 #include <eunice/eunice.h>
17 #define TT$M_MODEM	0x00200000 /* These should be in a '.h' somewhere */
18 #define SS$_NORMAL	0x00000001
19 #define IO$_SETMODE	0x00000023
20 #define IO$_SENSEMODE	0x00000027
21 #endif
22 
23 extern char devSel[];	/* name to pass to delock() in close */
24 extern int errno, next_fd;
25 extern jmp_buf Sjbuf;
26 extern void alarmtr();
27 int nulldev(), nodev(), Acuopn(), diropn(), dircls();
28 
29 #ifdef DATAKIT
30 int dkopn();
31 #endif
32 
33 #ifdef DN11
34 int dnopn(), dncls();
35 #endif
36 
37 #ifdef HAYES
38 int hyspopn(), hystopn(), hyscls();
39 #endif
40 
41 #ifdef HAYES2400
42 int hyspopn24(), hystopn24(), hyscls24();
43 #endif
44 
45 #ifdef HAYESQ
46 int hysqopn(), hysqcls();  /* a version of hayes that doesn't use ret codes */
47 #endif
48 
49 #ifdef NOVATION
50 int novopn(), novcls();
51 #endif
52 
53 #ifdef CDS224
54 int cdsopn224(), cdscls224();
55 #endif
56 
57 #ifdef DF02
58 int df2opn(), df2cls();
59 #endif
60 
61 #ifdef DF112
62 int df12popn(), df12topn(), df12cls();
63 #endif
64 
65 #ifdef PNET
66 int pnetopn();
67 #endif
68 
69 #ifdef VENTEL
70 int ventopn(), ventcls();
71 #endif
72 
73 #ifdef PENRIL
74 int penopn(), pencls();
75 #endif
76 
77 #ifdef	UNETTCP
78 #define TO_ACTIVE	0
79 int unetopn(), unetcls();
80 #endif
81 
82 #ifdef BSDTCP
83 int bsdtcpopn(), bsdtcpcls();
84 #endif
85 
86 #ifdef VADIC
87 int vadopn(), vadcls();
88 #endif
89 
90 #ifdef VA212
91 int va212opn(), va212cls();
92 #endif
93 
94 #ifdef VA811S
95 int va811opn(), va811cls();
96 #endif
97 
98 #ifdef VA820
99 int va820opn(), va820cls();
100 #endif
101 
102 #ifdef	RVMACS
103 int rvmacsopn(), rvmacscls();
104 #endif
105 
106 #ifdef	VMACS
107 int vmacsopn(), vmacscls();
108 #endif
109 
110 #ifdef MICOM
111 int micopn(), miccls();
112 #endif
113 
114 #ifdef SYTEK
115 int sykopn(), sykcls();
116 #endif
117 
118 #ifdef ATT2224
119 int attopn(), attcls();
120 #endif
121