optional: Add LTTNG_OPTIONAL_INIT_VALUE
[lttng-tools.git] / src / common / credentials.h
1 /*
2 * Copyright (C) 2019 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8 #ifndef LTTNG_CREDENTIALS_H
9 #define LTTNG_CREDENTIALS_H
10
11 #include <sys/types.h>
12 #include <stdbool.h>
13
14 struct lttng_credentials {
15 uid_t uid;
16 gid_t gid;
17 };
18
19 bool lttng_credentials_is_equal(const struct lttng_credentials *a,
20 const struct lttng_credentials *b);
21
22 #endif /* LTTNG_CREDENTIALS_H */
This page took 0.029515 seconds and 4 git commands to generate.