summaryrefslogtreecommitdiff
path: root/lib/examples/client-blocking.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-02-28 13:15:13 +0100
committerLinus Nordberg <linus@nordu.net>2011-02-28 13:34:27 +0100
commit682a426b16c8cc225ce952bf4aa1c7cc210dde71 (patch)
tree39855c4d0d0f39bad6963cd544e53e3c8d733d59 /lib/examples/client-blocking.c
parent9e601f905d91f55c7a36f15fe5998d694c38444f (diff)
Rename relevant functions to reflect authn as opposed to authz.
Also add a "bare" create request function.
Diffstat (limited to 'lib/examples/client-blocking.c')
-rw-r--r--lib/examples/client-blocking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/examples/client-blocking.c b/lib/examples/client-blocking.c
index 80d6cce..27f87ca 100644
--- a/lib/examples/client-blocking.c
+++ b/lib/examples/client-blocking.c
@@ -50,7 +50,7 @@ blocking_client (const char *av1, const char *av2, int use_request_object_flag)
{
struct rs_request *request;
- if (rs_request_create (conn, &request, USER_NAME, USER_PW))
+ if (rs_request_create_authn (conn, &request, USER_NAME, USER_PW))
return rs_err_conn_pop (conn);
if (rs_request_send (request, &resp))
return rs_err_conn_pop (conn);
@@ -58,7 +58,7 @@ blocking_client (const char *av1, const char *av2, int use_request_object_flag)
}
else
{
- if (rs_packet_create_auth_request (conn, &req, USER_NAME, USER_PW))
+ if (rs_packet_create_authn_request (conn, &req, USER_NAME, USER_PW))
return rs_err_conn_pop (conn);
if (rs_packet_send (req, NULL))