X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fclient.h;h=a3ce2c29303bba2f0f419639334fb24120076bdc;hb=772cee17b53bb6795a5e98f1ae2acb7e7d6c25c1;hp=0e5e1353300fdb2e1fdd3e48fab9151f7b536b0c;hpb=977a33f0978bec21b3c12a8c04a40bf56afe7334;p=umurmur.git diff --git a/src/client.h b/src/client.h index 0e5e135..a3ce2c2 100644 --- a/src/client.h +++ b/src/client.h @@ -1,5 +1,5 @@ -/* Copyright (C) 2009-2011, Martin Johansson - Copyright (C) 2005-2011, Thorvald Natvig +/* Copyright (C) 2009-2012, Martin Johansson + Copyright (C) 2005-2012, Thorvald Natvig All rights reserved. @@ -51,7 +51,7 @@ #define BUFSIZE 8192 #define UDP_BUFSIZE 512 -#define INACTICITY_TIMEOUT 15 /* Seconds */ +#define INACTIVITY_TIMEOUT 15 /* Seconds */ #define MAX_CODECS 10 #define MAX_TOKENSIZE 64 #define MAX_TOKENS 32 @@ -73,7 +73,7 @@ typedef struct { int sessionId; uint64_t key; char *username; - bool_t bUDP, authenticated, deaf, mute, recording; + bool_t bUDP, authenticated, deaf, mute, self_deaf, self_mute, recording; char *os, *release, *os_version; uint32_t version; int codec_count; @@ -89,6 +89,8 @@ typedef struct { struct dlist voicetargets; struct dlist tokens; int tokencount; + uint8_t hash[20]; + bool_t isAdmin; float UDPPingAvg, UDPPingVar, TCPPingAvg, TCPPingVar; uint32_t UDPPackets, TCPPackets; } client_t;