1 #ifndef LIBFILEZILLA_UTIL_HEADER 2 #define LIBFILEZILLA_UTIL_HEADER 23 void FZ_PUBLIC_SYMBOL
sleep(duration
const& d);
27 int64_t FZ_PUBLIC_SYMBOL
random_number(int64_t min, int64_t max);
31 std::vector<uint8_t> FZ_PUBLIC_SYMBOL
random_bytes(
size_t size);
void sleep(duration const &d)
Sleep current thread for the specified duration.
std::vector< uint8_t > random_bytes(size_t size)
Get random uniformly distributed bytes.
Assorted classes dealing with time.
int64_t random_number(int64_t min, int64_t max)
Get a secure random integer uniformly distributed in the closed interval [min, max].
The namespace used by libfilezilla.
Definition: apply.hpp:16
Sets some global macros and further includes string.hpp.