summaryrefslogtreecommitdiff
path: root/findcmd.h
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2016-09-15 16:59:08 -0400
committerChet Ramey <chet.ramey@case.edu>2016-09-15 16:59:08 -0400
commita0c0a00fc419b7bc08202a79134fcd5bc0427071 (patch)
treecfde1549b35d73504bb539008de4b00e44e8f8fb /findcmd.h
parent30a978b7d808c067219c95be88c4979b6a7aa251 (diff)
downloadbash-a0c0a00fc419b7bc08202a79134fcd5bc0427071.tar.gz
Bash-4.4 distribution sources and documentationbash-4.4
Diffstat (limited to 'findcmd.h')
-rw-r--r--findcmd.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/findcmd.h b/findcmd.h
index 52ad1d0b..bc4a41af 100644
--- a/findcmd.h
+++ b/findcmd.h
@@ -1,6 +1,6 @@
/* findcmd.h - functions from findcmd.c. */
-/* Copyright (C) 1997-2012 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2015 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -23,13 +23,20 @@
#include "stdc.h"
+/* Flags for search_for_command */
+#define CMDSRCH_HASH 0x01
+#define CMDSRCH_STDPATH 0x02
+#define CMDSRCH_TEMPENV 0x04
+
extern int file_status __P((const char *));
extern int executable_file __P((const char *));
extern int is_directory __P((const char *));
extern int executable_or_directory __P((const char *));
extern char *find_user_command __P((const char *));
+extern char *find_in_path __P((const char *, char *, int));
extern char *find_path_file __P((const char *));
extern char *search_for_command __P((const char *, int));
extern char *user_command_matches __P((const char *, int, int));
+extern void setup_exec_ignore __P((char *));
#endif /* _FINDCMD_H_ */