Fix displayed idle and online time, add CHANGES files, and some code clean up
[umurmur.git] / src / sharedmemory_struct.h
index 88eb0c5e54d633e8c2dd785655398f4215761807..a4011b35f7a4794992cdacbb89e69074e86bf209 100644 (file)
@@ -5,7 +5,7 @@ typedef struct
   int tcp_port, udp_port;\r
   char channel[121];\r
   bool_t bUDP, authenticated, deaf, mute, self_deaf, self_mute, recording, bOpus;\r
-  etimer_t lastActivity, connectTime, idleTime;\r
+  uint32_t online_secs, idle_secs;\r
   float UDPPingAvg, UDPPingVar, TCPPingAvg, TCPPingVar;\r
   uint32_t UDPPackets, TCPPackets;\r
 \r
@@ -15,7 +15,7 @@ typedef struct
 {\r
 \r
   int clientcount, server_max_clients;\r
-  unsigned int umurmurd_pid; //Use this to make sure umurmurd is still running so I can allow more than one connection.\r
-  shmclient_t client[];    //MJP BUG: Use max usersetting from conf file\r
+  unsigned int umurmurd_pid; \r
+  shmclient_t client[];    \r
   \r
 }shm_t;
\ No newline at end of file