45#if APR_HAVE_SYS_TIME_H
125 unsigned char buf[2];
128 return (
buf[0] << 8) |
buf[1];
137 return rand() & 0x0FFFF;
192 d[3] = (
unsigned char)timestamp;
193 d[2] = (
unsigned char)(timestamp >> 8);
194 d[1] = (
unsigned char)(timestamp >> 16);
195 d[0] = (
unsigned char)(timestamp >> 24);
197 d[5] = (
unsigned char)(timestamp >> 32);
198 d[4] = (
unsigned char)(timestamp >> 40);
200 d[7] = (
unsigned char)(timestamp >> 48);
201 d[6] = (
unsigned char)(((timestamp >> 56) & 0x0F) | 0x10);
APR Miscellaneous library routines.
APR Portability Routines.
apr_size_t const unsigned char unsigned int unsigned int d
static void get_random_info(unsigned char node[6])
static unsigned char uuid_state_node[6]
APU_DECLARE(void)
Computes SipHash-2-4, producing a 64bit (APR_SIPHASH_DSIZE) hash from a message and a 128bit (APR_SIP...
static void get_current_time(apr_uint64_t *timestamp)
static int true_random(void)
static void get_system_time(apr_uint64_t *uuid_time)
static void get_pseudo_node_identifier(unsigned char *node)
static int uuid_state_seqnum
static void init_state(void)
const unsigned char * buf
#define APR_MD5_DIGESTSIZE
apr_vformatter_buff_t * c