aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/format.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-06-21 11:57:07 +0200
committerDave Barach <openvpp@barachs.net>2017-06-21 15:22:06 +0000
commita54230d4e79e088b13f581e301846fc3e259548e (patch)
treea50d7159c7d50eb9bb62c482e856284feaefb524 /src/vppinfra/format.h
parentca1936123cbe2c02521dce6c7890d66135888654 (diff)
Add knob to specify effective group id (gid) for VPP process
Change-Id: Icf9bd4abda058fb380f1a25d5fe3917ffb38b1c4 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/format.h')
-rw-r--r--src/vppinfra/format.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vppinfra/format.h b/src/vppinfra/format.h
index bec1b6b410d..5b7023a3023 100644
--- a/src/vppinfra/format.h
+++ b/src/vppinfra/format.h
@@ -310,6 +310,9 @@ void unformat_init_unix_file (unformat_input_t * input, int file_descriptor);
/* Take input from Unix environment variable; returns
1 if variable exists zero otherwise. */
uword unformat_init_unix_env (unformat_input_t * input, char *var);
+
+/* Unformat unix group id (gid) specified as integer or string */
+unformat_function_t unformat_unix_gid;
#endif /* CLIB_UNIX */
/* Test code. */