credentials: uid and gid now use LTTNG_OPTIONAL
[lttng-tools.git] / src / bin / lttng-sessiond / utils.h
1 /*
2 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8 #ifndef _LTT_UTILS_H
9 #define _LTT_UTILS_H
10
11 struct lttng_ht;
12 struct ltt_session;
13 struct consumer_output;
14
15 const char *get_home_dir(void);
16 int notify_thread_pipe(int wpipe);
17 void ht_cleanup_push(struct lttng_ht *ht);
18 int loglevels_match(int a_loglevel_type, int a_loglevel_value,
19 int b_loglevel_type, int b_loglevel_value, int loglevel_all_type);
20 const char *session_get_base_path(const struct ltt_session *session);
21 const char *consumer_output_get_base_path(const struct consumer_output *output);
22
23 #endif /* _LTT_UTILS_H */
This page took 0.029879 seconds and 4 git commands to generate.