From cef9bf7b7340b7270eb979294aeb186d741e6318 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 14 Mar 2011 13:27:39 +0100 Subject: 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. --- lib/include/radsec/radsec-impl.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib/include/radsec/radsec-impl.h') 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, -- cgit v1.1