X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcredentials.h;h=66f2dbebf7d1fdf499fdf9441cbe32314836da25;hb=27553bb6a51fede94f7272b1b0f0f557be76de86;hp=a13e8d65485c556bfdbb0544bfbde10589e3cfc9;hpb=84e46494ef78e9ede2f7bfa64d56f138d40300b6;p=lttng-tools.git diff --git a/src/common/credentials.h b/src/common/credentials.h index a13e8d654..66f2dbebf 100644 --- a/src/common/credentials.h +++ b/src/common/credentials.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2019 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ @@ -19,21 +19,16 @@ struct lttng_credentials { LTTNG_OPTIONAL(gid_t) gid; }; -LTTNG_HIDDEN uid_t lttng_credentials_get_uid(const struct lttng_credentials *creds); -LTTNG_HIDDEN gid_t lttng_credentials_get_gid(const struct lttng_credentials *creds); -LTTNG_HIDDEN bool lttng_credentials_is_equal_uid(const struct lttng_credentials *a, const struct lttng_credentials *b); -LTTNG_HIDDEN bool lttng_credentials_is_equal_gid(const struct lttng_credentials *a, const struct lttng_credentials *b); -LTTNG_HIDDEN bool lttng_credentials_is_equal(const struct lttng_credentials *a, const struct lttng_credentials *b);