#ifdef COMPAT_DIRFD
struct lttng_directory_handle {
struct urcu_ref ref;
+ ino_t directory_inode;
int dirfd;
};
const struct lttng_credentials *creds,
int flags);
+/*
+ * Compare two directory handles.
+ *
+ * Returns true if the two directory handles are equal, false otherwise.
+ */
+LTTNG_HIDDEN
+bool lttng_directory_handle_equals(const struct lttng_directory_handle *lhs,
+ const struct lttng_directory_handle *rhs);
+
#endif /* _COMPAT_PATH_HANDLE_H */