From 670eba73c474230e31d688e9568fcd540b4e3b39 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 9 Aug 2004 18:35:56 +0000 Subject: - added request parameter to ha_message... - combined ha_request and ha_response --- daemon/bd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'daemon/bd.h') diff --git a/daemon/bd.h b/daemon/bd.h index 450c8e1..272e09a 100644 --- a/daemon/bd.h +++ b/daemon/bd.h @@ -17,8 +17,8 @@ * HA_OK: completed successfully * HA_FAILED: error retrieving hash (should have logged error) */ -typedef int (*bd_complete_digest)(const ha_request_t* req, - const char* user, unsigned char* ha1); +typedef int (*bd_complete_digest)(ha_request_t* rq, + const char* user, unsigned char* ha1); /* * A callback for validating a given user's password. @@ -28,8 +28,8 @@ typedef int (*bd_complete_digest)(const ha_request_t* req, * HA_FALSE: invalid password * HA_FAILED: error validating (should have logged error) */ -typedef int (*bd_validate_basic)(const ha_request_t* req, - const char* user, const char* password); +typedef int (*bd_validate_basic)(ha_request_t* rq, + const char* user, const char* password); /* ---------------------------------------------------------------------------------- * Base Context @@ -66,6 +66,6 @@ void bd_destroy(ha_context_t* context); * The base/digest processer for requests. Call this from your * 'derived' handler process function. */ -int bd_process(const ha_request_t* req, ha_response_t* resp); +int bd_process(ha_request_t* rq); #endif /* BD_H */ -- cgit v1.2.3