summaryrefslogtreecommitdiff
path: root/src/messages.h
blob: fef8a922666f42ee46875acb4ffa0cb6f69cce87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
cmumble_send_msg(struct context *ctx, ProtobufCMessage *msg);

int
cmumble_recv_msg(struct context *ctx);

#endif /* _MESSAGES_H_ */