Deleted Added
full compact
radius.h (132273) radius.h (140905)
1/*
2 * Copyright 1999 Internet Business Solutions Ltd., Switzerland
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 1999 Internet Business Solutions Ltd., Switzerland
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 * $FreeBSD: head/usr.sbin/ppp/radius.h 132273 2004-07-17 01:07:53Z brian $
26 * $FreeBSD: head/usr.sbin/ppp/radius.h 140905 2005-01-27 14:09:33Z brian $
27 */
28
29#define MPPE_POLICY_ALLOWED 1
30#define MPPE_POLICY_REQUIRED 2
31
32#define MPPE_TYPE_40BIT 2
33#define MPPE_TYPE_128BIT 4
34

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

92 } peer;
93};
94
95#define descriptor2radius(d) \
96 ((d)->type == RADIUS_DESCRIPTOR ? (struct radius *)(d) : NULL)
97
98struct bundle;
99
27 */
28
29#define MPPE_POLICY_ALLOWED 1
30#define MPPE_POLICY_REQUIRED 2
31
32#define MPPE_TYPE_40BIT 2
33#define MPPE_TYPE_128BIT 4
34

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

92 } peer;
93};
94
95#define descriptor2radius(d) \
96 ((d)->type == RADIUS_DESCRIPTOR ? (struct radius *)(d) : NULL)
97
98struct bundle;
99
100extern void radius_Flush(struct radius *);
100extern void radius_Init(struct radius *);
101extern void radius_Destroy(struct radius *);
102
103extern void radius_Show(struct radius *, struct prompt *);
104extern void radius_StartTimer(struct bundle *);
105extern void radius_StopTimer(struct radius *);
106extern int radius_Authenticate(struct radius *, struct authinfo *,
107 const char *, const char *, int,

--- 19 unchanged lines hidden ---
101extern void radius_Init(struct radius *);
102extern void radius_Destroy(struct radius *);
103
104extern void radius_Show(struct radius *, struct prompt *);
105extern void radius_StartTimer(struct bundle *);
106extern void radius_StopTimer(struct radius *);
107extern int radius_Authenticate(struct radius *, struct authinfo *,
108 const char *, const char *, int,

--- 19 unchanged lines hidden ---