xref: /illumos-gate/usr/src/cmd/tip/acutab.c (revision d1855c8182d5cf1cd290336767a7c8e7537c13a2)
1 /*
2  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  */
5 
6 /*
7  * Copyright (c) 1983 Regents of the University of California.
8  * All rights reserved. The Berkeley software License Agreement
9  * specifies the terms and conditions for redistribution.
10  */
11 
12 #include "tip.h"
13 
14 extern int	df02_dialer(char *, char *), df03_dialer(char *, char *);
15 extern int	biz31f_dialer(char *, char *), biz31w_dialer(char *, char *);
16 extern int	biz22f_dialer(char *, char *), biz22w_dialer(char *, char *);
17 extern int	hayes_dialer(char *, char *);
18 extern int	ven_dialer(char *, char *);
19 extern int	v3451_dialer(char *, char *);
20 extern int	v831_dialer(char *, char *);
21 extern int	dn_dialer(char *, char *);
22 extern void	df_disconnect(void), df_abort(void);
23 extern void	biz31_disconnect(void), biz31_abort(void);
24 extern void	biz22_disconnect(void), biz22_abort(void);
25 extern void	hayes_disconnect(void), hayes_abort(void);
26 extern void	ven_disconnect(void), ven_abort(void);
27 extern void	v3451_disconnect(void), v3451_abort(void);
28 extern void	v831_disconnect(void), v831_abort(void);
29 extern void	dn_disconnect(void), dn_abort(void);
30 
31 acu_t acutable[] = {
32 #if BIZ1031
33 	"biz31f", biz31f_dialer, biz31_disconnect,	biz31_abort,
34 	"biz31w", biz31w_dialer, biz31_disconnect,	biz31_abort,
35 #endif
36 #if BIZ1022
37 	"biz22f", biz22f_dialer, biz22_disconnect,	biz22_abort,
38 	"biz22w", biz22w_dialer, biz22_disconnect,	biz22_abort,
39 #endif
40 #if DF02
41 	"df02",	df02_dialer,	df_disconnect,		df_abort,
42 #endif
43 #if DF03
44 	"df03",	df03_dialer,	df_disconnect,		df_abort,
45 #endif
46 #if DN11
47 	"dn11",	dn_dialer,	dn_disconnect,		dn_abort,
48 #endif
49 #ifdef VENTEL
50 	"ventel", ven_dialer,	ven_disconnect,		ven_abort,
51 #endif
52 #ifdef V3451
53 #ifndef V831
54 	"vadic", v3451_dialer,	v3451_disconnect,	v3451_abort,
55 #endif
56 	"v3451", v3451_dialer,	v3451_disconnect,	v3451_abort,
57 #endif
58 #ifdef V831
59 #ifndef V3451
60 	"vadic", v831_dialer,	v831_disconnect,	v831_abort,
61 #endif
62 	"v831", v831_dialer,	v831_disconnect,	v831_abort,
63 #endif
64 #ifdef HAYES
65 	"hayes", hayes_dialer,	hayes_disconnect,	hayes_abort,
66 	"at",	hayes_dialer,	hayes_disconnect,	hayes_abort,
67 #endif
68 	NULL,	NULL,		NULL,			NULL
69 };
70