00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 #ifndef ACE_OS_INCLUDE_SYS_OS_MSG_H
00017 #define ACE_OS_INCLUDE_SYS_OS_MSG_H
00018 
00019 #include  "ace/pre.h"
00020 
00021 #include "ace/config-lite.h"
00022 
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif 
00026 
00027 #include "ace/os_include/sys/os_ipc.h"
00028 
00029 #if !defined (ACE_LACKS_SYS_MSG_H)
00030 
00031 #  if defined (ACE_HAS_BROKEN_MSG_H)
00032 #    define _KERNEL
00033 #  endif 
00034 #  include  <sys/msg.h>
00035 #  if defined (ACE_HAS_BROKEN_MSG_H)
00036 #    undef _KERNEL
00037 #  endif 
00038 #endif 
00039 
00040 
00041 #ifdef __cplusplus
00042 extern "C"
00043 {
00044 #endif 
00045 
00046    
00047    
00048    struct msqid_ds;
00049 
00050 #if defined (ACE_LACKS_SYSV_MSQ_PROTOS)
00051    int msgget (key_t, int);
00052    int msgrcv (int, void *, size_t, long, int);
00053    int msgsnd (int, const void *, size_t, int);
00054    int msgctl (int, int, struct msqid_ds *);
00055 #endif 
00056 
00057 #ifdef __cplusplus
00058 }
00059 #endif 
00060 
00061 #include  "ace/post.h"
00062 #endif