Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / fe-common / core / completion.h
1 #ifndef __COMPLETION_H
2 #define __COMPLETION_H
3
4 #include "window-items.h"
5
6 /* automatic word completion - called when space/enter is pressed */
7 char *auto_word_complete(const char *line, int *pos);
8 /* manual word completion - called when TAB is pressed. if erase is TRUE,
9    the word is removed from completion list entirely (if possible) and
10    next completion is used */
11 char *word_complete(WINDOW_REC *window, const char *line, int *pos, int erase);
12
13 GList *filename_complete(const char *path, const char *default_path);
14
15 void completion_init(void);
16 void completion_deinit(void);
17
18 #endif