diff options
Diffstat (limited to 'array.h')
-rw-r--r-- | array.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -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)); |