aboutsummaryrefslogtreecommitdiff
path: root/lib/libradius/radlib.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-02-05 11:23:44 +0000
committerBrian Somers <brian@FreeBSD.org>1999-02-05 11:23:44 +0000
commit48caee2acde01f188590b7955963f294a746f2d6 (patch)
treed66dd8d2f2a88a5b466a667973d40b96beb28e2f /lib/libradius/radlib.h
parentd7f9b906ed6e6902b9affd5e7029d3f4ce8b8d7d (diff)
downloadsrc-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.h')
-rw-r--r--lib/libradius/radlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libradius/radlib.h b/lib/libradius/radlib.h
index 146bcd51b29a..5e0ce9f01ac1 100644
--- a/lib/libradius/radlib.h
+++ b/lib/libradius/radlib.h
@@ -99,18 +99,23 @@
#define RAD_LOGIN_LAT_PORT 63 /* Integer */
struct rad_handle;
+struct timeval;
__BEGIN_DECLS
int rad_add_server(struct rad_handle *,
const char *, int, const char *, int, int);
void rad_close(struct rad_handle *);
int rad_config(struct rad_handle *, const char *);
+int rad_continue_send_request(struct rad_handle *, int,
+ int *, struct timeval *);
int rad_create_request(struct rad_handle *, int);
struct in_addr rad_cvt_addr(const void *);
u_int32_t rad_cvt_int(const void *);
char *rad_cvt_string(const void *, size_t);
int rad_get_attr(struct rad_handle *, const void **,
size_t *);
+int rad_init_send_request(struct rad_handle *, int *,
+ struct timeval *);
struct rad_handle *rad_open(void);
int rad_put_addr(struct rad_handle *, int, struct in_addr);
int rad_put_attr(struct rad_handle *, int,