summaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
authorlinus <linus@nordu.net>2011-01-21 16:30:17 +0100
committerlinus <linus@nordu.net>2011-01-21 16:30:17 +0100
commit7d178c5333cf9a5ed3806eed4db83014d0f37a65 (patch)
tree37a2c144fa256e6fc1ca8dca382bc7861d8c7a43 /lib/include
parenta29c3f1a7a00684804b032970ed347fa05ca9cce (diff)
API breakage -- rename rs_packet_create_acc_request().
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/radsec/radsec.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h
index c54180b..c646a0b 100644
--- a/lib/include/radsec/radsec.h
+++ b/lib/include/radsec/radsec.h
@@ -116,14 +116,15 @@ void rs_server_set_timeout(struct rs_peer *server, int timeout);
void rs_server_set_tries(struct rs_peer *server, int tries);
/* Packet. */
-int rs_packet_create_acc_request(struct rs_connection *conn,
- struct rs_packet **pkt,
- const char *user_name, /* FIXME: remove? */
- const char *user_pw); /* FIXME: remove? */
-void rs_packet_destroy(struct rs_packet *pkt);
+int rs_packet_create(struct rs_connection *conn, struct rs_packet **pkt_out);
+int rs_packet_create_auth_request(struct rs_connection *conn,
+ struct rs_packet **pkt,
+ const char *user_name, /* FIXME: remove? */
+ const char *user_pw); /* FIXME: remove? */
void rs_packet_add_attr(struct rs_packet *pkt, struct rs_attr *attr);
int rs_packet_send(struct rs_packet *pkt, void *data);
struct radius_packet *rs_packet_frpkt(struct rs_packet *pkt);
+void rs_packet_destroy(struct rs_packet *pkt);
/* Attribute. */
/* FIXME: Replace (or complement) with a wrapper for paircreate(). */