projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
com_lsblob: Print an error message if no blob matched.
[paraslash.git]
/
ipc.h
diff --git
a/ipc.h
b/ipc.h
index 25c56d26fbb17c9a2fa43c99c21844eb962ddf5c..c8d31c0c991641a1f71627c855705bdf7decd5c6 100644
(file)
--- a/
ipc.h
+++ b/
ipc.h
@@
-1,7
+1,14
@@
/** \file ipc.h inter process communication and shared memory routines */
/** \file ipc.h inter process communication and shared memory routines */
+/** possible values for shm_attach() */
enum shm_attach_mode {ATTACH_RO, ATTACH_RW};
int mutex_new(void);
enum shm_attach_mode {ATTACH_RO, ATTACH_RW};
int mutex_new(void);
+int mutex_destroy(int id);
void mutex_lock(int id);
void mutex_unlock(int id);
void mutex_lock(int id);
void mutex_unlock(int id);
+int shm_new(size_t size);
+int shm_attach(int id, enum shm_attach_mode mode, void **result);
+int shm_detach(void *addr);
+int shm_destroy(int id);
+size_t shm_get_shmmax(void);