Skip to content

Instantly share code, notes, and snippets.

@prio
Created July 28, 2015 10:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save prio/0d345da03ffc8af71476 to your computer and use it in GitHub Desktop.
Save prio/0d345da03ffc8af71476 to your computer and use it in GitHub Desktop.
-module(czmq_const).
-compile(export_all).
-include_lib("czmq/include/czmq.hrl").
zmq_pair() ->
?ZMQ_PAIR.
zmq_pub() ->
?ZMQ_PUB.
zmq_sub() ->
?ZMQ_SUB.
zmq_req() ->
?ZMQ_REQ.
zmq_rep() ->
?ZMQ_REP.
zmq_dealer() ->
?ZMQ_DEALER.
zmq_router() ->
?ZMQ_ROUTER.
zmq_pull() ->
?ZMQ_PULL.
zmq_push() ->
?ZMQ_PUSH.
zmq_xpub() ->
?ZMQ_XPUB.
zmq_xsub() ->
?ZMQ_XSUB.
zmq_stream() ->
?ZMQ_STREAM.
zframe_more() ->
?ZFRAME_MORE.
zframe_reuse() ->
?ZFRAME_REUSE.
zframe_dontwait() ->
?ZFRAME_DONTWAIT.
curve_allow_any() ->
?CURVE_ALLOW_ANY.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment