projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gui: Rename client_cmd_cmdline() to para_cmd().
[paraslash.git]
/
ipc.h
diff --git
a/ipc.h
b/ipc.h
index 733cba6d83fd4b01e13ccf720013f56f9c2a3b3c..c8d31c0c991641a1f71627c855705bdf7decd5c6 100644
(file)
--- a/
ipc.h
+++ b/
ipc.h
@@
-1,5
+1,6
@@
/** \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);
@@
-10,3
+11,4
@@
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);
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);