summaryrefslogtreecommitdiff
path: root/src/messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/messages.h')
-rw-r--r--src/messages.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/messages.h b/src/messages.h
new file mode 100644
index 0000000..5d37697
--- /dev/null
+++ b/src/messages.h
@@ -0,0 +1,21 @@
+#ifndef _MESSAGES_H_
+#define _MESSAGES_H_
+
+#include "message_list.h"
+#include "mumble.pb-c.h"
+
+enum mumble_message {
+#define MUMBLE_MSG(a,b) a,
+ MUMBLE_MSGS
+#undef MUMBLE_MSG
+};
+
+struct context;
+
+void
+send_msg(struct context *ctx, ProtobufCMessage *msg);
+
+int
+recv_msg(struct context *ctx);
+
+#endif /* _MESSAGES_H_ */