00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef ACE_OS_NS_SYS_MSG_H
00018 # define ACE_OS_NS_SYS_MSG_H
00019
00020 # include "ace/pre.h"
00021
00022 # include "ace/config-all.h"
00023
00024 # if !defined (ACE_LACKS_PRAGMA_ONCE)
00025 # pragma once
00026 # endif
00027
00028 #include "ace/os_include/sys/os_msg.h"
00029 #include "ace/ACE_export.h"
00030
00031 #if defined (ACE_EXPORT_MACRO)
00032 # undef ACE_EXPORT_MACRO
00033 #endif
00034 #define ACE_EXPORT_MACRO ACE_Export
00035
00036 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00037
00038 namespace ACE_OS {
00039
00040
00041 ACE_NAMESPACE_INLINE_FUNCTION
00042 int msgctl (int msqid,
00043 int cmd,
00044 struct msqid_ds *);
00045
00046 ACE_NAMESPACE_INLINE_FUNCTION
00047 int msgget (key_t key,
00048 int msgflg);
00049
00050 ACE_NAMESPACE_INLINE_FUNCTION
00051 ssize_t msgrcv (int int_id,
00052 void *buf,
00053 size_t len,
00054 long type,
00055 int flags);
00056
00057 ACE_NAMESPACE_INLINE_FUNCTION
00058 int msgsnd (int int_id,
00059 const void *buf,
00060 size_t len,
00061 int flags);
00062
00063
00064 }
00065
00066 ACE_END_VERSIONED_NAMESPACE_DECL
00067
00068 # if defined (ACE_HAS_INLINED_OSCALLS)
00069 # if defined (ACE_INLINE)
00070 # undef ACE_INLINE
00071 # endif
00072 # define ACE_INLINE inline
00073 # include "ace/OS_NS_sys_msg.inl"
00074 # endif
00075
00076 # include "ace/post.h"
00077 #endif