Merge pull request #800 from hintjens/master

Minor cosmetic fixes
This commit is contained in:
Ian Barber 2014-01-02 03:19:45 -08:00
commit 2fa49e96d2
231 changed files with 1232 additions and 1450 deletions

1
.gitignore vendored
View File

@ -88,7 +88,6 @@ tests/test_many_sockets
tests/test_diffserv tests/test_diffserv
tests/test*.log tests/test*.log
tests/test*.trs tests/test*.trs
tests/test_zap_ipc_creds
src/platform.hpp* src/platform.hpp*
src/stamp-h1 src/stamp-h1
perf/local_lat perf/local_lat

View File

@ -1,11 +1,12 @@
Corporate Contributors Corporate Contributors
====================== ======================
Copyright (c) 2007-2013 iMatix Corporation Copyright (c) 2007-2014 iMatix Corporation
Copyright (c) 2009-2011 250bpm s.r.o. Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2010-2011 Miru Limited Copyright (c) 2010-2011 Miru Limited
Copyright (c) 2011 VMware, Inc. Copyright (c) 2011 VMware, Inc.
Copyright (c) 2012 Spotify AB Copyright (c) 2012 Spotify AB
Copyright (c) 2013 Ericsson AB
Individual Contributors Individual Contributors
======================= =======================

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@ control flow
SYNOPSIS SYNOPSIS
-------- --------
*int zmq_proxy_steerable (const void '*frontend', const void '*backend', *int zmq_proxy_steerable (const void '*frontend', const void '*backend',
const void '*capture', const void '*control');* const void '*capture', const void '*control');*
DESCRIPTION DESCRIPTION
@ -54,14 +54,17 @@ void *backend = zmq_socket (context, ZMQ_DEALER);
assert (frontend); assert (frontend);
void *control = zmq_socket (context, ZMQ_SUB); void *control = zmq_socket (context, ZMQ_SUB);
assert (control); assert (control);
// Bind sockets to TCP ports // Bind sockets to TCP ports
assert (zmq_bind (frontend, "tcp://*:5555") == 0); assert (zmq_bind (frontend, "tcp://*:5555") == 0);
assert (zmq_bind (backend, "tcp://*:5556") == 0); assert (zmq_bind (backend, "tcp://*:5556") == 0);
assert (zmq_connect (control, "tcp://*:5557") == 0); assert (zmq_connect (control, "tcp://*:5557") == 0);
// Subscribe to the control socket since we have chosen SUB here // Subscribe to the control socket since we have chosen SUB here
assert (zmq_setsockopt (control, ZMQ_SUBSCRIBE, "", 0)); assert (zmq_setsockopt (control, ZMQ_SUBSCRIBE, "", 0));
// Start the queue proxy, which runs until ETERM or "TERMINATE" received on
the control socket // Start the queue proxy, which runs until ETERM or "TERMINATE"
// received on the control socket
zmq_proxy_steerable (frontend, backend, NULL, control); zmq_proxy_steerable (frontend, backend, NULL, control);
---- ----
.Set up a controller in another node, process or whatever .Set up a controller in another node, process or whatever
@ -69,10 +72,13 @@ zmq_proxy_steerable (frontend, backend, NULL, control);
void *control = zmq_socket (context, ZMQ_PUB); void *control = zmq_socket (context, ZMQ_PUB);
assert (control); assert (control);
assert (zmq_bind (control, "tcp://*:5557") == 0); assert (zmq_bind (control, "tcp://*:5557") == 0);
// pause the proxy // pause the proxy
assert (zmq_send (control, "PAUSE", 5, 0) == 0); assert (zmq_send (control, "PAUSE", 5, 0) == 0);
// resume the proxy // resume the proxy
assert (zmq_send (control, "RESUME", 6, 0) == 0); assert (zmq_send (control, "RESUME", 6, 0) == 0);
// terminate the proxy // terminate the proxy
assert (zmq_send (control, "TERMINATE", 9, 0) == 0); assert (zmq_send (control, "TERMINATE", 9, 0) == 0);
--- ---

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.
@ -293,7 +293,6 @@ ZMQ_EXPORT int zmq_msg_set (zmq_msg_t *msg, int option, int optval);
#define ZMQ_IPC_FILTER_PID 58 #define ZMQ_IPC_FILTER_PID 58
#define ZMQ_IPC_FILTER_UID 59 #define ZMQ_IPC_FILTER_UID 59
#define ZMQ_IPC_FILTER_GID 60 #define ZMQ_IPC_FILTER_GID 60
#define ZMQ_ZAP_IPC_CREDS 61
/* Message options */ /* Message options */
#define ZMQ_MORE 1 #define ZMQ_MORE 1

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.
@ -51,9 +51,6 @@ zmq::options_t::options_t () :
tcp_keepalive_cnt (-1), tcp_keepalive_cnt (-1),
tcp_keepalive_idle (-1), tcp_keepalive_idle (-1),
tcp_keepalive_intvl (-1), tcp_keepalive_intvl (-1),
# if defined ZMQ_HAVE_SO_PEERCRED || defined ZMQ_HAVE_LOCAL_PEERCRED
zap_ipc_creds (false),
# endif
mechanism (ZMQ_NULL), mechanism (ZMQ_NULL),
as_server (0), as_server (0),
socket_id (0), socket_id (0),
@ -261,13 +258,6 @@ int zmq::options_t::setsockopt (int option_, const void *optval_,
break; break;
# if defined ZMQ_HAVE_SO_PEERCRED || defined ZMQ_HAVE_LOCAL_PEERCRED # if defined ZMQ_HAVE_SO_PEERCRED || defined ZMQ_HAVE_LOCAL_PEERCRED
case ZMQ_ZAP_IPC_CREDS:
if (is_int && (value == 0 || value == 1)) {
zap_ipc_creds = (value != 0);
return 0;
}
break;
case ZMQ_IPC_FILTER_UID: case ZMQ_IPC_FILTER_UID:
if (optvallen_ == 0 && optval_ == NULL) { if (optvallen_ == 0 && optval_ == NULL) {
ipc_uid_accept_filters.clear (); ipc_uid_accept_filters.clear ();
@ -601,15 +591,6 @@ int zmq::options_t::getsockopt (int option_, void *optval_, size_t *optvallen_)
} }
break; break;
# if defined ZMQ_HAVE_SO_PEERCRED || defined ZMQ_HAVE_LOCAL_PEERCRED
case ZMQ_ZAP_IPC_CREDS:
if (is_int) {
*value = zap_ipc_creds;
return 0;
}
break;
# endif
case ZMQ_MECHANISM: case ZMQ_MECHANISM:
if (is_int) { if (is_int) {
*value = mechanism; *value = mechanism;

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file
This file is part of 0MQ. This file is part of 0MQ.

Some files were not shown because too many files have changed in this diff Show More