summaryrefslogtreecommitdiffstats
path: root/include/complete.h
blob: 0c8ebd6a3b642c6dc2f6be752cc32486487a72e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __COMPLETE_
#define __COMPLETE_

#include <linux/list.h>
#include <malloc.h>
#include <stringlist.h>

#define COMPLETE_END		0
#define COMPLETE_CONTINUE	1

int complete(char *instr, char **outstr);
void complete_reset(void);

int command_complete(struct string_list *sl, char *instr);

#endif /* __COMPLETE_ */