chat.c (ca618bcfc97d301955253809788bdd8cf1053052) | chat.c (972a1bcf5db5ee4c5520a1d29d3c81e81bdec84f) |
---|---|
1/*- 2 * Copyright (c) 1998 Brian Somers <brian@Awfulhak.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1998 Brian Somers <brian@Awfulhak.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $Id: chat.c,v 1.51 1998/08/07 18:42:47 brian Exp $ | 26 * $Id: chat.c,v 1.52 1998/10/27 22:53:25 brian Exp $ |
27 */ 28 | 27 */ 28 |
29#include <sys/types.h> | 29#include <sys/param.h> |
30#include <netinet/in.h> 31#include <netinet/in_systm.h> 32#include <netinet/ip.h> 33#include <sys/un.h> 34 35#include <errno.h> 36#include <fcntl.h> 37#include <paths.h> --- 23 unchanged lines hidden (view full) --- 61#include "auth.h" 62#include "chap.h" 63#include "slcompress.h" 64#include "iplist.h" 65#include "ipcp.h" 66#include "filter.h" 67#include "cbcp.h" 68#include "datalink.h" | 30#include <netinet/in.h> 31#include <netinet/in_systm.h> 32#include <netinet/ip.h> 33#include <sys/un.h> 34 35#include <errno.h> 36#include <fcntl.h> 37#include <paths.h> --- 23 unchanged lines hidden (view full) --- 61#include "auth.h" 62#include "chap.h" 63#include "slcompress.h" 64#include "iplist.h" 65#include "ipcp.h" 66#include "filter.h" 67#include "cbcp.h" 68#include "datalink.h" |
69#ifndef NORADIUS 70#include "radius.h" 71#endif |
|
69#include "bundle.h" 70 71#define BUFLEFT(c) (sizeof (c)->buf - ((c)->bufend - (c)->buf)) 72#define issep(c) ((c) == '\t' || (c) == ' ') 73 74static void ExecStr(struct physical *, char *, char *, int); 75static char *ExpandString(struct chat *, const char *, char *, int, int); 76 --- 722 unchanged lines hidden --- | 72#include "bundle.h" 73 74#define BUFLEFT(c) (sizeof (c)->buf - ((c)->bufend - (c)->buf)) 75#define issep(c) ((c) == '\t' || (c) == ' ') 76 77static void ExecStr(struct physical *, char *, char *, int); 78static char *ExpandString(struct chat *, const char *, char *, int, int); 79 --- 722 unchanged lines hidden --- |