summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-17 03:07:04 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-17 03:07:04 +0000
commit9a1ed6fbf9f6fc6f688fa0508ae73b853b83a299 (patch)
treefe33bad3951c7bd45e18e30bd959b0e1cbb214c1
parenta60cc14aed51d3f5d569e67782205aedbc838a35 (diff)
downloadcoreutils-9a1ed6fbf9f6fc6f688fa0508ae73b853b83a299.tar.xz
Adjust to new make_dir_parents API.
-rw-r--r--lib/mkdir-p.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/mkdir-p.h b/lib/mkdir-p.h
index 6e0c848fd..77a11d6b2 100644
--- a/lib/mkdir-p.h
+++ b/lib/mkdir-p.h
@@ -17,16 +17,17 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-/* Written by David MacKenzie <djm@gnu.ai.mit.edu> and Jim Meyering. */
+/* Written by Paul Eggert, David MacKenzie, and Jim Meyering. */
#include <stdbool.h>
#include <sys/types.h>
-bool make_dir_parents (char const *argname,
+bool make_dir_parents (char *dir,
+ int (*make_ancestor) (char const *, void *),
+ void *options,
mode_t mode,
- mode_t parent_mode,
+ void (*announce) (char const *, void *),
+ mode_t mode_bits,
uid_t owner,
gid_t group,
- bool preserve_existing,
- char const *verbose_fmt_string,
- int *cwd_errno);
+ bool preserve_existing);