projects
/
libradsec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge libradsec-new-client.
[libradsec.git]
/
lib
/
include
/
radsec
/
radsec-impl.h
diff --git
a/lib/include/radsec/radsec-impl.h
b/lib/include/radsec/radsec-impl.h
index
752ea71
..
6339e74
100644
(file)
--- a/
lib/include/radsec/radsec-impl.h
+++ b/
lib/include/radsec/radsec-impl.h
@@
-3,7
+3,9
@@
/* See the file COPYING for licensing information. */
/* See the file COPYING for licensing information. */
-#include <freeradius/libradius.h>
+#ifndef _RADSEC_RADSEC_IMPL_H_
+#define _RADSEC_RADSEC_IMPL_H_ 1
+
#include <event2/util.h>
#include <confuse.h>
#if defined(RS_ENABLE_TLS)
#include <event2/util.h>
#include <confuse.h>
#if defined(RS_ENABLE_TLS)
@@
-74,7
+76,6
@@
struct rs_realm {
/** Top configuration object. */
struct rs_config {
/** Top configuration object. */
struct rs_config {
- char *dictionary;
struct rs_realm *realms;
cfg_t *cfg;
};
struct rs_realm *realms;
cfg_t *cfg;
};
@@
-83,7
+84,6
@@
struct rs_context {
struct rs_config *config;
struct rs_alloc_scheme alloc_scheme;
struct rs_error *err;
struct rs_config *config;
struct rs_alloc_scheme alloc_scheme;
struct rs_error *err;
- fr_randctx fr_randctx;
};
struct rs_connection {
};
struct rs_connection {
@@
-121,11
+121,13
@@
enum rs_packet_flags {
rs_packet_sent_flag,
};
rs_packet_sent_flag,
};
+struct radius_packet;
+
struct rs_packet {
struct rs_connection *conn;
unsigned int flags;
uint8_t hdr[RS_HEADER_LEN];
struct rs_packet {
struct rs_connection *conn;
unsigned int flags;
uint8_t hdr[RS_HEADER_LEN];
-
RADIUS_PACKET *rpkt;
/* FreeRADIUS object. */
+
struct radius_packet *rpkt;
/* FreeRADIUS object. */
struct rs_packet *next; /* Used for UDP output queue. */
};
struct rs_packet *next; /* Used for UDP output queue. */
};
@@
-145,6
+147,8
@@
struct rs_packet {
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
+#endif /* _RADSEC_RADSEC_IMPL_H_ */
+
/* Local Variables: */
/* c-file-style: "stroustrup" */
/* End: */
/* Local Variables: */
/* c-file-style: "stroustrup" */
/* End: */