2008-03-01 20:08:14 +00:00
|
|
|
#ifndef __COMPLETE_
|
|
|
|
#define __COMPLETE_
|
|
|
|
|
2009-11-02 13:31:18 +00:00
|
|
|
#include <linux/list.h>
|
2011-06-06 15:14:38 +00:00
|
|
|
#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);
|
|
|
|
|
2011-06-06 15:14:38 +00:00
|
|
|
int command_complete(struct string_list *sl, char *instr);
|
2011-06-05 12:58:08 +00:00
|
|
|
int device_complete(struct string_list *sl, char *instr);
|
2011-06-06 15:14:38 +00:00
|
|
|
|
2008-03-01 20:08:14 +00:00
|
|
|
#endif /* __COMPLETE_ */
|
|
|
|
|