From 48caee2acde01f188590b7955963f294a746f2d6 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Fri, 5 Feb 1999 11:23:44 +0000 Subject: Allow an alternate to rad_send_request() for programs that don't wish to wait for the RADIUS server to respond. Reviewed by: jdp --- lib/libradius/radlib_private.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/libradius/radlib_private.h') 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 -- cgit v1.2.3