Go to the source code of this file.
|
bool | as_cdt_add_packed (as_packer *pk, as_operations *ops, const char *name, as_operator op_type) |
|
bool | as_cdt_ctx_from_unpacker (as_cdt_ctx *ctx, as_unpacker *pk) |
|
uint32_t | as_cdt_ctx_pack (const as_cdt_ctx *ctx, as_packer *pk) |
|
void | as_cdt_pack_ctx (as_packer *pk, as_cdt_ctx *ctx) |
|
void | as_cdt_pack_header (as_packer *pk, as_cdt_ctx *ctx, uint16_t command, uint32_t count) |
|
void | as_cdt_pack_header_flag (as_packer *pk, as_cdt_ctx *ctx, uint16_t command, uint32_t count, uint32_t flag) |
|
static void | as_pack_byte_string (as_packer *pk, const uint8_t *b, uint32_t len) |
|
static void | as_pack_string (as_packer *pk, const char *s) |
|
bool | as_unpack_bytes_init (as_unpacker *pk, uint8_t *b, uint32_t max) |
|
bool | as_unpack_bytes_new (as_unpacker *pk, uint8_t **bytes, uint32_t *bytes_size, uint32_t max) |
|
bool | as_unpack_str_init (as_unpacker *pk, char *str, uint32_t max) |
|
bool | as_unpack_str_new (as_unpacker *pk, char **str, uint32_t max) |
|
bool | as_val_compare (as_val *v1, as_val *v2) |
|
Value:if (!(pk)->buffer) {\
(pk)->buffer = cf_malloc((pk)->offset);\
(pk)->capacity = (pk)->offset;\
(pk)->offset = 0;\
(pk)->head = NULL;\
(pk)->tail = NULL;\
continue;\
}\
break;\
}
Definition at line 35 of file as_cdt_internal.h.
Value:printf("Line %d\n", __LINE__);\
return false;
Definition at line 94 of file as_cdt_internal.h.
void as_cdt_pack_header_flag |
( |
as_packer * |
pk, |
|
|
as_cdt_ctx * |
ctx, |
|
|
uint16_t |
command, |
|
|
uint32_t |
count, |
|
|
uint32_t |
flag |
|
) |
| |
static void as_pack_byte_string |
( |
as_packer * |
pk, |
|
|
const uint8_t * |
b, |
|
|
uint32_t |
len |
|
) |
| |
|
inlinestatic |
static void as_pack_string |
( |
as_packer * |
pk, |
|
|
const char * |
s |
|
) |
| |
|
inlinestatic |
bool as_unpack_bytes_init |
( |
as_unpacker * |
pk, |
|
|
uint8_t * |
b, |
|
|
uint32_t |
max |
|
) |
| |
bool as_unpack_bytes_new |
( |
as_unpacker * |
pk, |
|
|
uint8_t ** |
bytes, |
|
|
uint32_t * |
bytes_size, |
|
|
uint32_t |
max |
|
) |
| |
bool as_unpack_str_init |
( |
as_unpacker * |
pk, |
|
|
char * |
str, |
|
|
uint32_t |
max |
|
) |
| |
bool as_unpack_str_new |
( |
as_unpacker * |
pk, |
|
|
char ** |
str, |
|
|
uint32_t |
max |
|
) |
| |