aboutsummaryrefslogtreecommitdiff
path: root/src/Auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Auth.h')
-rw-r--r--src/Auth.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/Auth.h b/src/Auth.h
new file mode 100644
index 0000000..73129ac
--- /dev/null
+++ b/src/Auth.h
@@ -0,0 +1,35 @@
+ /*@@
+ @header Auth.h
+ @date Fri Sep 15 13:20:01 2000
+ @author Tom Goodale
+ @desc
+ Was httpd_Auth.h; still exported by that name.
+ @enddesc
+ @version $Header$
+ @@*/
+
+#ifndef __HTTP_AUTH_H__
+#define __HTTP_AUTH_H__ 1
+
+#include "httpRequest.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+int HTTP_AuthAddUser(const char *database,
+ const char *name,
+ const char *password,
+ const char *encryption_scheme);
+
+int HTTP_AuthenticateBasic(httpRequest *request,
+ const char *database,
+ char *user,
+ int length);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __HTTP_AUTH_H__ */