]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - mkdir.h
* Replace everything with a new GUI version
[cygwin-apps/setup.git] / mkdir.h
similarity index 53%
rename from strarry.h
rename to mkdir.h
index 0397f361007e9c15184a912e2044e529a5704942..151edc0b7316d1e5c912db50f6b9801232d60530 100644 (file)
--- a/strarry.h
+++ b/mkdir.h
@@ -9,20 +9,13 @@
  *     A copy of the GNU General Public License can be found at
  *     http://www.gnu.org/
  *
- * Written by Ron Parker <parkerrd@hotmail.com>
+ * Written by DJ Delorie <dj@cygnus.com>
  *
  */
 
-/* strarry.h: strarry struct */
-
-#include <stddef.h>
-typedef struct strarry
-{
-  char **array;
-  size_t count;
-  size_t index;
-} SA;
-void sa_init (SA *);           /* Initialize the struct. */
-void sa_add (SA *, const char *);      /* Add a string to the array. */
-void sa_cleanup (SA *);        /* Deallocate all of the memory. */
+/* Create a directory, and any needed parent directories.  If "isadir"
+   is non-zero, "path" is the name of a directory.  If "isadir" is
+   zero, "path" is the name of a *file* that we need a directory
+   for. */
 
+extern int mkdir_p (int isadir, char *path);
This page took 0.022609 seconds and 5 git commands to generate.