Refactoring: use an opaque lttng_tracker_id type
[lttng-tools.git] / src / bin / lttng-sessiond / utils.h
CommitLineData
8e68d1c8
DG
1/*
2 * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
3 *
d14d33bf
AM
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License, version 2 only,
6 * as published by the Free Software Foundation.
8e68d1c8 7 *
d14d33bf
AM
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
8e68d1c8 12 *
d14d33bf
AM
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
8e68d1c8
DG
16 */
17
54d01ffb
DG
18#ifndef _LTT_UTILS_H
19#define _LTT_UTILS_H
8e68d1c8 20
0b2dc8df 21struct lttng_ht;
a1ae2ea5 22struct ltt_session;
348a81dc 23struct consumer_output;
0b2dc8df 24
b082db07 25const char *get_home_dir(void);
54d01ffb 26int notify_thread_pipe(int wpipe);
0b2dc8df 27void ht_cleanup_push(struct lttng_ht *ht);
19a97244
PP
28int loglevels_match(int a_loglevel_type, int a_loglevel_value,
29 int b_loglevel_type, int b_loglevel_value, int loglevel_all_type);
a1ae2ea5 30const char *session_get_base_path(const struct ltt_session *session);
348a81dc 31const char *consumer_output_get_base_path(const struct consumer_output *output);
8e68d1c8
DG
32
33#endif /* _LTT_UTILS_H */
This page took 0.05646 seconds and 4 git commands to generate.