zhelpers.h File Reference
#include <zmq.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <sys/time.h>
#include <assert.h>
#include <signal.h>
Go to the source code of this file.
Define Documentation
#define randof |
( |
num |
|
) |
(int) ((float) (num) * random () / (RAND_MAX + 1.0)) |
Function Documentation
static int64_t s_clock |
( |
void |
|
) |
[static] |
static void s_dump |
( |
void * |
socket |
) |
[static] |
static char* s_recv |
( |
void * |
socket |
) |
[static] |
static int s_send |
( |
void * |
socket, |
|
|
char * |
string | |
|
) |
| | [static] |
static int s_sendmore |
( |
void * |
socket, |
|
|
char * |
string | |
|
) |
| | [static] |
static void s_set_id |
( |
void * |
socket |
) |
[static] |