courier.c (92922) | courier.c (113163) |
---|---|
1/* $OpenBSD: courier.c,v 1.9 2001/10/24 18:38:58 millert Exp $ */ 2/* $NetBSD: courier.c,v 1.7 1997/02/11 09:24:16 mrg Exp $ */ 3 4/* 5 * Copyright (c) 1986, 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: courier.c,v 1.9 2001/10/24 18:38:58 millert Exp $ */ 2/* $NetBSD: courier.c,v 1.7 1997/02/11 09:24:16 mrg Exp $ */ 3 4/* 5 * Copyright (c) 1986, 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/libacu/courier.c 92922 2002-03-22 01:42:45Z imp $"); | 38__FBSDID("$FreeBSD: head/usr.bin/tip/libacu/courier.c 113163 2003-04-06 08:30:25Z imp $"); |
39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)courier.c 8.1 (Berkeley) 6/6/93"; 43static char rcsid[] = "$OpenBSD: courier.c,v 1.9 2001/10/24 18:38:58 millert Exp $"; 44#endif 45#endif /* not lint */ 46 --- 8 unchanged lines hidden (view full) --- 55#define MAXRETRY 5 56 57static void sigALRM(); 58static int timeout = 0; 59static int connected = 0; 60static jmp_buf timeoutbuf, intbuf; 61static int coursync(), cour_connect(), cour_swallow(); 62void cour_nap(); | 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)courier.c 8.1 (Berkeley) 6/6/93"; 43static char rcsid[] = "$OpenBSD: courier.c,v 1.9 2001/10/24 18:38:58 millert Exp $"; 44#endif 45#endif /* not lint */ 46 --- 8 unchanged lines hidden (view full) --- 55#define MAXRETRY 5 56 57static void sigALRM(); 58static int timeout = 0; 59static int connected = 0; 60static jmp_buf timeoutbuf, intbuf; 61static int coursync(), cour_connect(), cour_swallow(); 62void cour_nap(); |
63static void cour_write(int fd, char *cp, int n); |
|
63 64void cour_disconnect(void); 65 66int 67cour_dialer(num, acu) 68 char *num; 69 char *acu; 70{ --- 287 unchanged lines hidden --- | 64 65void cour_disconnect(void); 66 67int 68cour_dialer(num, acu) 69 char *num; 70 char *acu; 71{ --- 287 unchanged lines hidden --- |