From 9b532026d3fc5c379827351c4da8b219012cb1c7 Mon Sep 17 00:00:00 2001 From: Jorge Arellano Cid Date: Sat, 20 Dec 2008 17:19:27 -0300 Subject: Added basic authentication! --- src/auth.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/auth.h (limited to 'src/auth.h') 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__ */ -- cgit v1.2.3