2 * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 * SPDX-License-Identifier: GPL-2.0-only
8 #ifndef LTTNG_COMMON_CONTEXT_H
9 #define LTTNG_COMMON_CONTEXT_H
11 #include <common/macros.h>
18 * Parse string as an application context of the form
19 * "$app.provider_name:context_name" and return the provider name and context
22 * provider_name and ctx_name are returned only if an application context name
23 * was successfully parsed and must be freed by the caller.
25 * Returns 0 if the string is a valid application context, else a negative
28 int parse_application_context(const char *str
, char **provider_name
,
35 #endif /* LTTNG_COMMON_CONTEXT_H */
This page took 0.033649 seconds and 4 git commands to generate.