[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / OS_NS_sys_msg.h
blob24b4f5057c6e29f78d7faae7891d9524c01305ca
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file OS_NS_sys_msg.h
7 * $Id: OS_NS_sys_msg.h 80826 2008-03-04 14:51:23Z wotte $
9 * @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
10 * @author Jesper S. M|ller<stophph@diku.dk>
11 * @author and a cast of thousands...
13 * Originally in OS.h.
15 //=============================================================================
17 #ifndef ACE_OS_NS_SYS_MSG_H
18 # define ACE_OS_NS_SYS_MSG_H
20 # include /**/ "ace/pre.h"
22 # include "ace/config-all.h"
24 # if !defined (ACE_LACKS_PRAGMA_ONCE)
25 # pragma once
26 # endif /* ACE_LACKS_PRAGMA_ONCE */
28 #include "ace/os_include/sys/os_msg.h"
29 #include /**/ "ace/ACE_export.h"
31 #if defined (ACE_EXPORT_MACRO)
32 # undef ACE_EXPORT_MACRO
33 #endif
34 #define ACE_EXPORT_MACRO ACE_Export
36 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
38 namespace ACE_OS {
40 //@{ @name A set of wrappers for System V message queues.
41 ACE_NAMESPACE_INLINE_FUNCTION
42 int msgctl (int msqid,
43 int cmd,
44 struct msqid_ds *);
46 ACE_NAMESPACE_INLINE_FUNCTION
47 int msgget (key_t key,
48 int msgflg);
50 ACE_NAMESPACE_INLINE_FUNCTION
51 ssize_t msgrcv (int int_id,
52 void *buf,
53 size_t len,
54 long type,
55 int flags);
57 ACE_NAMESPACE_INLINE_FUNCTION
58 int msgsnd (int int_id,
59 const void *buf,
60 size_t len,
61 int flags);
62 //@}
64 } /* namespace ACE_OS */
66 ACE_END_VERSIONED_NAMESPACE_DECL
68 # if defined (ACE_HAS_INLINED_OSCALLS)
69 # if defined (ACE_INLINE)
70 # undef ACE_INLINE
71 # endif /* ACE_INLINE */
72 # define ACE_INLINE inline
73 # include "ace/OS_NS_sys_msg.inl"
74 # endif /* ACE_HAS_INLINED_OSCALLS */
76 # include /**/ "ace/post.h"
77 #endif /* ACE_OS_NS_SYS_MSG_H */