aboutsummaryrefslogtreecommitdiffhomepage
path: root/wildcard.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-02-25 19:05:24 +1000
committerGravatar axel <axel@liljencrantz.se>2007-02-25 19:05:24 +1000
commita3c5718eb9d34e86b348ce770df0b71906ac64c8 (patch)
tree41c1d8de01a67e32d8c7be8368ebd118e43fd74e /wildcard.h
parent9b10fa47621053c6f138fc9be28e8297d69c5b1a (diff)
Round of bug fixes and minor code improvements after the completions struct update. Moves the file description code to wildcard.c, where it was actually used. Simplifies the memory allocations in that code significantly. Makes sure directoriy names don't get a space inserted after the completion.
darcs-hash:20070225090524-ac50b-4d095bf8da7c788a7828e707556edbdc0bbf5000.gz
Diffstat (limited to 'wildcard.h')
-rw-r--r--wildcard.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/wildcard.h b/wildcard.h
index 39e8ce6d..917e15af 100644
--- a/wildcard.h
+++ b/wildcard.h
@@ -87,9 +87,10 @@ int wildcard_has( const wchar_t *str, int internal );
Test wildcard completion
*/
int wildcard_complete( const wchar_t *str,
- const wchar_t *wc,
- const wchar_t *desc,
- const wchar_t *(*desc_func)(const wchar_t *),
- array_list_t *out );
+ const wchar_t *wc,
+ const wchar_t *desc,
+ const wchar_t *(*desc_func)(const wchar_t *),
+ array_list_t *out,
+ int flags );
#endif