aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dirvec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dirvec.h b/src/dirvec.h
index 02496cd2b..b820e8739 100644
--- a/src/dirvec.h
+++ b/src/dirvec.h
@@ -23,4 +23,7 @@ static inline void dirvec_clear(struct dirvec *dv)
void dirvec_destroy(struct dirvec *dv);
+int dirvec_for_each(const struct dirvec *dv,
+ int (*fn)(struct directory *, void *), void *arg);
+
#endif /* DIRVEC_H */