34 typedef enum as_operator_e {
75 typedef struct as_binop_s {
102 typedef struct as_binops_s {
275 typedef struct as_operations_s {
322 #define as_operations_inita(__ops, __nops) \
323 (__ops)->_free = false;\
326 (__ops)->binops._free = false;\
327 (__ops)->binops.capacity = __nops;\
328 (__ops)->binops.size = 0;\
329 (__ops)->binops.entries = (as_binop *) alloca(sizeof(as_binop) * __nops);
bool as_operations_add_append_rawp(as_operations *ops, const as_bin_name name, const uint8_t *value, uint32_t size, bool free)
bool as_operations_add_write_int64(as_operations *ops, const as_bin_name name, int64_t value)
static bool as_operations_add_prepend_raw(as_operations *ops, const as_bin_name name, const uint8_t *value, uint32_t size)
as_operations * as_operations_new(uint16_t nops)
void as_operations_destroy(as_operations *ops)
as_operations * as_operations_init(as_operations *ops, uint16_t nops)
bool as_operations_add_incr(as_operations *ops, const as_bin_name name, int64_t value)
static bool as_operations_add_write_str(as_operations *ops, const as_bin_name name, const char *value)
static bool as_operations_add_prepend_str(as_operations *ops, const as_bin_name name, const char *value)
bool as_operations_add_prepend_rawp(as_operations *ops, const as_bin_name name, const uint8_t *value, uint32_t size, bool free)
static bool as_operations_add_append_raw(as_operations *ops, const as_bin_name name, const uint8_t *value, uint32_t size)
bool as_operations_add_write(as_operations *ops, const as_bin_name name, as_bin_value *value)
static bool as_operations_add_write_raw(as_operations *ops, const as_bin_name name, const uint8_t *value, uint32_t size)
bool as_operations_add_write_strp(as_operations *ops, const as_bin_name name, const char *value, bool free)
bool as_operations_add_write_rawp(as_operations *ops, const as_bin_name name, const uint8_t *value, uint32_t size, bool free)
char as_bin_name[AS_BIN_NAME_MAX_SIZE]
bool as_operations_add_read(as_operations *ops, const as_bin_name name)
bool as_operations_add_append_strp(as_operations *ops, const as_bin_name name, const char *value, bool free)
bool as_operations_add_touch(as_operations *ops)
bool as_operations_add_prepend_strp(as_operations *ops, const as_bin_name name, const char *value, bool free)
static bool as_operations_add_append_str(as_operations *ops, const as_bin_name name, const char *value)