mirror of
https://github.com/matrix-construct/construct
synced 2024-09-08 17:55:47 +02:00
17 lines
323 B
C
17 lines
323 B
C
#pragma once
|
|
#define HAVE_RB_ARC4RANDOM_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
#if !defined(HAVE_OPENSSL) && !defined(HAVE_GNUTLS) && !defined(HAVE_ARC4RANDOM)
|
|
void arc4random_stir(void);
|
|
uint32_t arc4random(void);
|
|
void arc4random_addrandom(uint8_t *dat, int datlen);
|
|
#endif
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|