os_ipc.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    os_ipc.h
00006  *
00007  *  XSI interprocess communication access structure
00008  *
00009  *  os_ipc.h,v 1.4 2006/05/17 09:29:11 jwillemsen Exp
00010  *
00011  *  @author Don Hinton <dhinton@dresystems.com>
00012  *  @author This code was originally in various places including ace/OS.h.
00013  */
00014 //=============================================================================
00015 
00016 #ifndef ACE_OS_INCLUDE_SYS_OS_IPC_H
00017 #define ACE_OS_INCLUDE_SYS_OS_IPC_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 /* ACE_LACKS_PRAGMA_ONCE */
00026 
00027 #include "ace/os_include/sys/os_types.h"
00028 
00029 #if !defined (ACE_LACKS_SYS_IPC_H)
00030 #  include /**/ <sys/ipc.h>
00031 #endif /* !ACE_LACKS_SYS_IPC_H */
00032 
00033 // Place all additions (especially function declarations) within extern "C" {}
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif /* __cplusplus */
00038 
00039 #if defined (ACE_WIN32)
00040 #  define ACE_INVALID_SEM_KEY 0
00041 #else /* !ACE_WIN32 */
00042 #  define ACE_INVALID_SEM_KEY -1
00043 #endif /* ACE_WIN32 */
00044 
00045 #if !defined (IPC_PRIVATE)
00046 #  define IPC_PRIVATE ACE_INVALID_SEM_KEY
00047 #endif /* IPC_PRIVATE */
00048 
00049 #if !defined (IPC_STAT)
00050 #  define IPC_STAT 0
00051 #endif /* IPC_STAT */
00052 
00053 #if !defined (IPC_CREAT)
00054 #  define IPC_CREAT 0
00055 #endif /* IPC_CREAT */
00056 
00057 #if !defined (IPC_NOWAIT)
00058 #  define IPC_NOWAIT 0
00059 #endif /* IPC_NOWAIT */
00060 
00061 #if !defined (IPC_RMID)
00062 #  define IPC_RMID 0
00063 #endif /* IPC_RMID */
00064 
00065 #if !defined (IPC_EXCL)
00066 #  define IPC_EXCL 0
00067 #endif /* IPC_EXCL */
00068 
00069 #ifdef __cplusplus
00070 }
00071 #endif /* __cplusplus */
00072 
00073 #include /**/ "ace/post.h"
00074 #endif /* ACE_OS_INCLUDE_SYS_OS_IPC_H */

Generated on Thu Nov 9 09:41:57 2006 for ACE by doxygen 1.3.6