summaryrefslogtreecommitdiff
path: root/lib/request.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-10-10 11:47:43 +0200
committerLinus Nordberg <linus@nordu.net>2010-10-10 11:47:43 +0200
commit5d1a02eb41025020b8c25ab927baca978fb733a9 (patch)
tree6f58f5792f06ea61ac817b3cdb601ee2220b847b /lib/request.c
parentc4a0f86a63acd899dbf29c03100c4735011ceeac (diff)
Rename rs_req_* --> rs_request_.
Contributed by Luke Howard.
Diffstat (limited to 'lib/request.c')
-rw-r--r--lib/request.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/request.c b/lib/request.c
index 3d4b096..f0b15e0 100644
--- a/lib/request.c
+++ b/lib/request.c
@@ -1,14 +1,18 @@
/* See the file COPYING for licensing information. */
#include <time.h>
+#include <assert.h>
#include <event2/event.h>
#include <radsec/radsec.h>
#include <radsec/radsec-impl.h>
#include <radsec/request.h>
#include <radsec/request-impl.h>
+static int
+_rs_decrypt_mppe(struct rs_request *request, VALUE_PAIR *vp);
+
int
-rs_req_create (struct rs_connection *conn, struct rs_request **req_out)
+rs_request_create (struct rs_connection *conn, struct rs_request **req_out)
{
struct rs_request *req = rs_malloc (conn->ctx, sizeof(*req));
if (!req)
@@ -20,7 +24,7 @@ rs_req_create (struct rs_connection *conn, struct rs_request **req_out)
}
void
-rs_req_destroy(struct rs_request *request)
+rs_request_destroy (struct rs_request *request)
{
rs_packet_destroy (request->req);
rs_packet_destroy (request->resp);