diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-11-21 20:51:19 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-11-21 20:51:19 -0500 |
commit | 0001803f0b9523c94fa2ede48eaecb047fef4524 (patch) | |
tree | f334332811e033ff966d94f6268f0629a94304b3 /pcomplete.h | |
parent | 89a92869e56aba4e4cab2d639c00a86f0545c862 (diff) | |
download | android_external_bash-0001803f0b9523c94fa2ede48eaecb047fef4524.tar.gz android_external_bash-0001803f0b9523c94fa2ede48eaecb047fef4524.tar.bz2 android_external_bash-0001803f0b9523c94fa2ede48eaecb047fef4524.zip |
Bash-4.1 distribution source
Diffstat (limited to 'pcomplete.h')
-rw-r--r-- | pcomplete.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pcomplete.h b/pcomplete.h index bc0541d..dacbcef 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)); |