xref: /netbsd-src/usr.bin/tip/acutab.c (revision 1f2744e6e4915c9da2a3f980279398c4cf7d5e6d)
1 /*	$NetBSD: acutab.c,v 1.3 1994/12/08 09:30:41 jtc Exp $	*/
2 
3 /*
4  * Copyright (c) 1983, 1993
5  *	The Regents of the University of California.  All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  * 1. Redistributions of source code must retain the above copyright
11  *    notice, this list of conditions and the following disclaimer.
12  * 2. Redistributions in binary form must reproduce the above copyright
13  *    notice, this list of conditions and the following disclaimer in the
14  *    documentation and/or other materials provided with the distribution.
15  * 3. All advertising materials mentioning features or use of this software
16  *    must display the following acknowledgement:
17  *	This product includes software developed by the University of
18  *	California, Berkeley and its contributors.
19  * 4. Neither the name of the University nor the names of its contributors
20  *    may be used to endorse or promote products derived from this software
21  *    without specific prior written permission.
22  *
23  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33  * SUCH DAMAGE.
34  */
35 
36 #ifndef lint
37 #if 0
38 static char sccsid[] = "@(#)acutab.c	8.1 (Berkeley) 6/6/93";
39 #endif
40 static char rcsid[] = "$NetBSD: acutab.c,v 1.3 1994/12/08 09:30:41 jtc Exp $";
41 #endif /* not lint */
42 
43 #include "tip.h"
44 
45 extern int df02_dialer(), df03_dialer(), df_disconnect(), df_abort(),
46 	   biz31f_dialer(), biz31_disconnect(), biz31_abort(),
47 	   biz31w_dialer(),
48 	   biz22f_dialer(), biz22_disconnect(), biz22_abort(),
49 	   biz22w_dialer(),
50 	   ven_dialer(), ven_disconnect(), ven_abort(),
51 	   hay_dialer(), hay_disconnect(), hay_abort(),
52 	   cour_dialer(), cour_disconnect(), cour_abort(),
53 	   t3000_dialer(), t3000_disconnect(), t3000_abort(),
54 	   v3451_dialer(), v3451_disconnect(), v3451_abort(),
55 	   v831_dialer(), v831_disconnect(), v831_abort(),
56 	   dn_dialer(), dn_disconnect(), dn_abort();
57 
58 acu_t acutable[] = {
59 #if BIZ1031
60 	"biz31f", biz31f_dialer, biz31_disconnect,	biz31_abort,
61 	"biz31w", biz31w_dialer, biz31_disconnect,	biz31_abort,
62 #endif
63 #if BIZ1022
64 	"biz22f", biz22f_dialer, biz22_disconnect,	biz22_abort,
65 	"biz22w", biz22w_dialer, biz22_disconnect,	biz22_abort,
66 #endif
67 #if DF02
68 	"df02",	df02_dialer,	df_disconnect,		df_abort,
69 #endif
70 #if DF03
71 	"df03",	df03_dialer,	df_disconnect,		df_abort,
72 #endif
73 #if DN11
74 	"dn11",	dn_dialer,	dn_disconnect,		dn_abort,
75 #endif
76 #ifdef VENTEL
77 	"ventel",ven_dialer,	ven_disconnect,		ven_abort,
78 #endif
79 #ifdef HAYES
80 	"hayes",hay_dialer,	hay_disconnect,		hay_abort,
81 #endif
82 #ifdef COURIER
83 	"courier",cour_dialer,	cour_disconnect,	cour_abort,
84 #endif
85 #ifdef T3000
86 	"t3000",t3000_dialer,	t3000_disconnect,	t3000_abort,
87 #endif
88 #ifdef V3451
89 #ifndef V831
90 	"vadic",v3451_dialer,	v3451_disconnect,	v3451_abort,
91 #endif
92 	"v3451",v3451_dialer,	v3451_disconnect,	v3451_abort,
93 #endif
94 #ifdef V831
95 #ifndef V3451
96 	"vadic",v831_dialer,	v831_disconnect,	v831_abort,
97 #endif
98 	"v831",v831_dialer,	v831_disconnect,	v831_abort,
99 #endif
100 	0,	0,		0,			0
101 };
102 
103