summaryrefslogtreecommitdiffstats
path: root/lib/xfts.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xfts.h')
-rw-r--r--lib/xfts.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/xfts.h b/lib/xfts.h
new file mode 100644
index 0000000..0b129aa
--- /dev/null
+++ b/lib/xfts.h
@@ -0,0 +1,12 @@
+#include <stdbool.h>
+#include "fts_.h"
+
+FTS *
+xfts_open (char * const *, int options,
+ int (*) (const FTSENT **, const FTSENT **))
+ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (fts_close, 1)
+ _GL_ATTRIBUTE_NONNULL ((1)) _GL_ATTRIBUTE_RETURNS_NONNULL;
+
+bool
+cycle_warning_required (FTS const *fts, FTSENT const *ent)
+ _GL_ATTRIBUTE_NONNULL () _GL_ATTRIBUTE_PURE;