Deleted Added
full compact
radlib_vs.h (128684) radlib_vs.h (243956)
1/*-
2 * Copyright (c) 2002 Brian Somers <brian@Awfulhak.org>
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 (c) 2002 Brian Somers <brian@Awfulhak.org>
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_vs.h 128684 2004-04-27 15:00:29Z ru $
26 * $FreeBSD: head/lib/libradius/radlib_vs.h 243956 2012-12-06 19:00:37Z sem $
27 */
28
29#ifndef _RADLIB_VS_H_
30#define _RADLIB_VS_H_
31
32#include <sys/types.h>
33#include <netinet/in.h>
34

--- 33 unchanged lines hidden (view full) ---

68
69#define SALT_LEN 2
70
71struct rad_handle;
72
73__BEGIN_DECLS
74int rad_get_vendor_attr(u_int32_t *, const void **, size_t *);
75int rad_put_vendor_addr(struct rad_handle *, int, int, struct in_addr);
27 */
28
29#ifndef _RADLIB_VS_H_
30#define _RADLIB_VS_H_
31
32#include <sys/types.h>
33#include <netinet/in.h>
34

--- 33 unchanged lines hidden (view full) ---

68
69#define SALT_LEN 2
70
71struct rad_handle;
72
73__BEGIN_DECLS
74int rad_get_vendor_attr(u_int32_t *, const void **, size_t *);
75int rad_put_vendor_addr(struct rad_handle *, int, int, struct in_addr);
76int rad_put_vendor_addr6(struct rad_handle *, int, int, struct in6_addr);
76int rad_put_vendor_attr(struct rad_handle *, int, int, const void *,
77 size_t);
78int rad_put_vendor_int(struct rad_handle *, int, int, u_int32_t);
79int rad_put_vendor_string(struct rad_handle *, int, int, const char *);
80u_char *rad_demangle_mppe_key(struct rad_handle *, const void *, size_t,
81 size_t *);
82__END_DECLS
83
84#endif /* _RADLIB_VS_H_ */
77int rad_put_vendor_attr(struct rad_handle *, int, int, const void *,
78 size_t);
79int rad_put_vendor_int(struct rad_handle *, int, int, u_int32_t);
80int rad_put_vendor_string(struct rad_handle *, int, int, const char *);
81u_char *rad_demangle_mppe_key(struct rad_handle *, const void *, size_t,
82 size_t *);
83__END_DECLS
84
85#endif /* _RADLIB_VS_H_ */