Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / ATM_Acceptor.inl
blob9d040d69e00a84931ee3982061b9645bd8e44568
1 // -*- C++ -*-
2 // Open versioned namespace, if enabled by the user.
3 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
5 ACE_INLINE void
6 ACE_ATM_Acceptor::dump () const
8 #if defined (ACE_HAS_DUMP)
9   ACE_TRACE ("ACE_ATM_Acceptor::dump");
10 #endif /* ACE_HAS_DUMP */
13 ACE_INLINE
14 ACE_ATM_Acceptor::ACE_ATM_Acceptor (const ACE_Addr &remote_sap,
15                                     int backlog,
16                                     ACE_ATM_Params params)
18   ACE_TRACE ("ACE_ATM_Acceptor::ACE_ATM_Acceptor");
20   //FUZZ: disable check_for_lack_ACE_OS
21   if (open (remote_sap, backlog, params) < 0)
22   //FUZZ: enable check_for_lack_ACE_OS
23     ACELIB_ERROR ((LM_ERROR,
24                 ACE_TEXT ("%p\n"),
25                 ACE_TEXT ("ACE_ATM_Acceptor::ACE_ATM_Acceptor")));
28 ACE_INLINE
29 int
30 ACE_ATM_Acceptor::close ()
32 #if defined (ACE_HAS_FORE_ATM_XTI) || defined (ACE_HAS_FORE_ATM_WS2) || defined (ACE_HAS_LINUX_ATM)
33   return (acceptor_.close());
34 #else
35   return 0;
36 #endif // ACE_HAS_FORE_ATM_XTI || ACE_HAS_FORE_ATM_WS2 || ACE_HAS_LINUX_ATM
39 // Close versioned namespace, if enabled by the user.
40 ACE_END_VERSIONED_NAMESPACE_DECL