Record Hooks.
An implementation of as_rec
should provide implementations for each of the hooks.
Definition at line 102 of file as_rec.h.
|
int(* | bin_names )(const as_rec *rec, as_rec_bin_names_callback callback, void *udata) |
|
bool(* | destroy )(as_rec *rec) |
|
as_bytes *(* | digest )(const as_rec *rec) |
|
int(* | drop_key )(const as_rec *rec) |
|
bool(* | foreach )(const as_rec *rec, as_rec_foreach_callback callback, void *udata) |
|
uint16_t(* | gen )(const as_rec *rec) |
|
as_val *(* | get )(const as_rec *rec, const char *name) |
|
uint32_t(* | hashcode )(const as_rec *rec) |
|
as_val *(* | key )(const as_rec *rec) |
|
uint16_t(* | numbins )(const as_rec *rec) |
|
int(* | remove )(const as_rec *rec, const char *bin) |
|
int(* | set )(const as_rec *rec, const char *name, const as_val *value) |
|
int(* | set_flags )(const as_rec *rec, const char *bin, uint8_t flags) |
|
int(* | set_ttl )(const as_rec *rec, uint32_t ttl) |
|
int(* | set_type )(const as_rec *rec, int8_t type) |
|
const char *(* | setname )(const as_rec *rec) |
|
uint32_t(* | ttl )(const as_rec *rec) |
|