diff options
author | Brian Somers <brian@FreeBSD.org> | 1999-02-05 11:23:44 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1999-02-05 11:23:44 +0000 |
commit | 48caee2acde01f188590b7955963f294a746f2d6 (patch) | |
tree | d66dd8d2f2a88a5b466a667973d40b96beb28e2f /lib/libradius/radlib_private.h | |
parent | d7f9b906ed6e6902b9affd5e7029d3f4ce8b8d7d (diff) | |
download | src-48caee2acde01f188590b7955963f294a746f2d6.tar.gz src-48caee2acde01f188590b7955963f294a746f2d6.zip |
Allow an alternate to rad_send_request() for programs that
don't wish to wait for the RADIUS server to respond.
Reviewed by: jdp
Notes
Notes:
svn path=/head/; revision=43662
Diffstat (limited to 'lib/libradius/radlib_private.h')
-rw-r--r-- | lib/libradius/radlib_private.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libradius/radlib_private.h b/lib/libradius/radlib_private.h index ec181f6edc5c..21ef9cb2da35 100644 --- a/lib/libradius/radlib_private.h +++ b/lib/libradius/radlib_private.h @@ -74,10 +74,13 @@ struct rad_handle { char pass[PASSSIZE]; /* Cleartext password */ int pass_len; /* Length of cleartext password */ int pass_pos; /* Position of scrambled password */ - unsigned chap_pass : 1; /* Have we got a CHAP_PASSWORD ? */ + char chap_pass; /* Have we got a CHAP_PASSWORD ? */ unsigned char response[MSGSIZE]; /* Response received */ int resp_len; /* Length of response */ int resp_pos; /* Current position scanning attrs */ + int total_tries; /* How many requests we'll send */ + int try; /* How many requests we've sent */ + int srv; /* Server number we did last */ }; #endif |