discover/event: Rename param -> event_param
[petitboot] / discover / event.h
index 8dee13b560f689cacc46aeb3cbe5cdcc1da233b9..2d83ad99b359b7a68a59d8c9e6ba36e9b9df6b05 100644 (file)
@@ -11,8 +11,10 @@ enum event_action {
        EVENT_ACTION_ADD = 20,
        EVENT_ACTION_REMOVE,
        EVENT_ACTION_URL,
-       EVENT_ACTION_CONF,
        EVENT_ACTION_DHCP,
+       EVENT_ACTION_BOOT,
+       EVENT_ACTION_SYNC,
+       EVENT_ACTION_PLUGIN,
        EVENT_ACTION_MAX,
 };
 
@@ -21,7 +23,7 @@ struct event {
        enum event_action action;
        const char *device;
 
-       struct param {
+       struct event_param {
                char *name;
                char *value;
        } *params;