diff options
author | Linus Nordberg <linus@nordu.net> | 2011-02-28 13:15:13 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-02-28 13:34:27 +0100 |
commit | 682a426b16c8cc225ce952bf4aa1c7cc210dde71 (patch) | |
tree | 39855c4d0d0f39bad6963cd544e53e3c8d733d59 /lib/include/radsec/request.h | |
parent | 9e601f905d91f55c7a36f15fe5998d694c38444f (diff) |
Rename relevant functions to reflect authn as opposed to authz.
Also add a "bare" create request function.
Diffstat (limited to 'lib/include/radsec/request.h')
-rw-r--r-- | lib/include/radsec/request.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/include/radsec/request.h b/lib/include/radsec/request.h index ca7b688..4a540bd 100644 --- a/lib/include/radsec/request.h +++ b/lib/include/radsec/request.h @@ -6,10 +6,13 @@ struct rs_request; extern "C" { #endif -int rs_request_create(struct rs_connection *conn, - struct rs_request **req_out, - const char *user_name, - const char *user_pw); +int rs_request_create(struct rs_connection *conn, struct rs_request **req_out); +void rs_request_add_reqpkt(struct rs_request *req, struct rs_packet *reqpkt); + +int rs_request_create_authn(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); |