summaryrefslogtreecommitdiff
path: root/pcomplete.h
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-11-21 20:51:19 -0500
committerChet Ramey <chet.ramey@case.edu>2011-11-21 20:51:19 -0500
commit0001803f0b9523c94fa2ede48eaecb047fef4524 (patch)
treef334332811e033ff966d94f6268f0629a94304b3 /pcomplete.h
parent89a92869e56aba4e4cab2d639c00a86f0545c862 (diff)
downloadbash-0001803f0b9523c94fa2ede48eaecb047fef4524.tar.gz
Bash-4.1 distribution source
Diffstat (limited to 'pcomplete.h')
-rw-r--r--pcomplete.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/pcomplete.h b/pcomplete.h
index bc0541d9..dacbcefa 100644
--- a/pcomplete.h
+++ b/pcomplete.h
@@ -1,5 +1,5 @@
/* pcomplete.h - structure definitions and other stuff for programmable
-n completion. */
+ completion. */
/* Copyright (C) 1999-2009 Free Software Foundation, Inc.
@@ -96,6 +96,9 @@ typedef struct _list_of_items {
#define LIST_DONTFREE 0x010
#define LIST_DONTFREEMEMBERS 0x020
+#define EMPTYCMD "_EmptycmD_"
+#define DEFAULTCMD "_DefaultCmD_"
+
extern HASH_TABLE *prog_completes;
extern int prog_completion_enabled;
@@ -150,7 +153,7 @@ extern void set_itemlist_dirty __P((ITEMLIST *));
extern STRINGLIST *completions_to_stringlist __P((char **));
-extern STRINGLIST *gen_compspec_completions __P((COMPSPEC *, const char *, const char *, int, int));
+extern STRINGLIST *gen_compspec_completions __P((COMPSPEC *, const char *, const char *, int, int, int *));
extern char **programmable_completions __P((const char *, const char *, int, int, int *));
extern void pcomp_set_readline_variables __P((int, int));