diff options
author | Pierre Pfister <ppfister@cisco.com> | 2017-07-27 22:57:34 -0400 |
---|---|---|
committer | Pierre Pfister <ppfister@cisco.com> | 2017-09-05 18:10:40 +0200 |
commit | 9a244bb5e4a21835cac51ba7f35095b9c24547e6 (patch) | |
tree | ad8874c4ee37e1cebc85592982547ad4dd5858fc /src/vlib/unix/unix.h | |
parent | 215961829c4ae5f738ffcd01a8d1afcab13bd0e2 (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.h | 7 |
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 */ /* |