aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/unix/unix.h
diff options
context:
space:
mode:
authorPierre Pfister <ppfister@cisco.com>2017-07-27 22:57:34 -0400
committerPierre Pfister <ppfister@cisco.com>2017-09-05 18:10:40 +0200
commit9a244bb5e4a21835cac51ba7f35095b9c24547e6 (patch)
treead8874c4ee37e1cebc85592982547ad4dd5858fc /src/vlib/unix/unix.h
parent215961829c4ae5f738ffcd01a8d1afcab13bd0e2 (diff)
Add pidfile cmdline option
Change-Id: Ibaa61b624eb6683b1be6901a7b29f5f73aad27b2 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'src/vlib/unix/unix.h')
-rw-r--r--src/vlib/unix/unix.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vlib/unix/unix.h b/src/vlib/unix/unix.h
index ee1312e3498..97f589447b8 100644
--- a/src/vlib/unix/unix.h
+++ b/src/vlib/unix/unix.h
@@ -106,6 +106,9 @@ typedef struct
/* 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 *foreach_directory_file (char *dir_name,
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 */
/*