summaryrefslogtreecommitdiffstats
path: root/procd.h
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-01 18:34:13 +0200
committerJohn Crispin <blogic@openwrt.org>2013-07-04 12:42:38 +0200
commit3283d681f9da65b500ad0cb3d4550cb840ed481a (patch)
tree781d470d353e8eb3a8efb71c598b93caf2900b4a /procd.h
parent4ec2545ed6a0626715802a1c7919fe0e38436301 (diff)
downloadunitd-3283d681f9da65b500ad0cb3d4550cb840ed481a.tar
unitd-3283d681f9da65b500ad0cb3d4550cb840ed481a.zip
add trigger support
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'procd.h')
-rw-r--r--procd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/procd.h b/procd.h
index 7f6c7cb..4fd45f2 100644
--- a/procd.h
+++ b/procd.h
@@ -69,4 +69,10 @@ void procd_inittab_run(const char *action);
int mkdev(const char *progname, int progmode);
+struct trigger;
+void trigger_init(void);
+void trigger_event(char *type, struct blob_attr *data);
+void trigger_add(struct blob_attr *rule, void *id);
+void trigger_del(void *id);
+
#endif