summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/gf-dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/gf-dirent.h')
-rw-r--r--libglusterfs/src/gf-dirent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/gf-dirent.h b/libglusterfs/src/gf-dirent.h
index 36a5a629c..26cb5a668 100644
--- a/libglusterfs/src/gf-dirent.h
+++ b/libglusterfs/src/gf-dirent.h
@@ -48,6 +48,7 @@ struct _gf_dirent_t {
char d_name[0];
};
+#define DT_ISDIR(mode) (mode == DT_DIR)
gf_dirent_t *gf_dirent_for_name (const char *name);
void gf_dirent_free (gf_dirent_t *entries);