summaryrefslogtreecommitdiff
path: root/src/lib/config.h.in
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-09-18 08:03:31 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-09-18 09:27:53 +0200
commitf86502516b2a069954d0529d8b43593ece7360eb (patch)
tree73bc28244ef03c23e2ba5e79ae843de3df3fe727 /src/lib/config.h.in
parent60ffacc12ab73752cb6ef736f2b41022c984785c (diff)
downloadouroboros-f86502516b2a069954d0529d8b43593ece7360eb.tar.gz
ouroboros-f86502516b2a069954d0529d8b43593ece7360eb.zip
lib: Provide RIB API to export internals via fuse
This adds a virtual RIB that is accessible as a filesystem that is accessed through a fuse mountpoint (configurable , default is /tmp/ouroboros). Currently, each IPCP will export its link state database.
Diffstat (limited to 'src/lib/config.h.in')
-rw-r--r--src/lib/config.h.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/config.h.in b/src/lib/config.h.in
index e9c43389..a85ce7b4 100644
--- a/src/lib/config.h.in
+++ b/src/lib/config.h.in
@@ -45,6 +45,11 @@
#cmakedefine HAVE_ROBUST_MUTEX
#endif
+#cmakedefine HAVE_FUSE
+#ifdef HAVE_FUSE
+#define FUSE_PREFIX "@FUSE_PREFIX@"
+#endif
+
#define PTHREAD_COND_CLOCK @PTHREAD_COND_CLOCK@
#define AP_MAX_FLOWS @AP_MAX_FLOWS@
@@ -53,5 +58,3 @@
#define DU_BUFF_HEADSPACE @DU_BUFF_HEADSPACE@
#define DU_BUFF_TAILSPACE @DU_BUFF_TAILSPACE@
-
-#define CDAP_REPLY_TIMEOUT @CDAP_REPLY_TIMEOUT@