24#include <citrusleaf/alloc.h>
34#define AS_ASYNC_TYPE_WRITE 0
35#define AS_ASYNC_TYPE_RECORD 1
36#define AS_ASYNC_TYPE_VALUE 2
37#define AS_ASYNC_TYPE_BATCH 3
38#define AS_ASYNC_TYPE_SCAN 4
39#define AS_ASYNC_TYPE_QUERY 5
40#define AS_ASYNC_TYPE_INFO 6
41#define AS_ASYNC_TYPE_SCAN_PARTITION 7
42#define AS_ASYNC_TYPE_QUERY_PARTITION 8
43#define AS_ASYNC_TYPE_CONNECTOR 9
45#define AS_AUTHENTICATION_MAX_SIZE 158
47#define AS_ASYNC_CONNECTION_COMPLETE 0
48#define AS_ASYNC_CONNECTION_PENDING 1
49#define AS_ASYNC_CONNECTION_ERROR 2
122 as_policy_replica replica, uint8_t replica_index,
bool deserialize,
bool heap_rec,
#define AS_ASYNC_TYPE_VALUE
static as_event_command * as_async_write_command_create(as_cluster *cluster, const as_policy_base *policy, as_partition_info *pi, as_policy_replica replica, as_async_write_listener listener, void *udata, as_event_loop *event_loop, as_pipe_listener pipe_listener, size_t size, as_event_parse_results_fn parse_results)
#define AS_ASYNC_TYPE_INFO
#define AS_ASYNC_TYPE_RECORD
#define AS_ASYNC_TYPE_WRITE
static as_event_command * as_async_record_command_create(as_cluster *cluster, const as_policy_base *policy, as_partition_info *pi, as_policy_replica replica, uint8_t replica_index, bool deserialize, bool heap_rec, uint8_t flags, as_async_record_listener listener, void *udata, as_event_loop *event_loop, as_pipe_listener pipe_listener, size_t size, as_event_parse_results_fn parse_results, as_latency_type latency_type)
#define AS_AUTHENTICATION_MAX_SIZE
static as_event_command * as_async_info_command_create(as_node *node, const as_policy_info *policy, as_async_info_listener listener, void *udata, as_event_loop *event_loop, size_t size)
static as_event_command * as_async_value_command_create(as_cluster *cluster, const as_policy_base *policy, as_partition_info *pi, as_policy_replica replica, as_async_value_listener listener, void *udata, as_event_loop *event_loop, as_pipe_listener pipe_listener, size_t size, as_event_parse_results_fn parse_results)
static void as_cluster_add_tran(as_cluster *cluster)
static as_policy_replica as_command_write_replica(as_policy_replica replica)
bool as_event_command_parse_info(as_event_command *cmd)
#define AS_ASYNC_STATE_UNREGISTERED
#define AS_ASYNC_FLAGS_DESERIALIZE
bool(* as_event_parse_results_fn)(struct as_event_command *cmd)
static as_event_loop * as_event_assign(as_event_loop *event_loop)
#define AS_ASYNC_FLAGS_HEAP_REC
#define AS_LATENCY_TYPE_NONE
#define AS_LATENCY_TYPE_WRITE
void(* as_pipe_listener)(void *udata, as_event_loop *event_loop)
void(* as_async_value_listener)(as_error *err, as_val *val, void *udata, as_event_loop *event_loop)
void(* as_async_write_listener)(as_error *err, void *udata, as_event_loop *event_loop)
void(* as_async_record_listener)(as_error *err, as_record *record, void *udata, as_event_loop *event_loop)
void(* as_async_info_listener)(as_error *err, char *response, void *udata, as_event_loop *event_loop)
#define AS_INFO_MESSAGE_TYPE
@ AS_POLICY_REPLICA_MASTER
as_async_info_listener listener
as_async_record_listener listener
as_async_value_listener listener
as_async_write_listener listener
as_latency_type latency_type
as_event_loop * event_loop
as_pipe_listener pipe_listener
as_event_parse_results_fn parse_results
as_policy_replica replica
struct as_cluster_s * cluster