/usr/lib/python2.7/dist-packages/zmq/backend/cython/constants.pxi is in python-zmq 16.0.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 | #-----------------------------------------------------------------------------
# Python module level constants
#-----------------------------------------------------------------------------
DRAFT_API = PYZMQ_DRAFT_API
VERSION = ZMQ_VERSION
VERSION_MAJOR = ZMQ_VERSION_MAJOR
VERSION_MINOR = ZMQ_VERSION_MINOR
VERSION_PATCH = ZMQ_VERSION_PATCH
NOBLOCK = ZMQ_NOBLOCK
DONTWAIT = ZMQ_DONTWAIT
POLLIN = ZMQ_POLLIN
POLLOUT = ZMQ_POLLOUT
POLLERR = ZMQ_POLLERR
POLLPRI = ZMQ_POLLPRI
SNDMORE = ZMQ_SNDMORE
STREAMER = ZMQ_STREAMER
FORWARDER = ZMQ_FORWARDER
QUEUE = ZMQ_QUEUE
IO_THREADS_DFLT = ZMQ_IO_THREADS_DFLT
MAX_SOCKETS_DFLT = ZMQ_MAX_SOCKETS_DFLT
POLLITEMS_DFLT = ZMQ_POLLITEMS_DFLT
THREAD_PRIORITY_DFLT = ZMQ_THREAD_PRIORITY_DFLT
THREAD_SCHED_POLICY_DFLT = ZMQ_THREAD_SCHED_POLICY_DFLT
PAIR = ZMQ_PAIR
PUB = ZMQ_PUB
SUB = ZMQ_SUB
REQ = ZMQ_REQ
REP = ZMQ_REP
DEALER = ZMQ_DEALER
ROUTER = ZMQ_ROUTER
XREQ = ZMQ_XREQ
XREP = ZMQ_XREP
PULL = ZMQ_PULL
PUSH = ZMQ_PUSH
XPUB = ZMQ_XPUB
XSUB = ZMQ_XSUB
UPSTREAM = ZMQ_UPSTREAM
DOWNSTREAM = ZMQ_DOWNSTREAM
STREAM = ZMQ_STREAM
SERVER = ZMQ_SERVER
CLIENT = ZMQ_CLIENT
RADIO = ZMQ_RADIO
DISH = ZMQ_DISH
GATHER = ZMQ_GATHER
SCATTER = ZMQ_SCATTER
DGRAM = ZMQ_DGRAM
EVENT_CONNECTED = ZMQ_EVENT_CONNECTED
EVENT_CONNECT_DELAYED = ZMQ_EVENT_CONNECT_DELAYED
EVENT_CONNECT_RETRIED = ZMQ_EVENT_CONNECT_RETRIED
EVENT_LISTENING = ZMQ_EVENT_LISTENING
EVENT_BIND_FAILED = ZMQ_EVENT_BIND_FAILED
EVENT_ACCEPTED = ZMQ_EVENT_ACCEPTED
EVENT_ACCEPT_FAILED = ZMQ_EVENT_ACCEPT_FAILED
EVENT_CLOSED = ZMQ_EVENT_CLOSED
EVENT_CLOSE_FAILED = ZMQ_EVENT_CLOSE_FAILED
EVENT_DISCONNECTED = ZMQ_EVENT_DISCONNECTED
EVENT_ALL = ZMQ_EVENT_ALL
EVENT_MONITOR_STOPPED = ZMQ_EVENT_MONITOR_STOPPED
globals()['NULL'] = ZMQ_NULL
PLAIN = ZMQ_PLAIN
CURVE = ZMQ_CURVE
GSSAPI = ZMQ_GSSAPI
EAGAIN = ZMQ_EAGAIN
EINVAL = ZMQ_EINVAL
EFAULT = ZMQ_EFAULT
ENOMEM = ZMQ_ENOMEM
ENODEV = ZMQ_ENODEV
EMSGSIZE = ZMQ_EMSGSIZE
EAFNOSUPPORT = ZMQ_EAFNOSUPPORT
ENETUNREACH = ZMQ_ENETUNREACH
ECONNABORTED = ZMQ_ECONNABORTED
ECONNRESET = ZMQ_ECONNRESET
ENOTCONN = ZMQ_ENOTCONN
ETIMEDOUT = ZMQ_ETIMEDOUT
EHOSTUNREACH = ZMQ_EHOSTUNREACH
ENETRESET = ZMQ_ENETRESET
HAUSNUMERO = ZMQ_HAUSNUMERO
ENOTSUP = ZMQ_ENOTSUP
EPROTONOSUPPORT = ZMQ_EPROTONOSUPPORT
ENOBUFS = ZMQ_ENOBUFS
ENETDOWN = ZMQ_ENETDOWN
EADDRINUSE = ZMQ_EADDRINUSE
EADDRNOTAVAIL = ZMQ_EADDRNOTAVAIL
ECONNREFUSED = ZMQ_ECONNREFUSED
EINPROGRESS = ZMQ_EINPROGRESS
ENOTSOCK = ZMQ_ENOTSOCK
EFSM = ZMQ_EFSM
ENOCOMPATPROTO = ZMQ_ENOCOMPATPROTO
ETERM = ZMQ_ETERM
EMTHREAD = ZMQ_EMTHREAD
IO_THREADS = ZMQ_IO_THREADS
MAX_SOCKETS = ZMQ_MAX_SOCKETS
SOCKET_LIMIT = ZMQ_SOCKET_LIMIT
THREAD_PRIORITY = ZMQ_THREAD_PRIORITY
THREAD_SCHED_POLICY = ZMQ_THREAD_SCHED_POLICY
BLOCKY = ZMQ_BLOCKY
IDENTITY = ZMQ_IDENTITY
SU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BACKLOG = ZMQ_BACKLOG
ROUTER_MANDATORY = ZMQ_ROUTER_MANDATORY
FAIL_UNROUTABLE = ZMQ_FAIL_UNROUTABLE
ROUTER_RAW = ZMQ_ROUTER_RAW
IMMEDIATE = ZMQ_IMMEDIATE
IPV6 = ZMQ_IPV6
MECHANISM = ZMQ_MECHANISM
PLAIN_SERVER = ZMQ_PLAIN_SERVER
CURVE_SERVER = ZMQ_CURVE_SERVER
PROBE_ROUTER = ZMQ_PROBE_ROUTER
REQ_RELAXED = ZMQ_REQ_RELAXED
REQ_CORRELATE = ZMQ_REQ_CORRELATE
CONFLATE = ZMQ_CONFLATE
ROUTER_HANDOVER = ZMQ_ROUTER_HANDOVER
TOS = ZMQ_TOS
IPC_FILTER_PID = ZMQ_IPC_FILTER_PID
IPC_FILTER_UID = ZMQ_IPC_FILTER_UID
IPC_FILTER_GID = ZMQ_IPC_FILTER_GID
GSSAPI_SERVER = ZMQ_GSSAPI_SERVER
GSSAPI_PLAINTEXT = ZMQ_GSSAPI_PLAINTEXT
HANDSHAKE_IVL = ZMQ_HANDSHAKE_IVL
XPUB_NODROP = ZMQ_XPUB_NODROP
XPUB_MANUAL = ZMQ_XPUB_MANUAL
STREAM_NOTIFY = ZMQ_STREAM_NOTIFY
INVERT_MATCHING = ZMQ_INVERT_MATCHING
XPUB_VERBOSER = ZMQ_XPUB_VERBOSER
HEARTBEAT_IVL = ZMQ_HEARTBEAT_IVL
HEARTBEAT_TTL = ZMQ_HEARTBEAT_TTL
HEARTBEAT_TIMEOUT = ZMQ_HEARTBEAT_TIMEOUT
CONNECT_TIMEOUT = ZMQ_CONNECT_TIMEOUT
TCP_MAXRT = ZMQ_TCP_MAXRT
THREAD_SAFE = ZMQ_THREAD_SAFE
MULTICAST_MAXTPDU = ZMQ_MULTICAST_MAXTPDU
VMCI_CONNECT_TIMEOUT = ZMQ_VMCI_CONNECT_TIMEOUT
USE_FD = ZMQ_USE_FD
AFFINITY = ZMQ_AFFINITY
MAXMSGSIZE = ZMQ_MAXMSGSIZE
HWM = ZMQ_HWM
SWAP = ZMQ_SWAP
MCAST_LOOP = ZMQ_MCAST_LOOP
RECOVERY_IVL_MSEC = ZMQ_RECOVERY_IVL_MSEC
VMCI_BUFFER_SIZE = ZMQ_VMCI_BUFFER_SIZE
VMCI_BUFFER_MIN_SIZE = ZMQ_VMCI_BUFFER_MIN_SIZE
VMCI_BUFFER_MAX_SIZE = ZMQ_VMCI_BUFFER_MAX_SIZE
RATE = ZMQ_RATE
RECOVERY_IVL = ZMQ_RECOVERY_IVL
SNDBUF = ZMQ_SNDBUF
RCVBUF = ZMQ_RCVBUF
RCVMORE = ZMQ_RCVMORE
MORE = ZMQ_MORE
SRCFD = ZMQ_SRCFD
SHARED = ZMQ_SHARED
#-----------------------------------------------------------------------------
# Symbols to export
#-----------------------------------------------------------------------------
__all__ = [
"DRAFT_API",
"VERSION",
"VERSION_MAJOR",
"VERSION_MINOR",
"VERSION_PATCH",
"NOBLOCK",
"DONTWAIT",
"POLLIN",
"POLLOUT",
"POLLERR",
"POLLPRI",
"SNDMORE",
"STREAMER",
"FORWARDER",
"QUEUE",
"IO_THREADS_DFLT",
"MAX_SOCKETS_DFLT",
"POLLITEMS_DFLT",
"THREAD_PRIORITY_DFLT",
"THREAD_SCHED_POLICY_DFLT",
"PAIR",
"PUB",
"SUB",
"REQ",
"REP",
"DEALER",
"ROUTER",
"XREQ",
"XREP",
"PULL",
"PUSH",
"XPUB",
"XSUB",
"UPSTREAM",
"DOWNSTREAM",
"STREAM",
"SERVER",
"CLIENT",
"RADIO",
"DISH",
"GATHER",
"SCATTER",
"DGRAM",
"EVENT_CONNECTED",
"EVENT_CONNECT_DELAYED",
"EVENT_CONNECT_RETRIED",
"EVENT_LISTENING",
"EVENT_BIND_FAILED",
"EVENT_ACCEPTED",
"EVENT_ACCEPT_FAILED",
"EVENT_CLOSED",
"EVENT_CLOSE_FAILED",
"EVENT_DISCONNECTED",
"EVENT_ALL",
"EVENT_MONITOR_STOPPED",
"NULL",
"PLAIN",
"CURVE",
"GSSAPI",
"EAGAIN",
"EINVAL",
"EFAULT",
"ENOMEM",
"ENODEV",
"EMSGSIZE",
"EAFNOSUPPORT",
"ENETUNREACH",
"ECONNABORTED",
"ECONNRESET",
"ENOTCONN",
"ETIMEDOUT",
"EHOSTUNREACH",
"ENETRESET",
"HAUSNUMERO",
"ENOTSUP",
"EPROTONOSUPPORT",
"ENOBUFS",
"ENETDOWN",
"EADDRINUSE",
"EADDRNOTAVAIL",
"ECONNREFUSED",
"EINPROGRESS",
"ENOTSOCK",
"EFSM",
"ENOCOMPATPROTO",
"ETERM",
"EMTHREAD",
"IO_THREADS",
"MAX_SOCKETS",
"SOCKET_LIMIT",
"THREAD_PRIORITY",
"THREAD_SCHED_POLICY",
"BLOCKY",
"IDENTITY",
"SUBSCRIBE",
"UNSUBSCRIBE",
"LAST_ENDPOINT",
"TCP_ACCEPT_FILTER",
"PLAIN_USERNAME",
"PLAIN_PASSWORD",
"CURVE_PUBLICKEY",
"CURVE_SECRETKEY",
"CURVE_SERVERKEY",
"ZAP_DOMAIN",
"CONNECT_RID",
"GSSAPI_PRINCIPAL",
"GSSAPI_SERVICE_PRINCIPAL",
"SOCKS_PROXY",
"XPUB_WELCOME_MSG",
"FD",
"RECONNECT_IVL_MAX",
"SNDTIMEO",
"RCVTIMEO",
"SNDHWM",
"RCVHWM",
"MULTICAST_HOPS",
"IPV4ONLY",
"ROUTER_BEHAVIOR",
"TCP_KEEPALIVE",
"TCP_KEEPALIVE_CNT",
"TCP_KEEPALIVE_IDLE",
"TCP_KEEPALIVE_INTVL",
"DELAY_ATTACH_ON_CONNECT",
"XPUB_VERBOSE",
"EVENTS",
"TYPE",
"LINGER",
"RECONNECT_IVL",
"BACKLOG",
"ROUTER_MANDATORY",
"FAIL_UNROUTABLE",
"ROUTER_RAW",
"IMMEDIATE",
"IPV6",
"MECHANISM",
"PLAIN_SERVER",
"CURVE_SERVER",
"PROBE_ROUTER",
"REQ_RELAXED",
"REQ_CORRELATE",
"CONFLATE",
"ROUTER_HANDOVER",
"TOS",
"IPC_FILTER_PID",
"IPC_FILTER_UID",
"IPC_FILTER_GID",
"GSSAPI_SERVER",
"GSSAPI_PLAINTEXT",
"HANDSHAKE_IVL",
"XPUB_NODROP",
"XPUB_MANUAL",
"STREAM_NOTIFY",
"INVERT_MATCHING",
"XPUB_VERBOSER",
"HEARTBEAT_IVL",
"HEARTBEAT_TTL",
"HEARTBEAT_TIMEOUT",
"CONNECT_TIMEOUT",
"TCP_MAXRT",
"THREAD_SAFE",
"MULTICAST_MAXTPDU",
"VMCI_CONNECT_TIMEOUT",
"USE_FD",
"AFFINITY",
"MAXMSGSIZE",
"HWM",
"SWAP",
"MCAST_LOOP",
"RECOVERY_IVL_MSEC",
"VMCI_BUFFER_SIZE",
"VMCI_BUFFER_MIN_SIZE",
"VMCI_BUFFER_MAX_SIZE",
"RATE",
"RECOVERY_IVL",
"SNDBUF",
"RCVBUF",
"RCVMORE",
"MORE",
"SRCFD",
"SHARED",
]
|