X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcontext.h;fp=src%2Fcommon%2Fcontext.h;h=0000000000000000000000000000000000000000;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=f4abd841726d41b1ad48fcf52d8eea9ec6b6d1f9;hpb=4878de5c7deb512bbdac4fdfc498907efa06fb7c;p=lttng-tools.git diff --git a/src/common/context.h b/src/common/context.h deleted file mode 100644 index f4abd8417..000000000 --- a/src/common/context.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2016 Jérémie Galarneau - * - * SPDX-License-Identifier: GPL-2.0-only - * - */ - -#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 - * name separately. - * - * provider_name and ctx_name are returned only if an application context name - * was successfully parsed and must be freed by the caller. - * - * Returns 0 if the string is a valid application context, else a negative - * value on error. - */ -int parse_application_context(const char *str, char **provider_name, - char **ctx_name); - -#endif /* LTTNG_COMMON_CONTEXT_H */