#include "precompiled.hpp"#include "macros.hpp"#include "clock.hpp"#include "err.hpp"#include "thread.hpp"#include "atomic_counter.hpp"#include "atomic_ptr.hpp"#include "random.hpp"#include <assert.h>#include <new>#include <unistd.h>
Go to the source code of this file.
Functions | |
| int | zmq_atomic_counter_dec (void *counter_) |
| void | zmq_atomic_counter_destroy (void **counter_p_) |
| int | zmq_atomic_counter_inc (void *counter_) |
| void * | zmq_atomic_counter_new (void) |
| void | zmq_atomic_counter_set (void *counter_, int value_) |
| int | zmq_atomic_counter_value (void *counter_) |
| int | zmq_curve_keypair (char *z85_public_key_, char *z85_secret_key_) |
| int | zmq_curve_public (char *z85_public_key_, const char *z85_secret_key_) |
| void | zmq_sleep (int seconds_) |
| unsigned long | zmq_stopwatch_intermediate (void *watch_) |
| void * | zmq_stopwatch_start () |
| unsigned long | zmq_stopwatch_stop (void *watch_) |
| void | zmq_threadclose (void *thread_) |
| void * | zmq_threadstart (zmq_thread_fn *func_, void *arg_) |
| uint8_t * | zmq_z85_decode (uint8_t *dest_, const char *string_) |
| char * | zmq_z85_encode (char *dest_, const uint8_t *data_, size_t size_) |
Variables | |
| static uint8_t | decoder [96] |
| static char | encoder [85+1] |
| int zmq_atomic_counter_dec | ( | void * | counter_ | ) |
Definition at line 279 of file zmq_utils.cpp.
Definition at line 293 of file zmq_utils.cpp.
| int zmq_atomic_counter_inc | ( | void * | counter_ | ) |
Definition at line 271 of file zmq_utils.cpp.
Definition at line 255 of file zmq_utils.cpp.
Definition at line 264 of file zmq_utils.cpp.
| int zmq_atomic_counter_value | ( | void * | counter_ | ) |
Definition at line 286 of file zmq_utils.cpp.
| int zmq_curve_keypair | ( | char * | z85_public_key_, |
| char * | z85_secret_key_ | ||
| ) |
Definition at line 190 of file zmq_utils.cpp.
| int zmq_curve_public | ( | char * | z85_public_key_, |
| const char * | z85_secret_key_ | ||
| ) |
Definition at line 222 of file zmq_utils.cpp.
| void zmq_sleep | ( | int | seconds_ | ) |
Definition at line 23 of file zmq_utils.cpp.
| unsigned long zmq_stopwatch_intermediate | ( | void * | watch_ | ) |
Definition at line 40 of file zmq_utils.cpp.
| void* zmq_stopwatch_start | ( | ) |
Definition at line 32 of file zmq_utils.cpp.
| unsigned long zmq_stopwatch_stop | ( | void * | watch_ | ) |
Definition at line 47 of file zmq_utils.cpp.
Definition at line 62 of file zmq_utils.cpp.
| void* zmq_threadstart | ( | zmq_thread_fn * | func_, |
| void * | arg_ | ||
| ) |
Definition at line 54 of file zmq_utils.cpp.
| uint8_t* zmq_z85_decode | ( | uint8_t * | dest_, |
| const char * | string_ | ||
| ) |
Definition at line 135 of file zmq_utils.cpp.
| char* zmq_z85_encode | ( | char * | dest_, |
| const uint8_t * | data_, | ||
| size_t | size_ | ||
| ) |
Definition at line 101 of file zmq_utils.cpp.
|
static |
Definition at line 85 of file zmq_utils.cpp.
|
static |
Definition at line 72 of file zmq_utils.cpp.