X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=array.h;fp=array.h;h=620ccbec28746a61571519d51ba378f9958e43a2;hb=bb70624e964126b7ac4ff085ba163a9c35ffa18f;hp=15e2a5648bfe860531285263707efa54f18e6689;hpb=b72432fdcc59300c6fe7c9d6c8a31ad3447933f5;p=thirdparty%2Fbash.git diff --git a/array.h b/array.h index 15e2a5648..620ccbec2 100644 --- 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));