summaryrefslogtreecommitdiff
path: root/src/messages.h
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-23 11:48:47 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-23 11:48:47 +0200
commitc3303370cc51818748d766ee19049e69d9e6b996 (patch)
treebe378ad0b4f3707ed6fd155fe9f5635acfee8544 /src/messages.h
parent061c169d277db5611a9d3ea8351f0d4d0d613b0a (diff)
downloadcmumble-c3303370cc51818748d766ee19049e69d9e6b996.tar.gz
cmumble-c3303370cc51818748d766ee19049e69d9e6b996.tar.bz2
cmumble-c3303370cc51818748d766ee19049e69d9e6b996.zip
Move recv/send_msg declarations to messages.h
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_ */