X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=procd.h;h=4ae0dc9a7e01507db603a6551032ee93e4323169;hp=62f45b8faf72aa505f2518d9891290ce77ed3e65;hb=562223169e7277237951f590ca0a2f32b112dcb1;hpb=aed06fc9cbad91c4f864f0867a187c54cb49aace diff --git a/procd.h b/procd.h index 62f45b8..4ae0dc9 100644 --- a/procd.h +++ b/procd.h @@ -47,8 +47,12 @@ void procd_bcast_event(char *event, struct blob_attr *msg); struct trigger; void trigger_init(void); -void trigger_event(char *type, struct blob_attr *data); +void trigger_event(const char *type, struct blob_attr *data); void trigger_add(struct blob_attr *rule, void *id); void trigger_del(void *id); +void watch_add(const char *_name, void *id); +void watch_del(void *id); +void watch_ubus(struct ubus_context *ctx); + #endif