summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/ribmgr.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-11-29 16:01:09 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-11-29 16:01:09 +0100
commitfb4cf92a8f2d2e074d302f4b94385e5e95d6a7d4 (patch)
tree49a08df53780ec1903edf358cf331a6d6bbb7fce /src/ipcpd/normal/ribmgr.c
parent959882e45f430e59d089bf34ed455afafa08cf29 (diff)
downloadouroboros-fb4cf92a8f2d2e074d302f4b94385e5e95d6a7d4.tar.gz
ouroboros-fb4cf92a8f2d2e074d302f4b94385e5e95d6a7d4.zip
ipcpd: normal: Add helper functions for pathnames
This adds some helper functions to construct pathnames. Users of the RIB manager may find these handy when constructing RIB objects.
Diffstat (limited to 'src/ipcpd/normal/ribmgr.c')
-rw-r--r--src/ipcpd/normal/ribmgr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipcpd/normal/ribmgr.c b/src/ipcpd/normal/ribmgr.c
index 5f9ea301..0f76d960 100644
--- a/src/ipcpd/normal/ribmgr.c
+++ b/src/ipcpd/normal/ribmgr.c
@@ -44,6 +44,7 @@
#include "ipcp.h"
#include "cdap_request.h"
#include "ro.h"
+#include "path.h"
#include "static_info.pb-c.h"
typedef StaticInfoMsg static_info_msg_t;
@@ -58,9 +59,8 @@ typedef RoMsg ro_msg_t;
#define ENROLLMENT "enrollment"
-#define RIBMGR_PREFIX "/ribmgr"
-#define STAT_INFO "/statinfo"
-#define PATH_DELIMITER "/"
+#define RIBMGR_PREFIX PATH_DELIMITER "ribmgr"
+#define STAT_INFO PATH_DELIMITER "statinfo"
/* RIB objects */
struct rnode {