summaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2011-02-25 13:05:46 +0100
committerLinus Nordberg <linus@nordberg.se>2011-02-25 13:05:46 +0100
commitce87482616de6f5078bd9b6c685f9ec62c220b3d (patch)
treeba1d628a55b99fe60ef6270cecaea9dab961f1e1 /lib/include
parent53d44d49597a515ae6c22ec20138a21986f6c3ab (diff)
API change. Have the request object create its own request message.
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/radsec/request-impl.h4
-rw-r--r--lib/include/radsec/request.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/include/radsec/request-impl.h b/lib/include/radsec/request-impl.h
index 02b7713..4f50d44 100644
--- a/lib/include/radsec/request-impl.h
+++ b/lib/include/radsec/request-impl.h
@@ -8,8 +8,8 @@ struct rs_request
{
struct rs_connection *conn;
struct event *timer;
- struct rs_packet *req;
- struct rs_packet *resp;
+ struct rs_packet *req_msg;
+ struct rs_packet *resp_msg;
struct rs_conn_callbacks saved_cb;
};
diff --git a/lib/include/radsec/request.h b/lib/include/radsec/request.h
index 80c2880..33957a3 100644
--- a/lib/include/radsec/request.h
+++ b/lib/include/radsec/request.h
@@ -6,8 +6,8 @@ struct rs_request;
extern "C" {
#endif
-int rs_request_create(struct rs_connection *conn, struct rs_request **req_out);
-int rs_request_send(struct rs_request *request, struct rs_packet *req_msg, struct rs_packet **resp_msg);
+int rs_request_create(struct rs_connection *conn, struct rs_request **req_out, const char *user_name, const char *user_pw);
+int rs_request_send(struct rs_request *request, struct rs_packet **resp_msg);
void rs_request_destroy(struct rs_request *request);
#if defined (__cplusplus)