From 86e45cfbd0655193e363be6daadbfd5434566a03 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 12 Aug 2004 00:50:29 +0000 Subject: - Added postgresql database support - Lots of changes to properly abstract bd handlers - Handle multiple passwords and ha1s properly. --- daemon/misc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'daemon/misc.c') 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; -- cgit v1.2.3