summaryrefslogtreecommitdiff
path: root/lib/include/radsec/radsec-impl.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-14 13:27:39 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-14 13:27:39 +0100
commitcef9bf7b7340b7270eb979294aeb186d741e6318 (patch)
treed4ada741c1f3cafd679f7147ffa5ca5406d18ebe /lib/include/radsec/radsec-impl.h
parente317a8db7aede1cc9918db51c06de469686c9fa8 (diff)
Remove struct rs_attr and all use of it.
A new API for attributes will be added once we've decided how to deal with RADIUS packets internally. For now, removing the half baked wrapping seems more sensible than trying to free rs_attr objects and their VALUE_PAIR's.
Diffstat (limited to 'lib/include/radsec/radsec-impl.h')
-rw-r--r--lib/include/radsec/radsec-impl.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/include/radsec/radsec-impl.h b/lib/include/radsec/radsec-impl.h
index 9bcd208..3c1c53c 100644
--- a/lib/include/radsec/radsec-impl.h
+++ b/lib/include/radsec/radsec-impl.h
@@ -104,15 +104,10 @@ struct rs_packet {
struct rs_connection *conn;
unsigned int flags;
uint8_t hdr[RS_HEADER_LEN];
- RADIUS_PACKET *rpkt;
+ RADIUS_PACKET *rpkt; /* FreeRADIUS object. */
struct rs_packet *next; /* Used for UDP output queue. */
};
-struct rs_attr {
- struct rs_packet *pkt;
- VALUE_PAIR *vp;
-};
-
/* Nonpublic functions (in radsec.c -- FIXME: move?). */
struct rs_error *rs_resolv (struct evutil_addrinfo **addr,
rs_conn_type_t type,