summaryrefslogtreecommitdiff
path: root/daemon/bd.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/bd.h')
-rw-r--r--daemon/bd.h10
1 files changed, 5 insertions, 5 deletions
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 */