X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fsharedmemory_struct.h;h=61d6488c96846d970230bbcd180740753303c008;hb=a738ff892738e239ad74f5aa686108298efa7cea;hp=88eb0c5e54d633e8c2dd785655398f4215761807;hpb=336d27baf938a957177e4c26c2b5c6c4172aa0a6;p=umurmur.git diff --git a/src/sharedmemory_struct.h b/src/sharedmemory_struct.h index 88eb0c5..61d6488 100644 --- a/src/sharedmemory_struct.h +++ b/src/sharedmemory_struct.h @@ -1,11 +1,12 @@ typedef struct { + char username[121]; char ipaddress[46]; int tcp_port, udp_port; char channel[121]; bool_t bUDP, authenticated, deaf, mute, self_deaf, self_mute, recording, bOpus; - etimer_t lastActivity, connectTime, idleTime; + uint32_t online_secs, idle_secs; float UDPPingAvg, UDPPingVar, TCPPingAvg, TCPPingVar; uint32_t UDPPackets, TCPPackets; @@ -15,7 +16,8 @@ typedef struct { int clientcount, server_max_clients; - unsigned int umurmurd_pid; //Use this to make sure umurmurd is still running so I can allow more than one connection. - shmclient_t client[]; //MJP BUG: Use max usersetting from conf file + unsigned int umurmurd_pid; + uint8_t alive; + shmclient_t client[]; -}shm_t; \ No newline at end of file +}shm_t;