libzmq/doc
KennyTM~ c995de6584 Allow the ZMQ_MONITOR code compilable on gcc 4.7 on Linux.
The current ZMQ_MONITOR code does not compile in gcc 4.7, as -pedantic
and -Werror are enabled, and ISO C++ doesn't allow casting between
normal pointers (void*) and function pointers, as pedantically their
size could be different. This caused the library not compilable. This
commit workaround the problem by introducing one more indirection, i.e.
instead of calling

    (void *)listener

which is an error, we have to use

    *(void **)&listener

which is an undefined behavior :) but works on most platforms

Also, `optval_ = monitor` will not set the parameter in getsockopt(),
and the extra casting caused the LHS to be an rvalue which again makes
the code not compilable. The proper way is to pass a pointer of function
pointer and assign with indirection, i.e. `*optval_ = monitor`.

Also, fixed an asciidoc error in zmq_getsockopt.txt because the `~~~~`
is too long.
2012-05-13 20:49:05 +08:00
..
asciidoc.conf doc: Add 0MQ version to XHTML11 backend footer 2010-09-04 17:42:33 +02:00
Makefile.am Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_bind.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_close.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_connect.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_ctx_destroy.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_ctx_get.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_ctx_new.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_ctx_set.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_device.txt Fixed issue LIBZMQ-333 2012-03-16 16:39:11 -05:00
zmq_disconnect.txt gitignore endpoint test and add docs for unbind and disconnect 2012-05-11 14:17:45 +01:00
zmq_epgm.txt Documentation rewrite 2010-03-09 18:47:31 +01:00
zmq_errno.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_getsockopt.txt Allow the ZMQ_MONITOR code compilable on gcc 4.7 on Linux. 2012-05-13 20:49:05 +08:00
zmq_init.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_inproc.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_ipc.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_close.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_copy.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_data.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_get.txt Simplified zmq_msg_get/set functions 2012-03-21 14:19:40 -05:00
zmq_msg_init_data.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_init_size.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_init.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_more.txt Simplified zmq_msg_get/set functions 2012-03-21 14:19:40 -05:00
zmq_msg_move.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_recv.txt Added zmq_msg_send/recv functions 2012-02-15 15:37:35 -06:00
zmq_msg_send.txt Updating documentation to remove ECANTROUTE error code 2012-02-17 08:01:36 +00:00
zmq_msg_set.txt Simplified zmq_msg_get/set functions 2012-03-21 14:19:40 -05:00
zmq_msg_size.txt Revert NULL checks in the API 2012-02-17 09:48:04 +00:00
zmq_pgm.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_poll.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_recv.txt Cleaned up description of multi-part messages 2012-02-15 10:39:18 -06:00
zmq_recvmsg.txt Cleaned up description of multi-part messages 2012-02-15 10:39:18 -06:00
zmq_send.txt Updating documentation to remove ECANTROUTE error code 2012-02-17 08:01:36 +00:00
zmq_sendmsg.txt Updating documentation to remove ECANTROUTE error code 2012-02-17 08:01:36 +00:00
zmq_setsockopt.txt ZMQ_MONITOR socket option registers a callback / event sink for changes in socket state 2012-05-04 02:32:46 +01:00
zmq_socket.txt Make docs reflect socket mappings better 2012-04-16 14:08:15 +01:00
zmq_strerror.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_tcp.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_term.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_unbind.txt gitignore endpoint test and add docs for unbind and disconnect 2012-05-11 14:17:45 +01:00
zmq_version.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00