random.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 #ifndef __ZMQ_RANDOM_HPP_INCLUDED__
4 #define __ZMQ_RANDOM_HPP_INCLUDED__
5 
6 #include "stdint.hpp"
7 
8 namespace zmq
9 {
10 // Seeds the random number generator.
11 void seed_random ();
12 
13 // Generates random value.
14 uint32_t generate_random ();
15 
16 // [De-]Initialise crypto library, if needed.
17 // Serialised and refcounted, so that it can be called
18 // from multiple threads, each with its own context, and from
19 // the various zmq_utils curve functions safely.
20 void random_open ();
21 void random_close ();
22 }
23 
24 #endif
zmq::random_open
void random_open()
Definition: random.cpp:59
zmq::random_close
void random_close()
Definition: random.cpp:64
zmq
Definition: zmq.hpp:229
stdint.hpp
zmq::generate_random
uint32_t generate_random()
Definition: random.cpp:30
zmq::seed_random
void seed_random()
Definition: random.cpp:20


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:58