30 #ifndef __ZMQ_OPTIONS_HPP_INCLUDED__ 31 #define __ZMQ_OPTIONS_HPP_INCLUDED__ 40 #include "../include/zmq.h" 42 #if defined ZMQ_HAVE_SO_PEERCRED || defined ZMQ_HAVE_LOCAL_PEERCRED 43 #include <sys/types.h> 45 #ifdef ZMQ_HAVE_LOCAL_PEERCRED 46 #include <sys/ucred.h> 50 #define CURVE_KEYSIZE 32 52 #define CURVE_KEYSIZE_Z85 40 60 int setsockopt (
int option_,
const void *optval_,
size_t optvallen_);
61 int getsockopt (
int option_,
void *optval_,
size_t *optvallen_)
const;
167 # if defined ZMQ_HAVE_SO_PEERCRED || defined ZMQ_HAVE_LOCAL_PEERCRED 169 typedef std::set <uid_t> ipc_uid_accept_filters_t;
170 ipc_uid_accept_filters_t ipc_uid_accept_filters;
171 typedef std::set <gid_t> ipc_gid_accept_filters_t;
172 ipc_gid_accept_filters_t ipc_gid_accept_filters;
174 # if defined ZMQ_HAVE_SO_PEERCRED 175 typedef std::set <pid_t> ipc_pid_accept_filters_t;
176 ipc_pid_accept_filters_t ipc_pid_accept_filters;
227 # if defined ZMQ_HAVE_VMCI 228 uint64_t vmci_buffer_size;
229 uint64_t vmci_buffer_min_size;
230 uint64_t vmci_buffer_max_size;
231 int vmci_connect_timeout;
std::string plain_username
std::string socks_proxy_address
std::string gss_principal
int getsockopt(int option_, void *optval_, size_t *optvallen_) const
uint8_t curve_server_key[CURVE_KEYSIZE]
uint8_t curve_secret_key[CURVE_KEYSIZE]
std::string gss_service_principal
std::vector< tcp_address_mask_t > tcp_accept_filters_t
unsigned char identity[256]
std::string plain_password
tcp_accept_filters_t tcp_accept_filters
uint8_t curve_public_key[CURVE_KEYSIZE]
bool is_valid(int option_) const
int setsockopt(int option_, const void *optval_, size_t optvallen_)
unsigned char identity_size