in progress: added shalloc.h/cc did nothing :p
[winnie] / src / shalloc.h
diff --git a/src/shalloc.h b/src/shalloc.h
new file mode 100644 (file)
index 0000000..ce9d184
--- /dev/null
@@ -0,0 +1,10 @@
+#ifndef SHALLOC_H_
+#define SHALLOC_H_
+
+bool init_shared_memory();
+void destroy_shared_memory();
+
+void *shmalloc(size_t bytes);
+void shmfree(void *ptr);
+
+#endif // SHALLOC_H_