hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cl_request.h File Reference
#include <stdbool.h>
#include "citrusleaf.h"
Include dependency graph for cl_request.h:

Go to the source code of this file.

Classes

struct  cl_node_info
struct  cl_replicas

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 
)
void cl_node_info_free ( cl_node_info node_info)
void cl_replicas_free ( cl_replicas replicas)
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 
)