summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_namespace.h
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2021-07-28 14:09:50 +0200
committerFlorin Coras <florin.coras@gmail.com>2021-10-05 19:13:13 +0000
commit7b3a3df263c7a5bf549f350553cbd9bce7ee40b3 (patch)
tree6c42695ee8e90c93bbe49c3cded4f35262322bc6 /src/vnet/session/application_namespace.h
parent5546e43f7943d6edff6c6587ed4e7233e8002e28 (diff)
session: Add session_sapi_enable_disable
Type: feature This adds an API message to do the switch at runtime. Change-Id: Ice6b69c57f0bfbf5668182e25593362ff4133615 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet/session/application_namespace.h')
-rw-r--r--src/vnet/session/application_namespace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/application_namespace.h b/src/vnet/session/application_namespace.h
index 14e6a650e56..1750d41fff8 100644
--- a/src/vnet/session/application_namespace.h
+++ b/src/vnet/session/application_namespace.h
@@ -162,7 +162,7 @@ appns_sapi_handle_sock_index (u32 sapi_sock_handle)
int appns_sapi_add_ns_socket (app_namespace_t * app_ns);
void appns_sapi_del_ns_socket (app_namespace_t *app_ns);
u8 appns_sapi_enabled (void);
-void appns_sapi_enable (void);
+int appns_sapi_enable_disable (int is_enable);
#endif /* SRC_VNET_SESSION_APPLICATION_NAMESPACE_H_ */