summaryrefslogtreecommitdiff
path: root/src/message.h
blob: 7f3ffe415c458a5b0b28b343b96c602716ff54af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _MESSAGE_H_
#define _MESSAGE_H_

#include "message_list.h"
#include "mumble.pb-c.h"

enum cmumble_message {
#define MUMBLE_MSG(a,b) a,
	MUMBLE_MSGS
#undef MUMBLE_MSG
};

struct cmumlbe;

void
cmumble_send_msg(struct cmumlbe *cm, ProtobufCMessage *msg);

int
cmumble_recv_msg(struct cmumlbe *cm);

#endif /* _MESSAGE_H_ */