summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-06-17 16:23:29 +0200
committerSander Vrijders <[email protected]>2016-06-17 16:23:29 +0200
commit7a12dc9d5841bb880f4bb79dbbd5e09dcb79ef98 (patch)
tree5aeee1a6f05aa4a35ceab97ba6a7da16979555a5 /include
parenta2fb329778938f769121855c8a11aa3bfb30b194 (diff)
parentdba896b9a0ca7cbe4fb379017672bd44a0a77ef0 (diff)
downloadouroboros-7a12dc9d5841bb880f4bb79dbbd5e09dcb79ef98.tar.gz
ouroboros-7a12dc9d5841bb880f4bb79dbbd5e09dcb79ef98.zip
Merged in dstaesse/ouroboros/be-irmd-startup (pull request #129)
irmd, lib: use shm_du_map as lockfile.
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/shm_du_map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ouroboros/shm_du_map.h b/include/ouroboros/shm_du_map.h
index cc1e8869..081a6f62 100644
--- a/include/ouroboros/shm_du_map.h
+++ b/include/ouroboros/shm_du_map.h
@@ -37,6 +37,7 @@
#endif
#include "common.h"
+#include <sys/types.h>
struct shm_du_buff;
struct shm_du_map;
@@ -45,6 +46,7 @@ struct shm_du_map * shm_du_map_create();
struct shm_du_map * shm_du_map_open();
void shm_du_map_close(struct shm_du_map * dum);
void shm_du_map_destroy(struct shm_du_map * dum);
+pid_t shm_du_map_owner(struct shm_du_map * dum);
/* returns the index of the buffer in the DU map */
ssize_t shm_create_du_buff(struct shm_du_map * dum,