SoW-2019-0002: Dynamic Snapshot
[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>
1831ae68
FD
12#include <assert.h>
13#include <stdbool.h>
18710679
JG
14
15struct lttng_credentials {
16 uid_t uid;
17 gid_t gid;
18};
19
1831ae68
FD
20bool lttng_credentials_is_equal(const struct lttng_credentials *a,
21 const struct lttng_credentials *b);
22
18710679 23#endif /* LTTNG_CREDENTIALS_H */
This page took 0.031074 seconds and 5 git commands to generate.