summaryrefslogtreecommitdiff
path: root/module/mod_auth_singleid.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-07-08 20:44:22 +0000
committerStef Walter <stef@memberwebs.com>2009-07-08 20:44:22 +0000
commitc7c67be49fb2b7307900db7e3da4b460f5603ac6 (patch)
treecd7644507e393bfc608c0113ee2e5cbdf47e5314 /module/mod_auth_singleid.h
parent922f89e86245d6653fee4d97fd82168f73620189 (diff)
Add various messages when things go wrong. Don't try to authenticate POST.
Diffstat (limited to 'module/mod_auth_singleid.h')
-rw-r--r--module/mod_auth_singleid.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/module/mod_auth_singleid.h b/module/mod_auth_singleid.h
index 61e2c91..2619c3f 100644
--- a/module/mod_auth_singleid.h
+++ b/module/mod_auth_singleid.h
@@ -31,12 +31,20 @@ const char* sid_request_qs (sid_request_t *req);
const char* sid_request_url (sid_request_t *req,
int with_path);
-void sid_request_respond (sid_request_t *req,
+const char* sid_request_method (sid_request_t *req);
+
+void sid_request_respond_headers (sid_request_t *req,
int code,
const char *reason,
const char *header,
...);
+void sid_request_respond_html (sid_request_t *req,
+ int code,
+ const char *reason,
+ const char *data,
+ ...);
+
void sid_request_authenticated (sid_request_t *req,
const char *identifier);