summaryrefslogtreecommitdiff
path: root/src/commands.h
blob: a2cca59f3c5725770904b7260047a1074d1700c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _COMMANDS_H_
#define _COMMANDS_H_

struct cmumble_context;

struct cmumble_command {
	const char *name;
	void (*callback)(struct cmumble_context *,
			 int argc, char **argv);
	const char *description;
};

void
cmumble_commands_init(struct cmumble_context *ctx);

const char *
cmumble_command_expand_shortcut(const char *text);

#endif /* _COMMANDS_H_ */