client->devices[client->n_devices - 1] = device;
talloc_steal(client, device);
+ list_init(&device->boot_options);
if (client->ops.device_add)
client->ops.device_add(device, client->ops.cb_arg);
assert(dev);
talloc_steal(dev, opt);
+ list_add(&dev->boot_options, &opt->list);
if (client->ops.boot_option_add)
client->ops.boot_option_add(dev, opt, client->ops.cb_arg);