summaryrefslogtreecommitdiff
path: root/src/fe-common/core/completion.h
blob: ef0fe06f5940e383be4b5f27b83dbde443513537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __COMPLETION_H
#define __COMPLETION_H

#include "window-items.h"

/* 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);

GList *filename_complete(const char *path);

void completion_init(void);
void completion_deinit(void);

#endif