root / module.h @ master
1 |
/*
|
---|---|
2 |
*
|
3 |
*
|
4 |
*
|
5 |
*/
|
6 |
|
7 |
struct module_def { |
8 |
struct module_def *next; |
9 |
char *name; |
10 |
char *desc; |
11 |
int (*showrun)(struct cli_def *); |
12 |
};
|
13 |
|
14 |
int register_module(struct module_def *); |
15 |
|
16 |
int register_parent(char *, struct cli_command *); |
17 |
struct cli_command *lookup_parent(char *); |
18 |
|