summaryrefslogtreecommitdiffstats
path: root/discover/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'discover/event.h')
-rw-r--r--discover/event.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/discover/event.h b/discover/event.h
index 70cc8fc..adba336 100644
--- a/discover/event.h
+++ b/discover/event.h
@@ -20,13 +20,14 @@ struct event {
const char *device;
struct param {
- const char *name;
- const char *value;
+ char *name;
+ char *value;
} *params;
int n_params;
};
int event_parse_ad_message(struct event *event, char *buf, int len);
const char *event_get_param(const struct event *event, const char *name);
+void event_set_param(struct event *event, const char *name, const char *value);
#endif /* _PB_EVENT_H */
OpenPOWER on IntegriCloud