diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-23 11:48:47 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-23 11:48:47 +0200 |
commit | c3303370cc51818748d766ee19049e69d9e6b996 (patch) | |
tree | be378ad0b4f3707ed6fd155fe9f5635acfee8544 /src/messages.h | |
parent | 061c169d277db5611a9d3ea8351f0d4d0d613b0a (diff) | |
download | cmumble-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.h | 21 |
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_ */ |