2023-10-21 01:50:38 +02:00
|
|
|
= zmq_has(3)
|
2014-06-18 15:10:18 +02:00
|
|
|
|
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== NAME
|
2014-06-18 15:10:18 +02:00
|
|
|
zmq_has - check a ZMQ capability
|
|
|
|
|
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== SYNOPSIS
|
2014-06-18 15:10:18 +02:00
|
|
|
*int zmq_has (const char *capability);*
|
|
|
|
|
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== DESCRIPTION
|
2014-06-18 15:10:18 +02:00
|
|
|
The _zmq_has()_ function shall report whether a specified capability is
|
|
|
|
available in the library. This allows bindings and applications to probe
|
|
|
|
a library directly, for transport and security options.
|
|
|
|
|
|
|
|
Capabilities shall be lowercase strings. The following capabilities are
|
|
|
|
defined:
|
|
|
|
|
|
|
|
* ipc - the library supports the ipc:// protocol
|
|
|
|
* pgm - the library supports the pgm:// protocol
|
|
|
|
* tipc - the library supports the tipc:// protocol
|
|
|
|
* norm - the library supports the norm:// protocol
|
|
|
|
* curve - the library supports the CURVE security mechanism
|
|
|
|
* gssapi - the library supports the GSSAPI security mechanism
|
2017-01-19 21:00:15 +00:00
|
|
|
* draft - the library is built with the draft api
|
2014-06-18 15:10:18 +02:00
|
|
|
|
|
|
|
When this method is provided, the zmq.h header file will define
|
|
|
|
ZMQ_HAS_CAPABILITIES.
|
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== RETURN VALUE
|
2014-06-18 15:10:18 +02:00
|
|
|
The _zmq_has()_ function shall return 1 if the specified capability is
|
|
|
|
provided. Otherwise it shall return 0.
|
|
|
|
|
|
|
|
|
2023-10-21 01:50:38 +02:00
|
|
|
== AUTHORS
|
2014-06-18 15:10:18 +02:00
|
|
|
This page was written by the 0MQ community. To make a change please
|
2023-11-22 23:18:23 +01:00
|
|
|
read the 0MQ Contribution Policy at <https://zeromq.org/how-to-contribute/>.
|