Switch over to more modern unix sharedmemory API (requested by fatbob)
[umurmur.git] / src / sharedmemory_struct.h
index a4011b35f7a4794992cdacbb89e69074e86bf209..61d6488c96846d970230bbcd180740753303c008 100644 (file)
@@ -1,5 +1,6 @@
 typedef struct\r
 {\r
+\r
   char username[121];\r
   char ipaddress[46];\r
   int tcp_port, udp_port;\r
@@ -15,7 +16,8 @@ typedef struct
 {\r
 \r
   int clientcount, server_max_clients;\r
-  unsigned int umurmurd_pid; \r
+  unsigned int umurmurd_pid;\r
+       uint8_t alive; \r
   shmclient_t client[];    \r
   \r
-}shm_t;
\ No newline at end of file
+}shm_t;\r