diff options
| author | Stef Walter <stef@memberwebs.com> | 2004-08-12 00:50:29 +0000 | 
|---|---|---|
| committer | Stef Walter <stef@memberwebs.com> | 2004-08-12 00:50:29 +0000 | 
| commit | 86e45cfbd0655193e363be6daadbfd5434566a03 (patch) | |
| tree | 5391fdcbfd6b3e360d425f0bd4b260d073901a21 /daemon/misc.c | |
| parent | c44a74e52a8b227857f28289a91d126b7edc959c (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.c | 6 | 
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;  | 
