projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
format-cpp: run clang-format in parallel
[lttng-tools.git]
/
src
/
common
/
credentials.hpp
diff --git
a/src/common/credentials.hpp
b/src/common/credentials.hpp
index 340e64ee96fb92a72f0aa45cc84abf5d81115804..70eaa77b422a022da4c903d40f4da1912de84531 100644
(file)
--- a/
src/common/credentials.hpp
+++ b/
src/common/credentials.hpp
@@
-8,12
+8,12
@@
#ifndef LTTNG_CREDENTIALS_H
#define LTTNG_CREDENTIALS_H
#ifndef LTTNG_CREDENTIALS_H
#define LTTNG_CREDENTIALS_H
-#include <sys/types.h>
-#include <stdbool.h>
#include "macros.hpp"
#include "macros.hpp"
-
#include "optional.hpp"
#include "optional.hpp"
+#include <stdbool.h>
+#include <sys/types.h>
+
struct lttng_credentials {
LTTNG_OPTIONAL(uid_t) uid;
LTTNG_OPTIONAL(gid_t) gid;
struct lttng_credentials {
LTTNG_OPTIONAL(uid_t) uid;
LTTNG_OPTIONAL(gid_t) gid;
@@
-24,12
+24,12
@@
uid_t lttng_credentials_get_uid(const struct lttng_credentials *creds);
gid_t lttng_credentials_get_gid(const struct lttng_credentials *creds);
bool lttng_credentials_is_equal_uid(const struct lttng_credentials *a,
gid_t lttng_credentials_get_gid(const struct lttng_credentials *creds);
bool lttng_credentials_is_equal_uid(const struct lttng_credentials *a,
- const struct lttng_credentials *b);
+
const struct lttng_credentials *b);
bool lttng_credentials_is_equal_gid(const struct lttng_credentials *a,
bool lttng_credentials_is_equal_gid(const struct lttng_credentials *a,
- const struct lttng_credentials *b);
+
const struct lttng_credentials *b);
bool lttng_credentials_is_equal(const struct lttng_credentials *a,
bool lttng_credentials_is_equal(const struct lttng_credentials *a,
- const struct lttng_credentials *b);
+
const struct lttng_credentials *b);
#endif /* LTTNG_CREDENTIALS_H */
#endif /* LTTNG_CREDENTIALS_H */
This page took
0.025005 seconds
and
4
git commands to generate.