Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ZMQ_HAS(3)			  0MQ Manual			    ZMQ_HAS(3)

NAME
       zmq_has - check a ZMQ capability

SYNOPSIS
       int zmq_has (const char *capability);

DESCRIPTION
       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:

       o   ipc - the library supports the ipc:// protocol

       o   pgm - the library supports the pgm:// protocol

       o   tipc	- the library supports the tipc:// protocol

       o   norm	- the library supports the norm:// protocol

       o   curve - the library supports	the CURVE security mechanism

       o   gssapi - the	library	supports the GSSAPI security mechanism

       o   draft - the library is built	with the draft api

       When this method	is provided, the zmq.h header file will	define
       ZMQ_HAS_CAPABILITIES.

RETURN VALUE
       The zmq_has() function shall return 1 if	the specified capability is
       provided. Otherwise it shall return 0.

AUTHORS
       This page was written by	the 0MQ	community. To make a change please
       read the	0MQ Contribution Policy	at
       http://www.zeromq.org/docs:contributing.

0MQ 4.3.4			  01/17/2021			    ZMQ_HAS(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=zmq_has&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help