diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-25 11:18:03 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-02-12 19:27:21 +0100 |
commit | 81e0d7d65a55be7df908567da622e1e2f249ceec (patch) | |
tree | e1c71557d865f7bcc2a6495200f8d74e3264bb7f /src/cmumble.h | |
parent | 269297401c5b63f3f462a66b2e7652e726ad605a (diff) | |
download | cmumble-81e0d7d65a55be7df908567da622e1e2f249ceec.tar.gz cmumble-81e0d7d65a55be7df908567da622e1e2f249ceec.tar.bz2 cmumble-81e0d7d65a55be7df908567da622e1e2f249ceec.zip |
Add support for transporting audio data using udpudp-3
With crypt.c importet from umurmur, changed encrypt key
to use raw_key instead of decrypt_iv.
Diffstat (limited to 'src/cmumble.h')
-rw-r--r-- | src/cmumble.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmumble.h b/src/cmumble.h index cc40149..3c9722b 100644 --- a/src/cmumble.h +++ b/src/cmumble.h @@ -12,6 +12,8 @@ #include "audio.h" #include "commands.h" +#include "crypt.h" + typedef void (*callback_t)(ProtobufCMessage *msg, struct cmumlbe *); struct cmumlbe { @@ -34,6 +36,7 @@ struct cmumlbe { GList *channels; struct cmumble_user *user; + cryptState_t crypt; }; struct cmumble_user { @@ -74,4 +77,7 @@ enum udp_message_target { void cmumble_protocol_init(struct cmumlbe *cm); +void +cmumble_read_udp_data(struct cmumlbe *cm, guint8 *data, gsize size); + #endif |