summaryrefslogtreecommitdiff
path: root/bindings/python
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-12-13 14:45:23 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-12-13 14:45:23 +0100
commitfa6bf24d8030b0e54fd25b167064482e4cf08a36 (patch)
tree9f8f833da9607c9ba3376b45aa5cfafa4305e59c /bindings/python
parentc43aded531014895973c283fdd82bb2e5e85c789 (diff)
XREP & XREQ socket types added; zmq_queue device added
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/pyzmq.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/bindings/python/pyzmq.cpp b/bindings/python/pyzmq.cpp
index f171eab..75f872d 100644
--- a/bindings/python/pyzmq.cpp
+++ b/bindings/python/pyzmq.cpp
@@ -498,6 +498,12 @@ PyMODINIT_FUNC initlibpyzmq ()
t = PyInt_FromLong (ZMQ_REP);
PyDict_SetItemString (dict, "REP", t);
Py_DECREF (t);
+ t = PyInt_FromLong (ZMQ_XREQ);
+ PyDict_SetItemString (dict, "XREQ", t);
+ Py_DECREF (t);
+ t = PyInt_FromLong (ZMQ_XREP);
+ PyDict_SetItemString (dict, "XREP", t);
+ Py_DECREF (t);
t = PyInt_FromLong (ZMQ_UPSTREAM);
PyDict_SetItemString (dict, "UPSTREAM", t);
Py_DECREF (t);