radlib.h (197086) | radlib.h (228730) |
---|---|
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.h 197086 2009-09-11 11:42:56Z mav $ | 26 * $FreeBSD: head/lib/libradius/radlib.h 228730 2011-12-20 11:13:44Z melifaro $ |
27 */ 28 29#ifndef _RADLIB_H_ 30#define _RADLIB_H_ 31 32#include <sys/types.h> 33#include <netinet/in.h> 34 --- 155 unchanged lines hidden (view full) --- 190struct rad_handle; 191struct timeval; 192 193__BEGIN_DECLS 194struct rad_handle *rad_acct_open(void); 195int rad_add_server(struct rad_handle *, 196 const char *, int, const char *, int, int); 197struct rad_handle *rad_auth_open(void); | 27 */ 28 29#ifndef _RADLIB_H_ 30#define _RADLIB_H_ 31 32#include <sys/types.h> 33#include <netinet/in.h> 34 --- 155 unchanged lines hidden (view full) --- 190struct rad_handle; 191struct timeval; 192 193__BEGIN_DECLS 194struct rad_handle *rad_acct_open(void); 195int rad_add_server(struct rad_handle *, 196 const char *, int, const char *, int, int); 197struct rad_handle *rad_auth_open(void); |
198void rad_bind_to(struct rad_handle *, in_addr_t); |
|
198void rad_close(struct rad_handle *); 199int rad_config(struct rad_handle *, const char *); 200int rad_continue_send_request(struct rad_handle *, int, 201 int *, struct timeval *); 202int rad_create_request(struct rad_handle *, int); 203int rad_create_response(struct rad_handle *, int); 204struct in_addr rad_cvt_addr(const void *); 205u_int32_t rad_cvt_int(const void *); --- 27 unchanged lines hidden --- | 199void rad_close(struct rad_handle *); 200int rad_config(struct rad_handle *, const char *); 201int rad_continue_send_request(struct rad_handle *, int, 202 int *, struct timeval *); 203int rad_create_request(struct rad_handle *, int); 204int rad_create_response(struct rad_handle *, int); 205struct in_addr rad_cvt_addr(const void *); 206u_int32_t rad_cvt_int(const void *); --- 27 unchanged lines hidden --- |