1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:17:35 +00:00

LibC: Move shbuf_* API's to <serenity.h>

This commit is contained in:
Andreas Kling 2020-02-28 12:03:17 +01:00
parent f72e5bbb17
commit a1514369d7
5 changed files with 11 additions and 8 deletions

View file

@ -31,6 +31,14 @@
__BEGIN_DECLS
int shbuf_create(int, void** buffer);
int shbuf_allow_pid(int, pid_t peer_pid);
int shbuf_allow_all(int);
void* shbuf_get(int shbuf_id);
int shbuf_release(int shbuf_id);
int shbuf_seal(int shbuf_id);
int shbuf_get_size(int shbuf_id);
int module_load(const char* path, size_t path_length);
int module_unload(const char* name, size_t name_length);