Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / fe-common / core / completion.h
index ef0fe06f5940e383be4b5f27b83dbde443513537..9a8b32cbd6c8af4478c89e6fc8ec77bd2df079a2 100644 (file)
@@ -5,10 +5,12 @@
 
 /* automatic word completion - called when space/enter is pressed */
 char *auto_word_complete(const char *line, int *pos);
-/* manual word completion - called when TAB is pressed */
-char *word_complete(WINDOW_REC *window, const char *line, int *pos);
+/* manual word completion - called when TAB is pressed. if erase is TRUE,
+   the word is removed from completion list entirely (if possible) and
+   next completion is used */
+char *word_complete(WINDOW_REC *window, const char *line, int *pos, int erase);
 
-GList *filename_complete(const char *path);
+GList *filename_complete(const char *path, const char *default_path);
 
 void completion_init(void);
 void completion_deinit(void);