#include <aerospike/as_std.h>
#include <aerospike/as_error.h>
#include <citrusleaf/cf_byte_order.h>
#include <stddef.h>
Go to the source code of this file.
|
as_status | as_compressed_size_error (as_error *err, size_t size) |
|
static as_status | as_compressed_size_parse (as_error *err, const uint8_t *buf, size_t *size) |
|
static as_status | as_msg_parse (as_error *err, as_msg *msg, size_t size) |
|
void | as_msg_swap_header_from_be (as_msg *m) |
|
as_status | as_proto_decompress (as_error *err, uint8_t *trg, size_t trg_sz, uint8_t *src, size_t src_sz) |
|
as_status | as_proto_parse (as_error *err, as_proto *proto) |
|
static as_status | as_proto_parse_type (as_error *err, as_proto *proto, uint8_t expected_type) |
|
as_status | as_proto_size_error (as_error *err, size_t size) |
|
void | as_proto_swap_from_be (as_proto *m) |
|
void | as_proto_swap_to_be (as_proto *m) |
|
as_status | as_proto_type_error (as_error *err, as_proto *proto, uint8_t expected) |
|
as_status | as_proto_version_error (as_error *err, as_proto *proto) |
|
◆ AS_ADMIN_MESSAGE_TYPE
#define AS_ADMIN_MESSAGE_TYPE 2 |
◆ AS_COMPRESSED_MESSAGE_TYPE
#define AS_COMPRESSED_MESSAGE_TYPE 4 |
◆ AS_INFO_MESSAGE_TYPE
#define AS_INFO_MESSAGE_TYPE 1 |
◆ AS_MESSAGE_TYPE
#define AS_MESSAGE_TYPE 3 |
◆ AS_PROTO_VERSION
#define AS_PROTO_VERSION 2 |
◆ PROTO_SIZE_MAX
#define PROTO_SIZE_MAX (128 * 1024 * 1024) |
◆ as_compressed_size_error()
◆ as_compressed_size_parse()
static as_status as_compressed_size_parse |
( |
as_error * | err, |
|
|
const uint8_t * | buf, |
|
|
size_t * | size ) |
|
inlinestatic |
◆ as_msg_parse()
◆ as_msg_swap_header_from_be()
void as_msg_swap_header_from_be |
( |
as_msg * | m | ) |
|
◆ as_proto_decompress()
as_status as_proto_decompress |
( |
as_error * | err, |
|
|
uint8_t * | trg, |
|
|
size_t | trg_sz, |
|
|
uint8_t * | src, |
|
|
size_t | src_sz ) |
◆ as_proto_parse()
◆ as_proto_parse_type()
static as_status as_proto_parse_type |
( |
as_error * | err, |
|
|
as_proto * | proto, |
|
|
uint8_t | expected_type ) |
|
inlinestatic |
◆ as_proto_size_error()
◆ as_proto_swap_from_be()
void as_proto_swap_from_be |
( |
as_proto * | m | ) |
|
◆ as_proto_swap_to_be()
void as_proto_swap_to_be |
( |
as_proto * | m | ) |
|
◆ as_proto_type_error()
◆ as_proto_version_error()
◆ data
◆ generation
◆ header_sz
◆ info1
◆ info2
◆ info3
◆ n_fields
◆ n_ops
◆ proto
◆ record_ttl
◆ result_code
◆ sz
◆ transaction_ttl
◆ type
◆ uncompressed_sz
◆ unused
◆ version