Removed ACE_HAS_BSTRING, not used
[ACE_TAO.git] / ACE / ace / Shared_Memory_MM.inl
blob75762c1994dff5738ac7ac30d346560f408bc38f
1 // -*- C++ -*-
2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
4 // Return the name of file that is mapped (if any).
6 ACE_INLINE const ACE_TCHAR *
7 ACE_Shared_Memory_MM::filename (void) const
9   return this->shared_memory_.filename ();
12 ACE_INLINE int
13 ACE_Shared_Memory_MM::open (ACE_HANDLE handle,
14                             size_t length,
15                             int prot,
16                             int share,
17                             char *addr,
18                             ACE_OFF_T pos)
20   ACE_TRACE ("ACE_Shared_Memory_MM::open");
21   return shared_memory_.map (handle, length, prot, share, addr, pos);
24 ACE_INLINE int
25 ACE_Shared_Memory_MM::open (const ACE_TCHAR *file_name,
26                             size_t len,
27                             int flags,
28                             int mode,
29                             int prot,
30                             int share,
31                             char *addr,
32                             ACE_OFF_T pos)
34   ACE_TRACE ("ACE_Shared_Memory_MM::open");
35   return shared_memory_.map (file_name, len, flags, mode,
36                              prot, share, addr, pos);
39 ACE_END_VERSIONED_NAMESPACE_DECL