Initial Patch of Auction House bot rev. 135
[auctionmangos.git] / dep / ACE_wrappers / ace / os_include / sys / os_msg.h
blobfa7edad1eb1beaea6342e11c3be6b30cba515b37
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file os_msg.h
7 * XSI message queue structures
9 * $Id: os_msg.h 80826 2008-03-04 14:51:23Z wotte $
11 * @author Don Hinton <dhinton@dresystems.com>
12 * @author This code was originally in various places including ace/OS.h.
14 //=============================================================================
16 #ifndef ACE_OS_INCLUDE_SYS_OS_MSG_H
17 #define ACE_OS_INCLUDE_SYS_OS_MSG_H
19 #include /**/ "ace/pre.h"
21 #include "ace/config-lite.h"
23 #if !defined (ACE_LACKS_PRAGMA_ONCE)
24 # pragma once
25 #endif /* ACE_LACKS_PRAGMA_ONCE */
27 #include "ace/os_include/sys/os_ipc.h"
29 #if !defined (ACE_LACKS_SYS_MSG_H)
30 # include /**/ <sys/msg.h>
31 #endif /* !ACE_LACKS_SYS_MSG_H */
33 // Place all additions (especially function declarations) within extern "C" {}
34 #ifdef __cplusplus
35 extern "C"
37 #endif /* __cplusplus */
39 // Declare opaque type. Needed for ACE_OS wrappers on systems
40 // without SysV IPC.
41 struct msqid_ds;
43 #if defined (ACE_LACKS_SYSV_MSQ_PROTOS)
44 int msgget (key_t, int);
45 int msgrcv (int, void *, size_t, long, int);
46 int msgsnd (int, const void *, size_t, int);
47 int msgctl (int, int, struct msqid_ds *);
48 #endif /* ACE_LACKS_SYSV_MSQ_PROTOS */
50 #ifdef __cplusplus
52 #endif /* __cplusplus */
54 #include /**/ "ace/post.h"
55 #endif /* ACE_OS_INCLUDE_SYS_OS_MSG_H */