40 struct as_rec_hooks_s;
65 typedef struct as_rec_s {
82 const struct as_rec_hooks_s *
hooks;
92 typedef struct as_rec_hooks_s {
102 uint32_t (* hashcode)(
const as_rec * rec);
112 int (* set)(
const as_rec * rec,
const char * name,
const as_val * value);
117 int (*
remove)(
const as_rec * rec,
const char * bin);
132 uint16_t (* numbins)(
const as_rec * rec);
142 int (* set_flags)(
const as_rec * rec,
const char * bin, uint8_t flags);
147 int (* set_type)(
const as_rec * rec, uint8_t type);
221 return rec ? rec->
data : NULL;
581 return as_util_hook(
foreach,
false, rec, callback, udata);