credentials: implement is_equal
[lttng-tools.git] / src / common / credentials.h
index a0d93308c42d11ecf64a7a659d6c4ef0d6621278..9e5fc62608e9f828fadf8f6c37e637a7353c618e 100644 (file)
@@ -9,10 +9,14 @@
 #define LTTNG_CREDENTIALS_H
 
 #include <sys/types.h>
+#include <stdbool.h>
 
 struct lttng_credentials {
        uid_t uid;
        gid_t gid;
 };
 
+bool lttng_credentials_is_equal(const struct lttng_credentials *a,
+               const struct lttng_credentials *b);
+
 #endif /* LTTNG_CREDENTIALS_H */
This page took 0.024721 seconds and 4 git commands to generate.