mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 08:34:00 +00:00
add test and documentation for "draft" capability
This commit is contained in:
parent
a6a56e299d
commit
b7cd6e8a85
@ -27,6 +27,7 @@ defined:
|
|||||||
* norm - the library supports the norm:// protocol
|
* norm - the library supports the norm:// protocol
|
||||||
* curve - the library supports the CURVE security mechanism
|
* curve - the library supports the CURVE security mechanism
|
||||||
* gssapi - the library supports the GSSAPI security mechanism
|
* gssapi - the library supports the GSSAPI security mechanism
|
||||||
|
* draft - the library is build with the draft api
|
||||||
|
|
||||||
When this method is provided, the zmq.h header file will define
|
When this method is provided, the zmq.h header file will define
|
||||||
ZMQ_HAS_CAPABILITIES.
|
ZMQ_HAS_CAPABILITIES.
|
||||||
|
@ -73,5 +73,10 @@ int main (void)
|
|||||||
assert (!zmq_has("vmci"));
|
assert (!zmq_has("vmci"));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined (ZMQ_BUILD_DRAFT_API)
|
||||||
|
assert (zmq_has("draft"));
|
||||||
|
#else
|
||||||
|
assert (!zmq_has("draft"));
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user