![]() |
#include <inttypes.h>
#include <stdbool.h>
#include <netinet/in.h>
#include <citrusleaf/cf_atomic.h>
#include <citrusleaf/cf_ll.h>
#include <citrusleaf/cf_vector.h>
#include <citrusleaf/cf_queue.h>
#include <citrusleaf/cf_digest.h>
#include <citrusleaf/cf_log_internal.h>
#include <citrusleaf/cf_proto.h>
#include <aerospike/as_buffer.h>
#include <aerospike/as_string.h>
#include <citrusleaf/citrusleaf.h>
#include <citrusleaf/cl_cluster.h>
#include <citrusleaf/cl_udf.h>
#include <citrusleaf/cl_scan.h>
Go to the source code of this file.
Data Structures | |
struct | as_call |
struct | cl_async_work |
struct | cl_batch_work |
Macros | |
#define | CL_MSG_FIELD_TYPE_UDF_ARGLIST 32 |
#define | CL_MSG_FIELD_TYPE_UDF_FILENAME 30 |
#define | CL_MSG_FIELD_TYPE_UDF_FUNCTION 31 |
#define | DO_PRAGMA(x) _Pragma (#x) |
#define | MAX_PACKAGE_NAME_SIZE 64 |
#define | TODO(x) DO_PRAGMA(message ("TODO - " x)) |
Functions | |
int | citrusleaf_info_host_limit (struct sockaddr_in *sa_in, char *names, char **values, int timeout_ms, bool send_asis, uint64_t max_response_length, bool check_bounds) |
void | cl_cluster_batch_init () |
void | cl_cluster_batch_shutdown () |
int | cl_compile (uint info1, uint info2, uint info3, const char *ns, const char *set, const cl_object *key, const cf_digest *digest, cl_bin *values, cl_operator operator, cl_operation *operations, int n_values, uint8_t **buf_r, size_t *buf_sz_r, const cl_write_parameters *cl_w_p, cf_digest *d_ret, uint64_t trid, cl_scan_param_field *scan_field, as_call *as_call, uint8_t udf_type) |
int | cl_del_node_asyncworkitems (void *key, void *value, void *clnode) |
int | cl_do_async_monte (cl_cluster *asc, int info1, int info2, const char *ns, const char *set, const cl_object *key, const cf_digest *digest, cl_bin **values, cl_operator operator, cl_operation **operations, int *n_values, uint32_t *cl_gen, const cl_write_parameters *cl_w_p, uint64_t *trid, void *udata) |
int | cl_object_get_size (cl_object *obj, size_t *sz) |
int | cl_object_to_buf (cl_object *obj, uint8_t *data) |
int | cl_parse (cl_msg *msg, uint8_t *buf, size_t buf_len, cl_bin **values_r, cl_operation **operations_r, int *n_values_r, uint64_t *trid, char **setname_r) |
void | cl_set_value_particular (cl_msg_op *op, cl_bin *value) |
int | cl_value_to_op (cl_bin *v, cl_operator clOperator, cl_operation *operation, cl_msg_op *op) |
int | cl_value_to_op_get_size (cl_bin *v, size_t *sz) |
uint8_t * | cl_write_header (uint8_t *buf, size_t msg_sz, uint info1, uint info2, uint info3, uint32_t generation, uint32_t record_ttl, uint32_t transaction_ttl, uint32_t n_fields, uint32_t n_ops) |
int | do_the_full_monte (cl_cluster *asc, int info1, int info2, int info3, const char *ns, const char *set, const cl_object *key, const cf_digest *digest, cl_bin **values, cl_operator operator, cl_operation **operations, int *n_values, uint32_t *cl_gen, const cl_write_parameters *cl_w_p, uint64_t *trid, char **setname_r, as_call *call, uint32_t *cl_ttl) |
Variables | |
shash * | g_cl_async_hashtab |
cf_queue * | g_cl_async_q |
cf_queue * | g_cl_workitems_freepool_q |
#define CL_MSG_FIELD_TYPE_UDF_ARGLIST 32 |
Definition at line 54 of file src/main/citrusleaf/internal.h.
#define CL_MSG_FIELD_TYPE_UDF_FILENAME 30 |
Definition at line 52 of file src/main/citrusleaf/internal.h.
#define CL_MSG_FIELD_TYPE_UDF_FUNCTION 31 |
Definition at line 53 of file src/main/citrusleaf/internal.h.
#define DO_PRAGMA | ( | x) | _Pragma (#x) |
Definition at line 58 of file src/main/citrusleaf/internal.h.
#define MAX_PACKAGE_NAME_SIZE 64 |
Definition at line 49 of file src/main/citrusleaf/internal.h.
#define TODO | ( | x) | DO_PRAGMA(message ("TODO - " x)) |
Definition at line 59 of file src/main/citrusleaf/internal.h.
int citrusleaf_info_host_limit | ( | struct sockaddr_in * | sa_in, |
char * | names, | ||
char ** | values, | ||
int | timeout_ms, | ||
bool | send_asis, | ||
uint64_t | max_response_length, | ||
bool | check_bounds | ||
) |
void cl_cluster_batch_init | ( | ) |
void cl_cluster_batch_shutdown | ( | ) |
int cl_compile | ( | uint | info1, |
uint | info2, | ||
uint | info3, | ||
const char * | ns, | ||
const char * | set, | ||
const cl_object * | key, | ||
const cf_digest * | digest, | ||
cl_bin * | values, | ||
cl_operator | operator, | ||
cl_operation * | operations, | ||
int | n_values, | ||
uint8_t ** | buf_r, | ||
size_t * | buf_sz_r, | ||
const cl_write_parameters * | cl_w_p, | ||
cf_digest * | d_ret, | ||
uint64_t | trid, | ||
cl_scan_param_field * | scan_field, | ||
as_call * | as_call, | ||
uint8_t | udf_type | ||
) |
int cl_del_node_asyncworkitems | ( | void * | key, |
void * | value, | ||
void * | clnode | ||
) |
int cl_do_async_monte | ( | cl_cluster * | asc, |
int | info1, | ||
int | info2, | ||
const char * | ns, | ||
const char * | set, | ||
const cl_object * | key, | ||
const cf_digest * | digest, | ||
cl_bin ** | values, | ||
cl_operator | operator, | ||
cl_operation ** | operations, | ||
int * | n_values, | ||
uint32_t * | cl_gen, | ||
const cl_write_parameters * | cl_w_p, | ||
uint64_t * | trid, | ||
void * | udata | ||
) |
int cl_object_get_size | ( | cl_object * | obj, |
size_t * | sz | ||
) |
int cl_object_to_buf | ( | cl_object * | obj, |
uint8_t * | data | ||
) |
int cl_parse | ( | cl_msg * | msg, |
uint8_t * | buf, | ||
size_t | buf_len, | ||
cl_bin ** | values_r, | ||
cl_operation ** | operations_r, | ||
int * | n_values_r, | ||
uint64_t * | trid, | ||
char ** | setname_r | ||
) |
void cl_set_value_particular | ( | cl_msg_op * | op, |
cl_bin * | value | ||
) |
int cl_value_to_op | ( | cl_bin * | v, |
cl_operator | clOperator, | ||
cl_operation * | operation, | ||
cl_msg_op * | op | ||
) |
int cl_value_to_op_get_size | ( | cl_bin * | v, |
size_t * | sz | ||
) |
uint8_t* cl_write_header | ( | uint8_t * | buf, |
size_t | msg_sz, | ||
uint | info1, | ||
uint | info2, | ||
uint | info3, | ||
uint32_t | generation, | ||
uint32_t | record_ttl, | ||
uint32_t | transaction_ttl, | ||
uint32_t | n_fields, | ||
uint32_t | n_ops | ||
) |
int do_the_full_monte | ( | cl_cluster * | asc, |
int | info1, | ||
int | info2, | ||
int | info3, | ||
const char * | ns, | ||
const char * | set, | ||
const cl_object * | key, | ||
const cf_digest * | digest, | ||
cl_bin ** | values, | ||
cl_operator | operator, | ||
cl_operation ** | operations, | ||
int * | n_values, | ||
uint32_t * | cl_gen, | ||
const cl_write_parameters * | cl_w_p, | ||
uint64_t * | trid, | ||
char ** | setname_r, | ||
as_call * | call, | ||
uint32_t * | cl_ttl | ||
) |
shash* g_cl_async_hashtab |
cf_queue* g_cl_async_q |
cf_queue* g_cl_workitems_freepool_q |