From: Jérémie Galarneau Date: Sat, 14 May 2016 21:31:39 +0000 (-0400) Subject: Hide parse_application_context utility function X-Git-Tag: v2.9.0-rc1~269 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=b12ed34b0005becf4b7e4e1102b49f5f510630c1 Hide parse_application_context utility function Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/context.c b/src/common/context.c index ead6bb3f5..bbd1addc8 100644 --- a/src/common/context.c +++ b/src/common/context.c @@ -25,6 +25,7 @@ #include #include +LTTNG_HIDDEN int parse_application_context(const char *str, char **out_provider_name, char **out_ctx_name) { diff --git a/src/common/context.h b/src/common/context.h index 5552f4da5..8791b71d1 100644 --- a/src/common/context.h +++ b/src/common/context.h @@ -18,6 +18,8 @@ #ifndef LTTNG_COMMON_CONTEXT_H #define LTTNG_COMMON_CONTEXT_H +#include + /* * Parse string as an application context of the form * "$app.provider_name:context_name" and return the provider name and context @@ -29,6 +31,7 @@ * Returns 0 if the string is a valid application context, else a negative * value on error. */ +LTTNG_HIDDEN int parse_application_context(const char *str, char **provider_name, char **ctx_name);