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