1ZMQ_HAS(3)                        0MQ Manual                        ZMQ_HAS(3)
2
3
4

NAME

6       zmq_has - check a ZMQ capability
7

SYNOPSIS

9       int zmq_has (const char *capability);
10

DESCRIPTION

12       The zmq_has() function shall report whether a specified capability is
13       available in the library. This allows bindings and applications to
14       probe a library directly, for transport and security options.
15
16       Capabilities shall be lowercase strings. The following capabilities are
17       defined:
18
19       •   ipc - the library supports the ipc:// protocol
20
21       •   pgm - the library supports the pgm:// protocol
22
23       •   tipc - the library supports the tipc:// protocol
24
25       •   norm - the library supports the norm:// protocol
26
27       •   curve - the library supports the CURVE security mechanism
28
29       •   gssapi - the library supports the GSSAPI security mechanism
30
31       •   draft - the library is built with the draft api
32
33       When this method is provided, the zmq.h header file will define
34       ZMQ_HAS_CAPABILITIES.
35

RETURN VALUE

37       The zmq_has() function shall return 1 if the specified capability is
38       provided. Otherwise it shall return 0.
39

AUTHORS

41       This page was written by the 0MQ community. To make a change please
42       read the 0MQ Contribution Policy at
43       http://www.zeromq.org/docs:contributing.
44
45
46
470MQ 4.3.4                         01/21/2023                        ZMQ_HAS(3)
Impressum