aboutsummaryrefslogtreecommitdiff
path: root/src/auth.h
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2008-12-20 17:19:27 -0300
committerJorge Arellano Cid <jcid@dillo.org>2008-12-20 17:19:27 -0300
commit9b532026d3fc5c379827351c4da8b219012cb1c7 (patch)
tree87880cdd0fe5b27745b68002e7c308367b3bb87e /src/auth.h
parent2950e1945283baeffea46480d14f32e21b294a44 (diff)
Added basic authentication!
Diffstat (limited to 'src/auth.h')
-rw-r--r--src/auth.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/auth.h b/src/auth.h
new file mode 100644
index 00000000..8813fc37
--- /dev/null
+++ b/src/auth.h
@@ -0,0 +1,19 @@
+#ifndef __AUTH_H__
+#define __AUTH_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#include "url.h"
+
+
+char *a_Auth_get_auth_str(const DilloUrl *request_url);
+int a_Auth_do_auth(Dlist *auth_string, const DilloUrl *url);
+void a_Auth_init(void);
+
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+#endif /* !__AUTH_H__ */