diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-06-09 14:50:17 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2018-06-09 14:50:17 +0200 |
commit | ef10351f70c3d41e536c024b71d811bad6e98884 (patch) | |
tree | 81d38abf1e91f9ed9bde28453621f3a16467abba /src/utils.h | |
parent | 0e1a9f70b3e720b506d69db6c920ce017834ae94 (diff) |
POTD skeleton #99.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 8e7adc9..f72255b 100644 --- a/src/utils.h +++ b/src/utils.h @@ -46,6 +46,10 @@ int mount_pts(const char *mount_path); int mount_proc(const char *mount_path); +int setup_network_namespace(const char *name); + +int switch_network_namespace(const char *name); + int create_device_file_checked(const char *mount_path, const char *device_file, mode_t mode, int add_mode, dev_t dev); |