diff options
Diffstat (limited to 'lib/include/radsec')
-rw-r--r-- | lib/include/radsec/request-impl.h | 4 | ||||
-rw-r--r-- | lib/include/radsec/request.h | 4 |
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) |