X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fevent.h;h=2d83ad99b359b7a68a59d8c9e6ba36e9b9df6b05;hp=adba336067ad3bf0b97361ed3a68259d992a909e;hb=3696c3db457c4f5456fd357700085caa1056a0f0;hpb=0a4cb93c1c7c7e6f8c5324314457b96072158975;ds=sidebyside diff --git a/discover/event.h b/discover/event.h index adba336..2d83ad9 100644 --- a/discover/event.h +++ b/discover/event.h @@ -10,7 +10,11 @@ enum event_type { enum event_action { EVENT_ACTION_ADD = 20, EVENT_ACTION_REMOVE, - EVENT_ACTION_CONF, + EVENT_ACTION_URL, + EVENT_ACTION_DHCP, + EVENT_ACTION_BOOT, + EVENT_ACTION_SYNC, + EVENT_ACTION_PLUGIN, EVENT_ACTION_MAX, }; @@ -19,7 +23,7 @@ struct event { enum event_action action; const char *device; - struct param { + struct event_param { char *name; char *value; } *params;