diff lib/lib.h @ 601:a6a541b7fc34

Add dirtree_parentfd()
author Rob Landley <rob@landley.net>
date Sat, 16 Jun 2012 15:16:08 -0500
parents fb582378a36a
children 8bee9c27c219
line wrap: on
line diff
--- a/lib/lib.h	Sat Jun 16 14:19:56 2012 -0500
+++ b/lib/lib.h	Sat Jun 16 15:16:08 2012 -0500
@@ -74,6 +74,7 @@
 struct dirtree *dirtree_add_node(int dirfd, char *name, int symfollow);
 char *dirtree_path(struct dirtree *node, int *plen);
 int dirtree_notdotdot(struct dirtree *catch);
+int dirtree_parentfd(struct dirtree *node);
 int dirtree_opennode(struct dirtree *try);
 struct dirtree *handle_callback(struct dirtree *new,
 	int (*callback)(struct dirtree *node));