d1453fbe5de24b8b71e9f1788cc3fadaeecba5ff
[umurmur.git] / src / sharedmemory_struct.h
1 typedef struct\r
2 {\r
3 \r
4   char username[121];\r
5   char ipaddress[46];\r
6   char channel[121];\r
7   char os[121], release[121], os_version[121];\r
8   int tcp_port, udp_port;\r
9   bool_t bUDP, authenticated, deaf, mute, self_deaf, self_mute, recording, bOpus;\r
10         int availableBandwidth;\r
11   uint32_t online_secs, idle_secs;\r
12   bool_t isAdmin;\r
13   bool_t isSuppressed;\r
14   float UDPPingAvg, UDPPingVar, TCPPingAvg, TCPPingVar;\r
15   uint32_t UDPPackets, TCPPackets;\r
16 \r
17 }shmclient_t;\r
18 \r
19 typedef struct\r
20 {\r
21 \r
22   int clientcount, server_max_clients;\r
23   unsigned int umurmurd_pid;\r
24         uint8_t alive; \r
25   shmclient_t client[];    \r
26   \r
27 }shm_t;\r