Go to the documentation of this file.
3 #ifndef __ZMQ_OPTIONS_HPP_INCLUDED__
4 #define __ZMQ_OPTIONS_HPP_INCLUDED__
15 #if defined ZMQ_HAVE_SO_PEERCRED || defined ZMQ_HAVE_LOCAL_PEERCRED
17 #include <sys/types.h>
19 #ifdef ZMQ_HAVE_LOCAL_PEERCRED
20 #include <sys/ucred.h>
23 #if __cplusplus >= 201103L || (defined _MSC_VER && _MSC_VER >= 1700)
24 #include <type_traits>
28 #define CURVE_KEYSIZE 32
30 #define CURVE_KEYSIZE_Z85 40
42 int setsockopt (
int option_,
const void *optval_,
size_t optvallen_);
43 int getsockopt (
int option_,
void *optval_,
size_t *optvallen_)
const;
160 #if defined ZMQ_HAVE_SO_PEERCRED || defined ZMQ_HAVE_LOCAL_PEERCRED
161 typedef std::set<uid_t> ipc_uid_accept_filters_t;
162 ipc_uid_accept_filters_t ipc_uid_accept_filters;
163 typedef std::set<gid_t> ipc_gid_accept_filters_t;
164 ipc_gid_accept_filters_t ipc_gid_accept_filters;
166 #if defined ZMQ_HAVE_SO_PEERCRED
167 typedef std::set<pid_t> ipc_pid_accept_filters_t;
168 ipc_pid_accept_filters_t ipc_pid_accept_filters;
223 #if defined ZMQ_HAVE_VMCI
224 uint64_t vmci_buffer_size;
225 uint64_t vmci_buffer_min_size;
226 uint64_t vmci_buffer_max_size;
227 int vmci_connect_timeout;
317 template <
typename T>
320 #if __cplusplus >= 201103L && (!defined(__GNUC__) || __GNUC__ > 5)
322 "invalid use of do_getsockopt");
std::vector< unsigned char > hello_msg
uint8_t curve_server_key[CURVE_KEYSIZE]
uint8_t curve_public_key[CURVE_KEYSIZE]
std::map< std::string, std::string > app_metadata
int do_setsockopt_int_as_bool_strict(const void *optval_, size_t optvallen_, bool *out_value_)
std::string gss_principal
GLsizei const GLchar *const * string
int do_getsockopt(void *optval_, size_t *optvallen_, const void *value_, size_t value_len_)
std::string gss_service_principal
#define T(upbtypeconst, upbtype, ctype, default_value)
int do_setsockopt_int_as_bool_relaxed(const void *optval_, size_t optvallen_, bool *out_value_)
std::string plain_username
std::vector< tcp_address_mask_t > tcp_accept_filters_t
uint8_t curve_secret_key[CURVE_KEYSIZE]
int set_curve_key(uint8_t *destination_, const void *optval_, size_t optvallen_)
unsigned char routing_id_size
int setsockopt(int option_, const void *optval_, size_t optvallen_)
std::string plain_password
bool get_effective_conflate_option(const options_t &options)
std::vector< unsigned char > disconnect_msg
tcp_accept_filters_t tcp_accept_filters
std::string socks_proxy_address
bool can_recv_disconnect_msg
std::string wss_trust_pem
GLsizei const GLfloat * value
int monitor_event_version
unsigned char routing_id[256]
int gss_service_principal_nt
int getsockopt(int option_, void *optval_, size_t *optvallen_) const
std::string socks_proxy_password
std::string socks_proxy_username
std::vector< unsigned char > hiccup_msg
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:57