summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmumble.c35
1 files changed, 26 insertions, 9 deletions
diff --git a/src/cmumble.c b/src/cmumble.c
index 3e98eed..f6fa9a5 100644
--- a/src/cmumble.c
+++ b/src/cmumble.c
@@ -306,15 +306,32 @@ recv_user_state(MumbleProto__UserState *state, struct context *ctx)
typedef void (*callback_t)(void *, void *);
static const callback_t callbacks[] = {
- /* VERSION */ (callback_t) recv_version,
- [UDPTunnel] = (callback_t) recv_udp_tunnel,
- [5] = (callback_t) recv_server_sync,
- [7] = (callback_t) recv_channel_state,
- [8] = (callback_t) recv_user_remove,
- [9] = (callback_t) recv_user_state,
- [15] = (callback_t) recv_crypt_setup,
- [21] = (callback_t) recv_codec_version,
- [127] = NULL,
+ [Version] = (callback_t) recv_version,
+ [UDPTunnel] = (callback_t) recv_udp_tunnel,
+ [Authenticate] = (callback_t) NULL,
+ [Ping] = (callback_t) NULL,
+ [Reject] = (callback_t) NULL,
+ [ServerSync] = (callback_t) recv_server_sync,
+ [ChannelRemove] = (callback_t) NULL,
+ [ChannelState] = (callback_t) recv_channel_state,
+ [UserRemove] = (callback_t) recv_user_remove,
+ [UserState] = (callback_t) recv_user_state,
+ [BanList] = (callback_t) NULL,
+ [TextMessage] = (callback_t) NULL,
+ [PermissionDenied] = (callback_t) NULL,
+ [ACL] = (callback_t) NULL,
+ [QueryUsers] = (callback_t) NULL,
+ [CryptSetup] = (callback_t) recv_crypt_setup,
+ [ContextActionModify] = (callback_t) NULL,
+ [ContextAction] = (callback_t) NULL,
+ [UserList] = (callback_t) NULL,
+ [VoiceTarget] = (callback_t) NULL,
+ [PermissionQuery] = (callback_t) NULL,
+ [CodecVersion] = (callback_t) recv_codec_version,
+ [UserStats] = (callback_t) NULL,
+ [RequestBlob] = (callback_t) NULL,
+ [ServerConfig] = (callback_t) NULL,
+ [SuggestConfig] = (callback_t) NULL,
};
static void