aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirvec.h')
-rw-r--r--src/dirvec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dirvec.h b/src/dirvec.h
index 02496cd2b..6709537b8 100644
--- a/src/dirvec.h
+++ b/src/dirvec.h
@@ -8,8 +8,6 @@ struct dirvec {
size_t nr;
};
-void dirvec_sort(struct dirvec *dv);
-
struct directory *dirvec_find(const struct dirvec *dv, const char *path);
int dirvec_delete(struct dirvec *dv, struct directory *del);
@@ -23,4 +21,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 */