• Pieter Hintjens's avatar
    Problem: need way to probe library capabilities · f11d673b
    Pieter Hintjens authored
    As libzmq is compiled with optional transports and security mechanisms,
    there is no clean way for applications to determine what capabilities
    are actually available in a given libzmq instance.
    
    Solution: provide an API specifically for capability reporting. The
    zmq_has () method is meant to be open ended. It accepts a string so
    that we can add arbitrary capabilities without breaking existing
    applications.
    
    zmq.h also defines ZMQ_HAS_CAPABILITIES when this method is provided.
    f11d673b
zmq_has.txt 1.12 KB