summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-12 18:54:16 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-12 18:54:16 +0200
commitd468ffff4564ac0d6fb1b13d886ee72785d329ef (patch)
tree52b54fc5f1e020b928c01228d1be413dd3aa8e74 /src/fastd.h
parent78de22fd21b348fc00dde6fa0bfec73abb8fd651 (diff)
downloadfastd-d468ffff4564ac0d6fb1b13d886ee72785d329ef.tar
fastd-d468ffff4564ac0d6fb1b13d886ee72785d329ef.zip
Add pre-up and post-down handlers
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 8201c5c..014bb2f 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -230,12 +230,18 @@ struct fastd_config {
fastd_protocol_config_t *protocol_config;
+ char *on_pre_up;
+ char *on_pre_up_dir;
+
char *on_up;
char *on_up_dir;
char *on_down;
char *on_down_dir;
+ char *on_post_down;
+ char *on_post_down_dir;
+
char *on_establish;
char *on_establish_dir;