29 struct xmmsv_coll_St {
39 int32_t *legacy_idlist;
101 coll->legacy_idlist = NULL;
125 if (coll->legacy_idlist) {
126 free (coll->legacy_idlist);
143 x_api_error_if (coll->ref < 1,
"with a freed collection",);
146 if (coll->ref == 0) {
147 xmmsv_coll_free (coll);
166 for (i = 0; ids[i]; i++) {
206 if (_xmmsv_coll_operand_find (it, op)) {
207 x_api_warning (
"with an operand already in operand list");
236 if (_xmmsv_coll_operand_find (it, op)) {
239 x_api_warning (
"with an operand not in operand list");
399 if (coll->legacy_idlist) {
400 free (coll->legacy_idlist);
410 coll->legacy_idlist[i] = entry;
412 coll->legacy_idlist[i] = 0;
414 return coll->legacy_idlist;
441 return coll->operands;
449 return coll->attributes;
509 struct attr_fe_data {
515 attr_fe_func (
const char *key,
xmmsv_t *val,
void *user_data)
517 struct attr_fe_data *d = user_data;
524 d->func (key, v, d->userdata);
542 struct attr_fe_data d = {func, user_data};