added ace + vcproj for win
--HG-- branch : trunk
This commit is contained in:
1 parent
2e0f8fb6e5
commit
32546e2282
1316 files changed
+335947
No files matched your search
Vendored
+72
@@ -0,0 +1,72 @@
|
||||
// $Id: SSL_SOCK.cpp 80826 2008-03-04 14:51:23Z wotte $
|
||||
|
||||
#include "SSL_SOCK.h"
|
||||
|
||||
#if !defined (__ACE_INLINE__)
|
||||
#include "SSL_SOCK.inl"
|
||||
#endif /* __ACE_INLINE__ */
|
||||
|
||||
#include "ace/OS_NS_errno.h"
|
||||
#include "ace/os_include/os_signal.h"
|
||||
|
||||
ACE_RCSID (ACE_SSL,
|
||||
SSL_SOCK,
|
||||
"$Id: SSL_SOCK.cpp 80826 2008-03-04 14:51:23Z wotte $")
|
||||
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
ACE_SSL_SOCK::ACE_SSL_SOCK (void)
|
||||
{
|
||||
ACE_TRACE ("ACE_SSL_SOCK::ACE_SSL_SOCK");
|
||||
}
|
||||
|
||||
ACE_SSL_SOCK::~ACE_SSL_SOCK (void)
|
||||
{
|
||||
ACE_TRACE ("ACE_SSL_SOCK::~ACE_SSL_SOCK");
|
||||
}
|
||||
|
||||
int
|
||||
ACE_SSL_SOCK::enable (int value) const
|
||||
{
|
||||
ACE_TRACE ("ACE_SSL_SOCK::enable");
|
||||
|
||||
switch (value)
|
||||
{
|
||||
#ifdef SIGURG
|
||||
case SIGURG:
|
||||
case ACE_SIGURG:
|
||||
#endif /* SIGURG */
|
||||
case SIGIO:
|
||||
case ACE_SIGIO:
|
||||
case ACE_CLOEXEC:
|
||||
ACE_NOTSUP_RETURN (-1);
|
||||
case ACE_NONBLOCK:
|
||||
return ACE_IPC_SAP::enable (value);
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
ACE_SSL_SOCK::disable (int value) const
|
||||
{
|
||||
ACE_TRACE("ACE_SSL_SOCK::disable");
|
||||
switch (value)
|
||||
{
|
||||
#ifdef SIGURG
|
||||
case SIGURG:
|
||||
case ACE_SIGURG:
|
||||
#endif /* SIGURG */
|
||||
case SIGIO:
|
||||
case ACE_SIGIO:
|
||||
case ACE_CLOEXEC:
|
||||
ACE_NOTSUP_RETURN (-1);
|
||||
case ACE_NONBLOCK:
|
||||
return ACE_IPC_SAP::disable (value);
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
ACE_END_VERSIONED_NAMESPACE_DECL
|
||||
Reference in new issue
Block a user