summaryrefslogtreecommitdiff
path: root/daemon/misc.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-08-12 00:50:29 +0000
committerStef Walter <stef@memberwebs.com>2004-08-12 00:50:29 +0000
commit86e45cfbd0655193e363be6daadbfd5434566a03 (patch)
tree5391fdcbfd6b3e360d425f0bd4b260d073901a21 /daemon/misc.c
parentc44a74e52a8b227857f28289a91d126b7edc959c (diff)
- Added postgresql database support
- Lots of changes to properly abstract bd handlers - Handle multiple passwords and ha1s properly.
Diffstat (limited to 'daemon/misc.c')
-rw-r--r--daemon/misc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/daemon/misc.c b/daemon/misc.c
index f48d801..7ab8147 100644
--- a/daemon/misc.c
+++ b/daemon/misc.c
@@ -265,7 +265,7 @@ int ha_confint(const char* name, const char* conf, int min, int max, int* value)
/* -----------------------------------------------------------------------
- * Client Authentication Functions
+ * URI Functions
*/
char* ha_uriformat(ha_buffer_t* buf, const ha_uri_t* uri)
@@ -586,6 +586,10 @@ int ha_uricmp(ha_uri_t* one, ha_uri_t* two)
return 0;
}
+/* ----------------------------------------------------------------------------------
+ * Other miscellaneous stuff
+ */
+
int ha_genrandom(unsigned char* data, size_t len)
{
int r, dd;