summaryrefslogtreecommitdiff
path: root/lib/libfrr.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-06-12 17:31:50 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-25 08:52:28 +0100
commita5b38c5bd252ab7bf2294a2303ce845df40d82dd (patch)
tree5bd23b8f1f0c9876e3ffe94e8d03364a165a1271 /lib/libfrr.h
parentb249c083d53ef25c54f4347f656daebf61827581 (diff)
lib: add hook infrastructure
Please refer to lib/hook.h for a description/documentation. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/libfrr.h')
-rw-r--r--lib/libfrr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libfrr.h b/lib/libfrr.h
index 71225fad38..a40fc34892 100644
--- a/lib/libfrr.h
+++ b/lib/libfrr.h
@@ -27,6 +27,7 @@
#include "log.h"
#include "getopt.h"
#include "module.h"
+#include "hook.h"
#define FRR_NO_PRIVSEP (1 << 0)
#define FRR_NO_TCPVTY (1 << 1)
@@ -95,6 +96,7 @@ extern void frr_help_exit(int status);
extern struct thread_master *frr_init(void);
+DECLARE_HOOK(frr_late_init, (struct thread_master *tm), (tm))
extern void frr_config_fork(void);
extern void frr_vty_serv(void);