*/
#include "async_callout.hpp"
+#include <asyncio_config.hpp>
+#ifdef HAVE_LIBI2NCOMMON
#include <tracefunc.hpp>
#include <logfunc.hpp>
+#else
+#define SCOPETRACKER(x) do{}while(false)
+#endif
#include <map>
#include <list>
#include <set>
-#include <asyncio_utils.hpp>
+#include <asyncio_config.hpp>
-#include <pointer_func.hpp>
+#include <asyncio_utils.hpp>
#include <boost/signal.hpp>
#include <boost/shared_ptr.hpp>
namespace AsyncIo
{
+#ifdef HAVE_LIBI2NCOMMON
using namespace I2n;
+#endif
using Utils::MilliTime;
/*
* @note filter object can be used only by one io object.
*/
class FilterBase
-: virtual public SharedBase
+: virtual public Utils::SharedBase
{
friend class IOImplementation;
public:
*/
class IOImplementation
: public boost::signals::trackable
-, virtual public SharedBase
+, virtual public Utils::SharedBase
{
friend class Backend;
friend class FilterBase;
#include <sys/un.h>
#include <netinet/in.h>
#include <limits.h>
-#include <filefunc.hxx>
+#include <asyncio_system_tools.cpp>
namespace AsyncIo
MegaAddr addr;
addr.m_addr_un.sun_family= AF_UNIX;
strncpy(addr.m_addr_un.sun_path, path.c_str(), PATH_MAX);
- ::I2n::unlink(path); // just in case...
+ Utils::unlink(path); // just in case...
mode_t old_mask= ::umask( (mode & 0777) ^ 0777);
if (::bind(fd,(sockaddr*)&addr.m_addr_un, SUN_LEN(&addr.m_addr_un)) < 0)
{