summaryrefslogtreecommitdiff
path: root/src/poller.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:01:47 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:01:47 +0900
commit4a7aad06d95701cf232198093ce396dcdbb53e5b (patch)
tree8ced8929e603a179d9434099244dfd782e705d5e /src/poller.hpp
parent1fc63e4dbcf1438eb571d720f57be68852f820f7 (diff)
ZeroMQ renamed to Crossroads
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/poller.hpp')
-rw-r--r--src/poller.hpp80
1 files changed, 40 insertions, 40 deletions
diff --git a/src/poller.hpp b/src/poller.hpp
index a989328..bf3c38f 100644
--- a/src/poller.hpp
+++ b/src/poller.hpp
@@ -1,16 +1,16 @@
/*
- Copyright (c) 2010-2011 250bpm s.r.o.
+ Copyright (c) 2010-2012 250bpm s.r.o.
Copyright (c) 2007-2009 iMatix Corporation
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
- This file is part of 0MQ.
+ This file is part of Crossroads project.
- 0MQ is free software; you can redistribute it and/or modify it under
+ Crossroads is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
- 0MQ is distributed in the hope that it will be useful,
+ Crossroads is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
@@ -19,61 +19,61 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __ZMQ_POLLER_HPP_INCLUDED__
-#define __ZMQ_POLLER_HPP_INCLUDED__
+#ifndef __XS_POLLER_HPP_INCLUDED__
+#define __XS_POLLER_HPP_INCLUDED__
#include "platform.hpp"
-#if defined ZMQ_FORCE_SELECT
-#define ZMQ_USE_SELECT
+#if defined XS_FORCE_SELECT
+#define XS_USE_SELECT
#include "select.hpp"
-#elif defined ZMQ_FORCE_POLL
-#define ZMQ_USE_POLL
+#elif defined XS_FORCE_POLL
+#define XS_USE_POLL
#include "poll.hpp"
-#elif defined ZMQ_FORCE_EPOLL
-#define ZMQ_USE_EPOLL
+#elif defined XS_FORCE_EPOLL
+#define XS_USE_EPOLL
#include "epoll.hpp"
-#elif defined ZMQ_FORCE_DEVPOLL
-#define ZMQ_USE_DEVPOLL
+#elif defined XS_FORCE_DEVPOLL
+#define XS_USE_DEVPOLL
#include "devpoll.hpp"
-#elif defined ZMQ_FORCE_KQUEUE
-#define ZMQ_USE_KQUEUE
+#elif defined XS_FORCE_KQUEUE
+#define XS_USE_KQUEUE
#include "kqueue.hpp"
-#elif defined ZMQ_HAVE_LINUX
-#define ZMQ_USE_EPOLL
+#elif defined XS_HAVE_LINUX
+#define XS_USE_EPOLL
#include "epoll.hpp"
-#elif defined ZMQ_HAVE_WINDOWS
-#define ZMQ_USE_SELECT
+#elif defined XS_HAVE_WINDOWS
+#define XS_USE_SELECT
#include "select.hpp"
-#elif defined ZMQ_HAVE_FREEBSD
-#define ZMQ_USE_KQUEUE
+#elif defined XS_HAVE_FREEBSD
+#define XS_USE_KQUEUE
#include "kqueue.hpp"
-#elif defined ZMQ_HAVE_OPENBSD
-#define ZMQ_USE_KQUEUE
+#elif defined XS_HAVE_OPENBSD
+#define XS_USE_KQUEUE
#include "kqueue.hpp"
-#elif defined ZMQ_HAVE_NETBSD
-#define ZMQ_USE_KQUEUE
+#elif defined XS_HAVE_NETBSD
+#define XS_USE_KQUEUE
#include "kqueue.hpp"
-#elif defined ZMQ_HAVE_SOLARIS
-#define ZMQ_USE_DEVPOLL
+#elif defined XS_HAVE_SOLARIS
+#define XS_USE_DEVPOLL
#include "devpoll.hpp"
-#elif defined ZMQ_HAVE_OSX
-#define ZMQ_USE_KQUEUE
+#elif defined XS_HAVE_OSX
+#define XS_USE_KQUEUE
#include "kqueue.hpp"
-#elif defined ZMQ_HAVE_QNXNTO
-#define ZMQ_USE_POLL
+#elif defined XS_HAVE_QNXNTO
+#define XS_USE_POLL
#include "poll.hpp"
-#elif defined ZMQ_HAVE_AIX
-#define ZMQ_USE_POLL
+#elif defined XS_HAVE_AIX
+#define XS_USE_POLL
#include "poll.hpp"
-#elif defined ZMQ_HAVE_HPUX
-#define ZMQ_USE_DEVPOLL
+#elif defined XS_HAVE_HPUX
+#define XS_USE_DEVPOLL
#include "devpoll.hpp"
-#elif defined ZMQ_HAVE_OPENVMS
-#define ZMQ_USE_SELECT
+#elif defined XS_HAVE_OPENVMS
+#define XS_USE_SELECT
#include "select.hpp"
-#elif defined ZMQ_HAVE_CYGWIN
-#define ZMQ_USE_SELECT
+#elif defined XS_HAVE_CYGWIN
+#define XS_USE_SELECT
#include "select.hpp"
#else
#error Unsupported platform