Go to the source code of this file.
|
int | Context_init (struct Context *ctx) |
|
void | Context_release (struct Context *ctx) |
|
void | nodeSharedCache_set_handler (char *key, json_t *elem, void *ctx) |
|
void | nodeSharedCache_delete_handler (char *key, void *ctx) |
|
void | nodeSharedCache_commit (struct nodeSharedCache *nsc, char *key) |
|
void | nodeSharedCache_delete (struct nodeSharedCache *nsc, char *key) |
|
char * | nodeSharedCache_get_json (struct nodeSharedCache *nsc, char *key) |
|
json_t * | nodeSharedCache_get (struct nodeSharedCache *nsc, char *key) |
|
void | nodeSharedCache_set (struct nodeSharedCache *nsc, char *key, json_t *json) |
|
void | nodeSharedCache_set_json (struct nodeSharedCache *nsc, char *key, char *json) |
|
void | nodeSharedCache_reduce_json (struct nodeSharedCache *nsc, char *key, char *json) |
|
void | nodeSharedCache_reduce (struct nodeSharedCache *nsc, char *key, json_t *elem) |
|
int | nodeSharedCache_init (struct nodeSharedCache *nsc) |
|
int | nodeSharedCache_proxy_init (struct nodeSharedCache *nsc, char *destination_server, int expected_clients) |
|
int | nodeSharedCache_proxy_accept_clients (struct nodeSharedCache *nsc) |
|
void | nodeSharedCache_wait (struct nodeSharedCache *nsc) |
|
void | nodeSharedCache_release (struct nodeSharedCache *nsc) |
|
Enumerator |
---|
NSC_SET |
|
NSC_DELETE |
|
NSC_BCAST |
|
NSC_REDUCE |
|
NSC_CLOSE |
|
Definition at line 19 of file nsc.h.
int Context_init |
( |
struct Context * |
ctx | ) |
|
Definition at line 92 of file nsc.c.
void Context_release |
( |
struct Context * |
ctx | ) |
|
Definition at line 97 of file nsc.c.
void nodeSharedCache_delete_handler |
( |
char * |
key, |
|
|
void * |
ctx |
|
) |
| |
char* nodeSharedCache_get_json |
( |
struct nodeSharedCache * |
nsc, |
|
|
char * |
key |
|
) |
| |
int nodeSharedCache_proxy_init |
( |
struct nodeSharedCache * |
nsc, |
|
|
char * |
destination_server, |
|
|
int |
expected_clients |
|
) |
| |
void nodeSharedCache_reduce_json |
( |
struct nodeSharedCache * |
nsc, |
|
|
char * |
key, |
|
|
char * |
json |
|
) |
| |
void nodeSharedCache_set_handler |
( |
char * |
key, |
|
|
json_t * |
elem, |
|
|
void * |
ctx |
|
) |
| |
void nodeSharedCache_set_json |
( |
struct nodeSharedCache * |
nsc, |
|
|
char * |
key, |
|
|
char * |
json |
|
) |
| |