Deleted Added
full compact
radlib_private.h (43400) radlib_private.h (43662)
1/*-
2 * Copyright 1998 Juniper Networks, Inc.
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 1998 Juniper Networks, Inc.
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/lib/libradius/radlib_private.h 43400 1999-01-29 22:44:47Z brian $
26 * $FreeBSD: head/lib/libradius/radlib_private.h 43662 1999-02-05 11:23:44Z brian $
27 */
28
29#ifndef RADLIB_PRIVATE_H
30#define RADLIB_PRIVATE_H
31
32#include <sys/types.h>
33#include <netinet/in.h>
34

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

69 int num_servers; /* Number of valid server entries */
70 int ident; /* Current identifier value */
71 char errmsg[ERRSIZE]; /* Most recent error message */
72 unsigned char request[MSGSIZE]; /* Request to send */
73 int req_len; /* Length of request */
74 char pass[PASSSIZE]; /* Cleartext password */
75 int pass_len; /* Length of cleartext password */
76 int pass_pos; /* Position of scrambled password */
27 */
28
29#ifndef RADLIB_PRIVATE_H
30#define RADLIB_PRIVATE_H
31
32#include <sys/types.h>
33#include <netinet/in.h>
34

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

69 int num_servers; /* Number of valid server entries */
70 int ident; /* Current identifier value */
71 char errmsg[ERRSIZE]; /* Most recent error message */
72 unsigned char request[MSGSIZE]; /* Request to send */
73 int req_len; /* Length of request */
74 char pass[PASSSIZE]; /* Cleartext password */
75 int pass_len; /* Length of cleartext password */
76 int pass_pos; /* Position of scrambled password */
77 unsigned chap_pass : 1; /* Have we got a CHAP_PASSWORD ? */
77 char chap_pass; /* Have we got a CHAP_PASSWORD ? */
78 unsigned char response[MSGSIZE]; /* Response received */
79 int resp_len; /* Length of response */
80 int resp_pos; /* Current position scanning attrs */
78 unsigned char response[MSGSIZE]; /* Response received */
79 int resp_len; /* Length of response */
80 int resp_pos; /* Current position scanning attrs */
81 int total_tries; /* How many requests we'll send */
82 int try; /* How many requests we've sent */
83 int srv; /* Server number we did last */
81};
82
83#endif
84};
85
86#endif