* 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);