1 /* externs.h -- extern function declarations which do not appear in their
4 /* Copyright (C) 1993 Free Software Foundation, Inc.
6 This file is part of GNU Bash, the Bourne Again SHell.
8 Bash is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 2, or (at your option) any later
13 Bash is distributed in the hope that it will be useful, but WITHOUT ANY
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 You should have received a copy of the GNU General Public License along
19 with Bash; see the file COPYING. If not, write to the Free Software
20 Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
22 /* Make sure that this is included *after* config.h! */
24 #if !defined (__EXTERNS_H__)
25 # define __EXTERNS_H__
29 /* Functions from expr.c. */
30 extern long evalexp __P((char *));
32 /* Functions from print_cmd.c. */
33 extern char *make_command_string __P((COMMAND *));
34 extern void print_command __P((COMMAND *));
35 extern void print_simple_command __P((SIMPLE_COM *));
36 extern char *named_function_string __P((char *, COMMAND *, int));
38 /* Functions from shell.c. */
39 extern int maybe_execute_file __P((char *, int));
40 extern char *indirection_level_string __P((void));
41 extern sighandler termination_unwind_protect __P((int));
42 extern sighandler sigint_sighandler __P((int));
43 extern void reset_terminating_signals __P((void));
44 extern char *shell_version_string __P((void));
45 extern void show_shell_version __P((void));
47 /* Functions from test.c. */
48 extern int group_member ();
50 /* Functions from braces.c. */
51 #if defined (BRACE_EXPANSION)
52 extern char **brace_expand __P((char *));
55 /* Functions from mailcheck.c */
56 extern int time_to_check_mail __P((void));
57 extern void reset_mail_timer __P((void));
58 extern void reset_mail_files __P((void));
59 extern void free_mail_files __P((void));
60 extern char *make_default_mailpath __P((void));
61 extern void remember_mail_dates __P((void));
62 extern void check_mail __P((void));
64 /* Miscellaneous functions not declared anywhere but used. */
65 extern char **glob_filename __P((char *));
67 #endif /* __EXTERNS_H__ */