xref: /illumos-gate/usr/src/cmd/tip/acutab.c (revision d73ae94e59c019f5cc3221ee0a0012d02091b40e)
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 #pragma ident	"%Z%%M%	%I%	%E% SMI"
13 
14 #include "tip.h"
15 
16 extern int	df02_dialer(char *, char *), df03_dialer(char *, char *);
17 extern int	biz31f_dialer(char *, char *), biz31w_dialer(char *, char *);
18 extern int	biz22f_dialer(char *, char *), biz22w_dialer(char *, char *);
19 extern int	hayes_dialer(char *, char *);
20 extern int	ven_dialer(char *, char *);
21 extern int	v3451_dialer(char *, char *);
22 extern int	v831_dialer(char *, char *);
23 extern int	dn_dialer(char *, char *);
24 extern void	df_disconnect(void), df_abort(void);
25 extern void	biz31_disconnect(void), biz31_abort(void);
26 extern void	biz22_disconnect(void), biz22_abort(void);
27 extern void	hayes_disconnect(void), hayes_abort(void);
28 extern void	ven_disconnect(void), ven_abort(void);
29 extern void	v3451_disconnect(void), v3451_abort(void);
30 extern void	v831_disconnect(void), v831_abort(void);
31 extern void	dn_disconnect(void), dn_abort(void);
32 
33 acu_t acutable[] = {
34 #if BIZ1031
35 	"biz31f", biz31f_dialer, biz31_disconnect,	biz31_abort,
36 	"biz31w", biz31w_dialer, biz31_disconnect,	biz31_abort,
37 #endif
38 #if BIZ1022
39 	"biz22f", biz22f_dialer, biz22_disconnect,	biz22_abort,
40 	"biz22w", biz22w_dialer, biz22_disconnect,	biz22_abort,
41 #endif
42 #if DF02
43 	"df02",	df02_dialer,	df_disconnect,		df_abort,
44 #endif
45 #if DF03
46 	"df03",	df03_dialer,	df_disconnect,		df_abort,
47 #endif
48 #if DN11
49 	"dn11",	dn_dialer,	dn_disconnect,		dn_abort,
50 #endif
51 #ifdef VENTEL
52 	"ventel", ven_dialer,	ven_disconnect,		ven_abort,
53 #endif
54 #ifdef V3451
55 #ifndef V831
56 	"vadic", v3451_dialer,	v3451_disconnect,	v3451_abort,
57 #endif
58 	"v3451", v3451_dialer,	v3451_disconnect,	v3451_abort,
59 #endif
60 #ifdef V831
61 #ifndef V3451
62 	"vadic", v831_dialer,	v831_disconnect,	v831_abort,
63 #endif
64 	"v831", v831_dialer,	v831_disconnect,	v831_abort,
65 #endif
66 #ifdef HAYES
67 	"hayes", hayes_dialer,	hayes_disconnect,	hayes_abort,
68 	"at",	hayes_dialer,	hayes_disconnect,	hayes_abort,
69 #endif
70 	0,	0,		0,			0
71 };
72