Deleted Added
full compact
defs.h (85991) defs.h (93418)
1/*-
2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
4 * Internet Initiative Japan, Inc (IIJ)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
4 * Internet Initiative Japan, Inc (IIJ)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD: head/usr.sbin/ppp/defs.h 85991 2001-11-03 21:45:32Z brian $
28 * $FreeBSD: head/usr.sbin/ppp/defs.h 93418 2002-03-30 12:30:09Z brian $
29 */
30
31/* Check the following definitions for your machine environment */
32#ifdef __FreeBSD__
33# define MODEM_LIST "/dev/cuaa1\0/dev/cuaa0" /* name of tty device */
34#else
35# ifdef __OpenBSD__
36# define MODEM_LIST "/dev/cua01\0/dev/cua00" /* name of tty device */

--- 69 unchanged lines hidden (view full) ---

106#define PHYS_FOREGROUND 64 /* Pseudo mode, same as background */
107#define PHYS_ALL 127
108
109/* flags passed to findblank() and MakeArgs() */
110#define PARSE_NORMAL 0
111#define PARSE_REDUCE 1
112#define PARSE_NOHASH 2
113
29 */
30
31/* Check the following definitions for your machine environment */
32#ifdef __FreeBSD__
33# define MODEM_LIST "/dev/cuaa1\0/dev/cuaa0" /* name of tty device */
34#else
35# ifdef __OpenBSD__
36# define MODEM_LIST "/dev/cua01\0/dev/cua00" /* name of tty device */

--- 69 unchanged lines hidden (view full) ---

106#define PHYS_FOREGROUND 64 /* Pseudo mode, same as background */
107#define PHYS_ALL 127
108
109/* flags passed to findblank() and MakeArgs() */
110#define PARSE_NORMAL 0
111#define PARSE_REDUCE 1
112#define PARSE_NOHASH 2
113
114/* flags passed to loadmodules */
115#define LOAD_QUIETLY 1
116#define LOAD_VERBOSLY 2
117
114#define ROUNDUP(x) ((x) ? (1 + (((x) - 1) | (sizeof(long) - 1))) : sizeof(long))
115
116#if defined(__NetBSD__) || __FreeBSD__ < 3
117extern void randinit(void);
118#else
119#define random arc4random
120#define randinit()
121#endif

--- 8 unchanged lines hidden (view full) ---

130extern int MakeArgs(char *, char **, int, int);
131extern const char *NumStr(long, char *, size_t);
132extern const char *HexStr(long, char *, size_t);
133extern const char *ex_desc(int);
134extern void SetTitle(const char *);
135extern fd_set *mkfdset(void);
136extern void zerofdset(fd_set *);
137extern void Concatinate(char *, size_t, int, const char *const *);
118#define ROUNDUP(x) ((x) ? (1 + (((x) - 1) | (sizeof(long) - 1))) : sizeof(long))
119
120#if defined(__NetBSD__) || __FreeBSD__ < 3
121extern void randinit(void);
122#else
123#define random arc4random
124#define randinit()
125#endif

--- 8 unchanged lines hidden (view full) ---

134extern int MakeArgs(char *, char **, int, int);
135extern const char *NumStr(long, char *, size_t);
136extern const char *HexStr(long, char *, size_t);
137extern const char *ex_desc(int);
138extern void SetTitle(const char *);
139extern fd_set *mkfdset(void);
140extern void zerofdset(fd_set *);
141extern void Concatinate(char *, size_t, int, const char *const *);
142extern void loadmodules(int, const char *, ...);