#include <stdbool.h>
#include "citrusleaf.h"
Go to the source code of this file.
Functions |
int | cl_get_node_info (const char *node_name, struct sockaddr_in *sa_in, cl_node_info *node_info, int timeout_ms) |
int | cl_request_node_info (struct sockaddr_in *sa_in, cl_node_info *node_info, int timeout_ms) |
void | cl_node_info_free (cl_node_info *node_info) |
int | cl_get_replicas (const char *node_name, struct sockaddr_in *sa_in, cl_replicas *replicas, int timeout_ms) |
int | cl_request_replicas (struct sockaddr_in *sa_in, cl_replicas *replicas, int timeout_ms) |
void | cl_replicas_free (cl_replicas *replicas) |
int | cl_get_node_name (struct sockaddr_in *sa_in, char *node_name, int timeout_ms) |
int | cl_request_node_name (struct sockaddr_in *sa_in, char *node_name, int timeout_ms) |
int | cl_get_n_partitions (struct sockaddr_in *sa_in, int *n_partitions, int timeout_ms) |
int | cl_request_n_partitions (struct sockaddr_in *sa_in, int *n_partitions, int timeout_ms) |
bool | cl_strncpy (char *trg, const char *src, int len) |
Function Documentation
int cl_get_n_partitions |
( |
struct sockaddr_in * |
sa_in, |
|
|
int * |
n_partitions, |
|
|
int |
timeout_ms |
|
) |
| |
int cl_get_node_info |
( |
const char * |
node_name, |
|
|
struct sockaddr_in * |
sa_in, |
|
|
cl_node_info * |
node_info, |
|
|
int |
timeout_ms |
|
) |
| |
int cl_get_node_name |
( |
struct sockaddr_in * |
sa_in, |
|
|
char * |
node_name, |
|
|
int |
timeout_ms |
|
) |
| |
int cl_get_replicas |
( |
const char * |
node_name, |
|
|
struct sockaddr_in * |
sa_in, |
|
|
cl_replicas * |
replicas, |
|
|
int |
timeout_ms |
|
) |
| |
int cl_request_n_partitions |
( |
struct sockaddr_in * |
sa_in, |
|
|
int * |
n_partitions, |
|
|
int |
timeout_ms |
|
) |
| |
int cl_request_node_info |
( |
struct sockaddr_in * |
sa_in, |
|
|
cl_node_info * |
node_info, |
|
|
int |
timeout_ms |
|
) |
| |
int cl_request_node_name |
( |
struct sockaddr_in * |
sa_in, |
|
|
char * |
node_name, |
|
|
int |
timeout_ms |
|
) |
| |
int cl_request_replicas |
( |
struct sockaddr_in * |
sa_in, |
|
|
cl_replicas * |
replicas, |
|
|
int |
timeout_ms |
|
) |
| |
bool cl_strncpy |
( |
char * |
trg, |
|
|
const char * |
src, |
|
|
int |
len |
|
) |
| |