summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h
new file mode 100644
index 0000000..2b1ad66
--- /dev/null
+++ b/src/commands.h
@@ -0,0 +1,15 @@
+#ifndef _COMMANDS_H_
+#define _COMMANDS_H_
+
+struct context;
+
+struct cmumble_command {
+ const char *name;
+ void (*callback)(struct context *);
+ const char *description;
+};
+
+void
+cmumble_commands_init(struct context *ctx);
+
+#endif /* _COMMANDS_H_ */