summaryrefslogtreecommitdiff
path: root/lib/include/radsec/radsec-impl.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-10-11 19:06:06 +0200
committerLinus Nordberg <linus@nordu.net>2010-10-11 19:06:06 +0200
commite06796fe52596f417d74b3c3758ff0a321f67274 (patch)
treee79094450d53fe48de78f3f6efe7e3a9a9f6add2 /lib/include/radsec/radsec-impl.h
parent887a170a35bb083fbe4cc6b7315bb15676b99e9f (diff)
parent06936d1f263c456017e20ea6c74d2756e1e30fcc (diff)
Merge branch 'merge-luke' into libradsec
8a676ab Robustness fixes (and some callback invocation) by Luke Howard. ff55882 Request object implementation and bug fixes by Luke Howard. 06936d1 Have rad_decode() verify responses.
Diffstat (limited to 'lib/include/radsec/radsec-impl.h')
-rw-r--r--lib/include/radsec/radsec-impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/include/radsec/radsec-impl.h b/lib/include/radsec/radsec-impl.h
index b46bc47..6e5ee83 100644
--- a/lib/include/radsec/radsec-impl.h
+++ b/lib/include/radsec/radsec-impl.h
@@ -63,9 +63,12 @@ struct rs_connection {
enum rs_conn_type type;
struct rs_credentials transport_credentials;
struct rs_conn_callbacks callbacks;
+ void *user_data;
struct rs_peer *peers;
struct rs_peer *active_peer;
struct rs_error *err;
+ int nextid;
+ int user_dispatch_flag : 1; /* User does the dispatching. */
};
struct rs_packet {
@@ -73,6 +76,7 @@ struct rs_packet {
char hdr_read_flag;
uint8_t hdr[4];
RADIUS_PACKET *rpkt;
+ struct rs_packet *original;
};
struct rs_attr {