3 //=============================================================================
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)
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" {}
37 #endif /* __cplusplus */
39 // Declare opaque type. Needed for ACE_OS wrappers on systems
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 */
52 #endif /* __cplusplus */
54 #include /**/ "ace/post.h"
55 #endif /* ACE_OS_INCLUDE_SYS_OS_MSG_H */