X-Git-Url: http://git.code-monkey.de/?p=umurmur.git;a=blobdiff_plain;f=src%2Fsharedmemory_struct.h;h=649aac5fcf6ea6e60d57a26faae6f06c133ebdc3;hp=e696948b34fbcef3a1647af64a0c06aa30b180bb;hb=046935044fe8d2dce3540ad0c385d30edec1f4bf;hpb=363ca814aa120fbab8c5ea4b55e3c79ea5065a7f diff --git a/src/sharedmemory_struct.h b/src/sharedmemory_struct.h index e696948..649aac5 100644 --- a/src/sharedmemory_struct.h +++ b/src/sharedmemory_struct.h @@ -4,7 +4,6 @@ typedef struct { - char username[121]; char ipaddress[INET6_ADDRSTRLEN]; char channel[121]; @@ -13,20 +12,18 @@ typedef struct bool_t bUDP, authenticated, deaf, mute, self_deaf, self_mute, recording, bOpus; int availableBandwidth; uint32_t online_secs, idle_secs; + uint8_t hash[20]; bool_t isAdmin; bool_t isSuppressed; float UDPPingAvg, UDPPingVar, TCPPingAvg, TCPPingVar; uint32_t UDPPackets, TCPPackets; - } shmclient_t; typedef struct { - int shmtotal_size, shmclient_size; int clientcount, server_max_clients; unsigned int umurmurd_pid; uint8_t alive; shmclient_t client[]; - } shm_t;