Add client Key hash to shm_area
[umurmur.git] / src / sharedmemory_struct.h
index e696948b34fbcef3a1647af64a0c06aa30b180bb..5b498488759fe8d38093993426e9aa1d5bfba6f6 100644 (file)
@@ -4,7 +4,6 @@
 
 typedef struct
 {
-
   char username[121];
   char ipaddress[INET6_ADDRSTRLEN];
   char channel[121];
@@ -13,12 +12,13 @@ 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;
+}shmclient_t;
 
 typedef struct
 {
@@ -29,4 +29,4 @@ typedef struct
   uint8_t alive;
   shmclient_t client[];
 
-} shm_t;
+}shm_t;