X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fsharedmemory_struct.h;h=d1453fbe5de24b8b71e9f1788cc3fadaeecba5ff;hb=fb5b810753bb1cdede9632202582c59e1d7e9ce2;hp=a4011b35f7a4794992cdacbb89e69074e86bf209;hpb=28fc78c510aad21897d4643e3d67a5a138bbfc3a;p=umurmur.git diff --git a/src/sharedmemory_struct.h b/src/sharedmemory_struct.h index a4011b3..d1453fb 100644 --- a/src/sharedmemory_struct.h +++ b/src/sharedmemory_struct.h @@ -1,11 +1,16 @@ typedef struct { + char username[121]; char ipaddress[46]; - int tcp_port, udp_port; char channel[121]; + char os[121], release[121], os_version[121]; + int tcp_port, udp_port; bool_t bUDP, authenticated, deaf, mute, self_deaf, self_mute, recording, bOpus; + int availableBandwidth; uint32_t online_secs, idle_secs; + bool_t isAdmin; + bool_t isSuppressed; float UDPPingAvg, UDPPingVar, TCPPingAvg, TCPPingVar; uint32_t UDPPackets, TCPPackets; @@ -15,7 +20,8 @@ typedef struct { int clientcount, server_max_clients; - unsigned int umurmurd_pid; + unsigned int umurmurd_pid; + uint8_t alive; shmclient_t client[]; -}shm_t; \ No newline at end of file +}shm_t;