#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
+#include "sharedmemory_struct.h" \r
\r
-int shmid;\r
-shm_t *shmptr; \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
+#endif // SHAREDMEMORY_H_777736932196
\ No newline at end of file