Add compile-time check for POLARSSL_VERSION_FEATURES before using version_get_string().
[umurmur.git] / src / sharedmemory.h
index 26001f75f94635623a05b8b3476e45a18a7c4032..b668c325a603498a96e218e0821769bc1bc5bc50 100644 (file)
@@ -1,17 +1,23 @@
+#ifndef SHAREDMEMORY_H_777736932196\r
+#define SHAREDMEMORY_H_777736932196\r
+\r
 #include <stdlib.h>\r
 #include <string.h>\r
 \r
-#include <sys/shm.h>\r
+#include <fcntl.h> /* For O_* constants */ \r
+#include <unistd.h>\r
+#include <sys/mman.h>\r
 \r
+#include <netinet/in.h>\r
 #include "util.h"\r
 #include "conf.h" \r
 #include "client.h"\r
 #include "channel.h"\r
-#include "sharedmemory_struct.h"\r
-\r
-int shmid;\r
-shm_t *shmptr; \r
+#include "sharedmemory_struct.h" \r
 \r
-void Sharedmemory_init(void);\r
+void Sharedmemory_init( int bindport, int bindport6 );\r
 void Sharedmemory_update(void);\r
+void Sharedmemory_alivetick(void);\r
 void Sharedmemory_deinit(void);\r
+\r
+#endif // SHAREDMEMORY_H_777736932196
\ No newline at end of file