acu.c (88276) | acu.c (92922) |
---|---|
1/* $OpenBSD: acu.c,v 1.7 2001/10/24 18:38:58 millert Exp $ */ 2/* $NetBSD: acu.c,v 1.4 1996/12/29 10:34:03 cgd Exp $ */ 3 4/* 5 * Copyright (c) 1983, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 37#include <sys/cdefs.h> | 1/* $OpenBSD: acu.c,v 1.7 2001/10/24 18:38:58 millert Exp $ */ 2/* $NetBSD: acu.c,v 1.4 1996/12/29 10:34:03 cgd Exp $ */ 3 4/* 5 * Copyright (c) 1983, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/usr.bin/tip/tip/acu.c 88276 2001-12-20 14:25:46Z markm $"); | 38__FBSDID("$FreeBSD: head/usr.bin/tip/tip/acu.c 92922 2002-03-22 01:42:45Z imp $"); |
39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)acu.c 8.1 (Berkeley) 6/6/93"; 43static char rcsid[] = "$OpenBSD: acu.c,v 1.7 2001/10/24 18:38:58 millert Exp $"; 44#endif 45#endif /* not lint */ 46 47#include "tip.h" 48 49static acu_t *acu = NOACU; 50static int conflag; | 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)acu.c 8.1 (Berkeley) 6/6/93"; 43static char rcsid[] = "$OpenBSD: acu.c,v 1.7 2001/10/24 18:38:58 millert Exp $"; 44#endif 45#endif /* not lint */ 46 47#include "tip.h" 48 49static acu_t *acu = NOACU; 50static int conflag; |
51static void acuabort __P((int)); 52static acu_t *acutype __P((char *)); | 51static void acuabort(int); 52static acu_t *acutype(char *); |
53static jmp_buf jmpbuf; 54/* 55 * Establish connection for tip 56 * 57 * If DU is true, we should dial an ACU whose type is AT. 58 * The phone numbers are in PN, and the call unit is in CU. 59 * 60 * If the PN is an '@', then we consult the PHONES file for --- 142 unchanged lines hidden --- | 53static jmp_buf jmpbuf; 54/* 55 * Establish connection for tip 56 * 57 * If DU is true, we should dial an ACU whose type is AT. 58 * The phone numbers are in PN, and the call unit is in CU. 59 * 60 * If the PN is an '@', then we consult the PHONES file for --- 142 unchanged lines hidden --- |