X-Git-Url: http://git.mutantstargoat.com?p=winnie;a=blobdiff_plain;f=src%2Fshalloc.h;fp=src%2Fshalloc.h;h=ce9d18450091a26af9957f0335f6f63fb75aaa30;hp=0000000000000000000000000000000000000000;hb=12274901ac01898b01b93e15b5b87dec3348afae;hpb=fd0b93374d8e5a49c16b5e9fe5a0468d00a21c36 diff --git a/src/shalloc.h b/src/shalloc.h new file mode 100644 index 0000000..ce9d184 --- /dev/null +++ b/src/shalloc.h @@ -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_