9
0
Fork 0
barebox/include/complete.h

19 lines
377 B
C
Raw Normal View History

2008-03-01 20:08:14 +00:00
#ifndef __COMPLETE_
#define __COMPLETE_
#include <linux/list.h>
#include <malloc.h>
#include <stringlist.h>
#define COMPLETE_END 0
#define COMPLETE_CONTINUE 1
2008-03-01 20:08:14 +00:00
int complete(char *instr, char **outstr);
void complete_reset(void);
int command_complete(struct string_list *sl, char *instr);
int device_complete(struct string_list *sl, char *instr);
2008-03-01 20:08:14 +00:00
#endif /* __COMPLETE_ */