summaryrefslogtreecommitdiff
path: root/module/mod_auth_singleid.h
diff options
context:
space:
mode:
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);