diff options
author | brian <brian@FreeBSD.org> | 1999-02-05 11:23:44 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-02-05 11:23:44 +0000 |
commit | 54fb95ffd03d6e270fbea366d37296d7b66ea3cf (patch) | |
tree | 74f61741b4b4fc96b77054286d6e47716d0f028a /lib/libradius/radlib_private.h | |
parent | 84b7ab73bf88e89a2d43824a465b48a9f87c91b9 (diff) | |
download | FreeBSD-src-54fb95ffd03d6e270fbea366d37296d7b66ea3cf.zip FreeBSD-src-54fb95ffd03d6e270fbea366d37296d7b66ea3cf.tar.gz |
Allow an alternate to rad_send_request() for programs that
don't wish to wait for the RADIUS server to respond.
Reviewed by: jdp
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 ec181f6..21ef9cb 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 |