404
434
struct object_func *func=object_func_lookup(attr_type);
405
435
if (func && func->create) {
406
436
res->attr.type=attr_type;
411
445
if (command_object_get_attr(ctx, &res->attr, attr_callback_list, &cbl)) {
414
448
dbg(1,"function call %s from %s\n",function, attr_to_name(res->attr.type));
415
449
callback_list_call_attr_4(cbl.u.callback_list, attr_command, function, list, &out, &valid);
417
455
attr_dup_content(out[0], &res->attr);