OSDN Git Service
(root)
/
hmh
/
hhml.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix for FreeBSD 11.1.
[hmh/hhml.git]
/
lib
/
util_random.h
1
#ifndef UTIL_RANDOM_H
2
#define UTIL_RANDOM_H
3
4
#include "ustring.h"
5
6
ustring randomKey ();
7
ustring randomKey (unsigned long n);
8
ustring smallRandomKey ();
9
ustring makeSalt ();
10
ustring makeSalt (char digit, size_t len);
11
double randDouble ();
12
long random_int (unsigned long n);
13
14
#endif /* UTIL_RANDOM_H */