summaryrefslogtreecommitdiff
path: root/daemon/basic.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-04-24 22:38:50 +0000
committerStef Walter <stef@memberwebs.com>2004-04-24 22:38:50 +0000
commitcbbe71752d7f9c6204ab0f16600fe7f10490f203 (patch)
tree365e6e472d239d117b5f849c45f3c08fc6617c0a /daemon/basic.h
parentff76efc3e5e1b0e4ca3b10b7402406f619509bba (diff)
Completed implementation of ldap/ntlm/simple handlers
Diffstat (limited to 'daemon/basic.h')
-rw-r--r--daemon/basic.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/daemon/basic.h b/daemon/basic.h
new file mode 100644
index 0000000..c28dc1e
--- /dev/null
+++ b/daemon/basic.h
@@ -0,0 +1,17 @@
+
+#ifndef __BASIC_H__
+#define __BASIC_H__
+
+#include "md5.h"
+
+typedef struct basic_header
+{
+ const char* user;
+ const char* password;
+ unsigned char key[MD5_LEN];
+}
+basic_header_t;
+
+int basic_parse(const char* header, ha_buffer_t* buf, basic_header_t* rec);
+
+#endif /* __BASIC_H__ */