From ce87482616de6f5078bd9b6c685f9ec62c220b3d Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 25 Feb 2011 13:05:46 +0100 Subject: API change. Have the request object create its own request message. --- lib/include/radsec/request-impl.h | 4 ++-- lib/include/radsec/request.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/include/radsec') 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) -- cgit v1.1