mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 20:59:47 +01:00
add session->zap_enabled()
checks mechanism != NULL, or NULL + non-empty zap_domain
This commit is contained in:
@@ -69,6 +69,7 @@ namespace zmq
|
||||
int push_msg (msg_t *msg_);
|
||||
|
||||
int zap_connect ();
|
||||
bool zap_enabled ();
|
||||
|
||||
// Fetches a message. Returns 0 if successful; -1 otherwise.
|
||||
// The caller is responsible for freeing the message when no
|
||||
|
||||
Reference in New Issue
Block a user