#include "event.h"
#include "parser-utils.h"
+/**
+ * parse_user_event - Parse a user event.
+ *
+ * Understands params: name, image, args.
+ */
+
int parse_user_event(struct device *device, struct event *event)
{
struct boot_option *opt;
}
opt->id = talloc_asprintf(opt, "%s#%s", device->id, p);
+ opt->device_id = talloc_strdup(opt, device->id);
opt->name = talloc_strdup(opt, p);
p = event_get_param(event, "image");