Source
13
13
** GNU General Public License for more details.
14
14
**
15
15
** You should have received a copy of the GNU General Public License
16
16
** along with this program; if not, write to the Free Software
17
17
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
18
**/
19
19
20
20
#ifndef ZABBIX_IPC_H
21
21
#define ZABBIX_IPC_H
22
22
23
+
#include "zbxtypes.h"
24
+
23
25
#if defined(_WINDOWS)
24
26
# error "This module allowed only for Unix OS"
25
27
#endif
26
28
27
29
#include "mutexs.h"
28
30
29
31
#define ZBX_NONEXISTENT_SHMID (-1)
30
32
31
33
int zbx_shm_create(size_t size);
32
34
int zbx_shm_destroy(int shmid);