xref: /dragonfly/usr.sbin/sysvipcd/shmd.h (revision d4ef6694)
1 #ifndef SYSVD_SHMD_H
2 #define SYSVD_SHMD_H
3 
4 #include <sys/mman.h>
5 #include <sys/sem.h>
6 #include <sys/shm.h>
7 #include <sys/msg.h>
8 
9 #include "sysvipc_ipc.h"
10 #include "sysvipc_sem.h"
11 #include "sysvipc_shm.h"
12 #include "sysvipc_msg.h"
13 
14 #include "utilsd.h"
15 #include "perm.h"
16 
17 int handle_shmget(pid_t, struct shmget_msg *, struct cmsgcred *);
18 int handle_shmat(pid_t, struct shmat_msg *, struct cmsgcred *);
19 int handle_shmdt(pid_t, int);
20 int handle_shmctl(struct shmctl_msg *, struct cmsgcred *);
21 
22 void shminit(void);
23 int semexit(int);
24 void shmexit(struct client *);
25 
26 #endif
27