* Columbus, OH 43221
* (614)451-1883
*
- *
*/
+#ifndef __STDC__
+#define const
+#endif
+
#ifndef lint
-static const char rcsid[] = "$Id: chat.c,v 1.23 1999/08/13 01:54:32 paulus Exp $";
+static const char rcsid[] = "$Id: chat.c,v 1.24 1999/08/13 06:46:09 paulus Exp $";
#endif
#include <stdio.h>
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: auth.c,v 1.56 1999/08/12 04:11:20 paulus Exp $";
-#endif
+#define RCSID "$Id: auth.c,v 1.57 1999/08/13 06:46:10 paulus Exp $"
#include <stdio.h>
#include <stddef.h>
#endif
#include "pathnames.h"
+static const char rcsid[] = RCSID;
+
/* Bits in scan_authfile return value */
#define NONWILD_SERVER 1
#define NONWILD_CLIENT 2
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: cbcp.c,v 1.9 1999/08/12 04:25:19 paulus Exp $";
-#endif
+#define RCSID "$Id: cbcp.c,v 1.10 1999/08/13 06:46:10 paulus Exp $"
#include <stdio.h>
#include <string.h>
#include "fsm.h"
#include "lcp.h"
+static const char rcsid[] = RCSID;
+
/*
* Options.
*/
* OR MODIFICATIONS.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: ccp.c,v 1.28 1999/08/12 04:25:19 paulus Exp $";
-#endif
+#define RCSID "$Id: ccp.c,v 1.29 1999/08/13 06:46:11 paulus Exp $"
#include <stdlib.h>
#include <string.h>
#include "ccp.h"
#include <net/ppp-comp.h>
+static const char rcsid[] = RCSID;
+
/*
* Command-line options.
*/
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: chap.c,v 1.22 1999/08/12 04:25:20 paulus Exp $";
-#endif
+#define RCSID "$Id: chap.c,v 1.23 1999/08/13 06:46:11 paulus Exp $"
/*
* TODO:
#include "chap_ms.h"
#endif
+static const char rcsid[] = RCSID;
+
/*
* Command-line options.
*/
* You should also use DOMAIN\\USERNAME as described in README.MSCHAP80
*/
-#ifndef lint
-static const char rcsid[] = "$Id: chap_ms.c,v 1.14 1999/08/12 04:25:20 paulus Exp $";
-#endif
+#define RCSID "$Id: chap_ms.c,v 1.15 1999/08/13 06:46:12 paulus Exp $"
#ifdef CHAPMS
#include <des.h>
#endif
+static const char rcsid[] = RCSID;
+
typedef struct {
u_char LANManResp[24];
u_char NTResp[24];
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: demand.c,v 1.11 1999/08/12 04:25:20 paulus Exp $";
-#endif
+#define RCSID "$Id: demand.c,v 1.12 1999/08/13 06:46:12 paulus Exp $";
#include <stdio.h>
#include <stdlib.h>
#include "ipcp.h"
#include "lcp.h"
+static const char rcsid[] = RCSID;
+
char *frame;
int framelen;
int framemax;
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: eui64.c,v 1.1 1999/08/13 01:58:42 paulus Exp $
+ * $Id: eui64.c,v 1.2 1999/08/13 06:46:12 paulus Exp $
*/
-#ifndef lint
-static char rcsid[] = "$Id: eui64.c,v 1.1 1999/08/13 01:58:42 paulus Exp $";
-#endif
+
+#define RCSID "$Id: eui64.c,v 1.2 1999/08/13 06:46:12 paulus Exp $"
#include "pppd.h"
+static const char rcsid[] = RCSID;
+
/*
* eui64_ntoa - Make an ascii representation of an interface identifier
*/
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: fsm.c,v 1.16 1999/08/12 04:25:20 paulus Exp $";
-#endif
+#define RCSID "$Id: fsm.c,v 1.17 1999/08/13 06:46:12 paulus Exp $"
/*
* TODO:
#include "pppd.h"
#include "fsm.h"
+static const char rcsid[] = RCSID;
+
static void fsm_timeout __P((void *));
static void fsm_rconfreq __P((fsm *, int, u_char *, int));
static void fsm_rconfack __P((fsm *, int, u_char *, int));
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: ipcp.c,v 1.48 1999/08/12 04:25:20 paulus Exp $";
-#endif
+#define RCSID "$Id: ipcp.c,v 1.49 1999/08/13 06:46:12 paulus Exp $"
/*
* TODO:
#include "ipcp.h"
#include "pathnames.h"
+static const char rcsid[] = RCSID;
+
/* global vars */
ipcp_options ipcp_wantoptions[NUM_PPP]; /* Options that we want to request */
ipcp_options ipcp_gotoptions[NUM_PPP]; /* Options that peer ack'd */
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ipv6cp.c,v 1.1 1999/08/13 01:58:43 paulus Exp $
+ * $Id: ipv6cp.c,v 1.2 1999/08/13 06:46:13 paulus Exp $
*
*
* Original version by Inria (www.inria.fr)
* Modified to match RFC2472 by Tommi Komulainen <Tommi.Komulainen@iki.fi>
*/
-#ifndef lint
-static char rcsid[]="$Id: ipv6cp.c,v 1.1 1999/08/13 01:58:43 paulus Exp $";
-#endif
+#define RCSID "$Id: ipv6cp.c,v 1.2 1999/08/13 06:46:13 paulus Exp $"
/*
* TODO:
#include "magic.h"
#include "pathnames.h"
+static const char rcsid[] = RCSID;
+
/* global vars */
ipv6cp_options ipv6cp_wantoptions[NUM_PPP]; /* Options that we want to request */
ipv6cp_options ipv6cp_gotoptions[NUM_PPP]; /* Options that peer ack'd */
*/
#ifdef IPX_CHANGE
-#ifndef lint
-static const char rcsid[] = "$Id: ipxcp.c,v 1.16 1999/08/12 04:25:21 paulus Exp $";
-#endif
+
+#define RCSID "$Id: ipxcp.c,v 1.17 1999/08/13 06:46:14 paulus Exp $"
/*
* TODO:
#include "pathnames.h"
#include "magic.h"
+static const char rcsid[] = RCSID;
+
/* global vars */
ipxcp_options ipxcp_wantoptions[NUM_PPP]; /* Options that we want to request */
ipxcp_options ipxcp_gotoptions[NUM_PPP]; /* Options that peer ack'd */
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: lcp.c,v 1.43 1999/08/12 04:25:21 paulus Exp $";
-#endif
+#define RCSID "$Id: lcp.c,v 1.44 1999/08/13 06:46:14 paulus Exp $";
/*
* TODO:
#include "chap.h"
#include "magic.h"
+static const char rcsid[] = RCSID;
+
/*
* LCP-related command-line options.
*/
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: magic.c,v 1.8 1999/08/12 04:25:22 paulus Exp $";
-#endif
+#define RCSID "$Id: magic.c,v 1.9 1999/08/13 06:46:15 paulus Exp $"
#include <stdio.h>
#include <unistd.h>
#include "pppd.h"
#include "magic.h"
+static const char rcsid[] = RCSID;
+
extern long mrand48 __P((void));
extern void srand48 __P((long));
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: main.c,v 1.82 1999/08/13 01:57:35 paulus Exp $";
-#endif
+#define RCSID "$Id: main.c,v 1.83 1999/08/13 06:46:15 paulus Exp $"
#include <stdio.h>
#include <ctype.h>
#include "atcp.h"
#endif
+static const char rcsid[] = RCSID;
+
/* interface vars */
char ifname[32]; /* Interface name */
int ifunit; /* Interface unit number */
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: options.c,v 1.63 1999/08/13 01:57:36 paulus Exp $";
-#endif
+#define RCSID "$Id: options.c,v 1.64 1999/08/13 06:46:16 paulus Exp $"
#include <ctype.h>
#include <stdio.h>
char *strdup __P((char *));
#endif
+static const char rcsid[] = RCSID;
+
/*
* Option variables and default values.
*/
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: sys-NeXT.c,v 1.19 1999/08/12 04:25:22 paulus Exp $";
-#endif
+#define RCSID "$Id: sys-NeXT.c,v 1.20 1999/08/13 06:46:17 paulus Exp $"
#include <stdio.h>
#include <termios.h>
#include "pppd.h"
+static const char rcsid[] = RCSID;
+
static int initdisc = -1; /* Initial TTY discipline */
static int initfdflags = -1; /* Initial file descriptor flags for fd */
static int ppp_fd = -1; /* fd which is set to PPP discipline */
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: sys-aix4.c,v 1.21 1999/08/12 04:25:22 paulus Exp $";
-#endif
+#define RCSID "$Id: sys-aix4.c,v 1.22 1999/08/13 06:46:17 paulus Exp $"
/*
* TODO:
#include "pppd.h"
+static const char rcsid[] = RCSID;
+
#ifndef ifr_mtu
#define ifr_mtu ifr_metric
#endif
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: sys-bsd.c,v 1.45 1999/08/12 04:25:23 paulus Exp $";
+#define RCSID "$Id: sys-bsd.c,v 1.46 1999/08/13 06:46:18 paulus Exp $"
/* $NetBSD: sys-bsd.c,v 1.1.1.3 1997/09/26 18:53:04 christos Exp $ */
#endif
#include "fsm.h"
#include "ipcp.h"
+static const char rcsid[] = RCSID;
+
static int initdisc = -1; /* Initial TTY discipline for ppp_fd */
static int initfdflags = -1; /* Initial file descriptor flags for ppp_fd */
static int ppp_fd = -1; /* fd which is set to PPP discipline */
* OR MODIFICATIONS.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: sys-osf.c,v 1.29 1999/08/12 04:25:24 paulus Exp $";
-#endif
+#define RCSID "$Id: sys-osf.c,v 1.30 1999/08/13 06:46:18 paulus Exp $"
#include <stdio.h>
#include <stddef.h>
#include "pppd.h"
+static const char rcsid[] = RCSID;
+
static int pppfd;
static int fdmuxid = -1;
static int iffd;
* OR MODIFICATIONS.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: sys-sunos4.c,v 1.23 1999/08/12 04:25:24 paulus Exp $";
-#endif
+#define RCSID "$Id: sys-sunos4.c,v 1.24 1999/08/13 06:46:19 paulus Exp $"
#include <stdio.h>
#include <stddef.h>
#endif
#endif /*sparc*/
+static const char rcsid[] = RCSID;
+
static int pppfd;
static int fdmuxid = -1;
static int iffd;
* OR MODIFICATIONS.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: sys-svr4.c,v 1.32 1999/08/12 04:24:52 paulus Exp $";
-#endif
+#define RCSID "$Id: sys-svr4.c,v 1.33 1999/08/13 06:46:20 paulus Exp $"
#include <limits.h>
#include <stdio.h>
#include "pppd.h"
+static const char rcsid[] = RCSID;
+
static int pppfd;
static int fdmuxid = -1;
static int ipfd;
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: sys-ultrix.c,v 1.32 1999/08/12 04:25:24 paulus Exp $";
-#endif
+#define RCSID "$Id: sys-ultrix.c,v 1.33 1999/08/13 06:46:20 paulus Exp $"
/*
* TODO:
#include "pppd.h"
+static const char rcsid[] = RCSID;
+
static int initdisc = -1; /* Initial TTY discipline for ppp_fd */
static int initfdflags = -1; /* Initial file descriptor flags for ppp_fd */
static int ppp_fd = -1; /* fd which is set to PPP discipline */
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: upap.c,v 1.18 1999/08/12 04:25:25 paulus Exp $";
-#endif
+#define RCSID "$Id: upap.c,v 1.19 1999/08/13 06:46:21 paulus Exp $"
/*
* TODO:
#include "pppd.h"
#include "upap.h"
+static const char rcsid[] = RCSID;
+
static bool hide_password;
/*
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] = "$Id: utils.c,v 1.7 1999/08/12 04:25:25 paulus Exp $";
-#endif
+
+#define RCSID "$Id: utils.c,v 1.8 1999/08/13 06:46:22 paulus Exp $"
#include <stdio.h>
#include <ctype.h>
#include "pppd.h"
+static const char rcsid[] = RCSID;
+
#if defined(SUNOS4)
extern char *strerror();
#endif
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+#ifndef __STDC__
+#define const
+#endif
+
#ifndef lint
-static const char rcsid[] = "$Id: pppstats.c,v 1.26 1999/08/12 04:25:57 paulus Exp $";
+static const char rcsid[] = "$Id: pppstats.c,v 1.27 1999/08/13 06:46:23 paulus Exp $";
#endif
#include <stdio.h>