Add pidfile cmdline option
Change-Id: Ibaa61b624eb6683b1be6901a7b29f5f73aad27b2
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
diff --git a/src/vlib/unix/unix.h b/src/vlib/unix/unix.h
index ee1312e..97f5894 100644
--- a/src/vlib/unix/unix.h
+++ b/src/vlib/unix/unix.h
@@ -106,6 +106,9 @@
/* runtime directory path */
u8 *runtime_dir;
+ /* pidfile filename */
+ u8 *pidfile;
+
/* unix config complete */
volatile int unix_config_complete;
@@ -241,6 +244,10 @@
clib_error_t *vlib_unix_recursive_mkdir (char *path);
+clib_error_t *vlib_unix_validate_runtime_file (unix_main_t * um,
+ const char *path,
+ u8 ** full_path);
+
#endif /* included_unix_unix_h */
/*