]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - array.h
Imported from ../bash-2.04.tar.gz.
[thirdparty/bash.git] / array.h
diff --git a/array.h b/array.h
index 15e2a5648bfe860531285263707efa54f18e6689..620ccbec28746a61571519d51ba378f9958e43a2 100644 (file)
--- a/array.h
+++ b/array.h
@@ -1,5 +1,24 @@
 /* array.h -- definitions for the interface exported by array.c that allows
    the rest of the shell to manipulate array variables. */
+
+/* Copyright (C) 1997 Free Software Foundation, Inc.
+
+   This file is part of GNU Bash, the Bourne Again SHell.
+
+   Bash is free software; you can redistribute it and/or modify it under
+   the terms of the GNU General Public License as published by the Free
+   Software Foundation; either version 2, or (at your option) any later
+   version.
+
+   Bash is distributed in the hope that it will be useful, but WITHOUT ANY
+   WARRANTY; without even the implied warranty of MERCHANTABILITY or
+   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+   for more details.
+
+   You should have received a copy of the GNU General Public License along
+   with Bash; see the file COPYING.  If not, write to the Free Software
+   Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
+
 #ifndef _ARRAY_H_
 #define _ARRAY_H_
 
@@ -41,6 +60,8 @@ extern WORD_LIST *array_to_word_list __P((ARRAY *));
 extern ARRAY *word_list_to_array __P((WORD_LIST *));
 extern ARRAY *assign_word_list __P((ARRAY *, WORD_LIST *));
 
+extern char **array_to_argv __P((ARRAY *));
+
 extern char *array_to_assignment_string __P((ARRAY *));
 extern char *quoted_array_assignment_string __P((ARRAY *));
 extern char *array_to_string __P((ARRAY *, char *, int));