blob: 992115a18b5709f3330ac778caad7f8bb75a79ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
struct command_table {
char *command;
int (*func)(void *data, char *cmd, struct attr **in, struct attr ***out);
};
#define command_cast(x) (int (*)(void *, char *, struct attr **, struct attr ***))(x)
void command_evaluate_to_void(struct attr *attr, char *expr);
void command_add_table(struct callback_list *cbl, struct command_table *table, int count, void *data);
|