X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fevent.h;h=70cc8fc3c15d3da7e39436e0c527696de7d1eced;hp=91575ccd0de02004b94ff032566841e7c528e1b3;hb=8e9e2736dd0bb590cd9db300d12838d40cfe619e;hpb=0fdc5cc3f296db134729fe58e074c20084b99459 diff --git a/discover/event.h b/discover/event.h index 91575cc..70cc8fc 100644 --- a/discover/event.h +++ b/discover/event.h @@ -10,17 +10,18 @@ enum event_type { enum event_action { EVENT_ACTION_ADD = 20, EVENT_ACTION_REMOVE, + EVENT_ACTION_CONF, EVENT_ACTION_MAX, }; struct event { enum event_type type; enum event_action action; - char *device; + const char *device; struct param { - char *name; - char *value; + const char *name; + const char *value; } *params; int n_params; };