Adjust to new make_dir_parents API.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Jul 2006 03:07:04 +0000 (03:07 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Jul 2006 03:07:04 +0000 (03:07 +0000)
lib/mkdir-p.h

index 6e0c848..77a11d6 100644 (file)
    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);