X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fsharedmemory_struct.h;h=c1f443008ba7a709e063b00f01b590894ed38023;hb=60b0fbf1b141566fd5f559c1d7db2317676a3be4;hp=d1453fbe5de24b8b71e9f1788cc3fadaeecba5ff;hpb=38d77b3cbee831144dcfdb2b79c93bc6d494f7fe;p=umurmur.git diff --git a/src/sharedmemory_struct.h b/src/sharedmemory_struct.h index d1453fb..c1f4430 100644 --- a/src/sharedmemory_struct.h +++ b/src/sharedmemory_struct.h @@ -7,7 +7,7 @@ typedef struct 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; + int availableBandwidth; uint32_t online_secs, idle_secs; bool_t isAdmin; bool_t isSuppressed; @@ -19,9 +19,10 @@ typedef struct typedef struct { + int shmtotal_size, shmclient_size; int clientcount, server_max_clients; unsigned int umurmurd_pid; - uint8_t alive; - shmclient_t client[]; - + uint8_t alive; + shmclient_t client[]; + }shm_t;