os_un.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    os_un.h
00006  *
00007  *  definitions for UNIX domain sockets
00008  *
00009  *  os_un.h,v 1.7 2006/01/04 08:30:27 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_UN_H
00017 #define ACE_OS_INCLUDE_SYS_OS_UN_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_socket.h"
00028 
00029 #if !defined (ACE_LACKS_SYS_UN_H)
00030 #  include /**/ <sys/un.h>
00031 #endif /* !ACE_LACKS_SYS_UN_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_VXWORKS) && (ACE_VXWORKS <= 0x600)
00040 struct sockaddr_un {
00041   short sun_family;    // AF_UNIX.
00042   char  sun_path[108]; // path name.
00043 };
00044 #endif /* ACE_VXWORKS */
00045 
00046 
00047 #ifdef __cplusplus
00048 }
00049 #endif /* __cplusplus */
00050 
00051 #include /**/ "ace/post.h"
00052 #endif /* ACE_OS_INCLUDE_SYS_OS_UN_H */

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