mosquitto_config.h
Go to the documentation of this file.
1 #ifndef MOSQUITTO_CONFIG_H
2 #define MOSQUITTO_CONFIG_H
3 
4 #include <mosquitto.h>
5 #include <string>
6 #include <vector>
7 
9 {
11  int keepalive;
12  std::string host;
13  int port;
14  int qos;
15  bool retain;
16  std::string bind_address;
17 #ifdef WITH_SRV
18  bool use_srv;
19 #endif
20  unsigned int max_inflight;
21  std::string username;
22  std::string password;
23 
24  std::string cafile;
25  std::string capath;
26  std::string certfile;
27  std::string keyfile;
28  std::string ciphers;
29  bool insecure;
30  std::string tls_version;
31 #ifdef WITH_TLS_PSK
32  std::string psk;
33  std::string psk_identity;
34 #endif
35 
36  bool clean_session; /* sub */
37  std::vector<std::string> topics; /* sub */
38  bool no_retain; /* sub */
39  std::vector<std::string> filter_outs; /* sub */
40  bool verbose; /* sub */
41  bool eol; /* sub */
42  int msg_count; /* sub */
43 #ifdef WITH_SOCKS
44  std::string socks5_host;
45  int socks5_port;
46  std::string socks5_username;
47  std::string socks5_password;
48 #endif
49  mosquitto_property* connect_props;
50  mosquitto_property* subscribe_props;
51  mosquitto_property* unsubscribe_props;
52  mosquitto_property* disconnect_props;
53 };
54 
55 #endif // MOSQUITTO_CONFIG_H
MosquittoConfig::disconnect_props
mosquitto_property * disconnect_props
Definition: mosquitto_config.h:52
MosquittoConfig::unsubscribe_props
mosquitto_property * unsubscribe_props
Definition: mosquitto_config.h:51
MosquittoConfig::filter_outs
std::vector< std::string > filter_outs
Definition: mosquitto_config.h:39
MosquittoConfig::insecure
bool insecure
Definition: mosquitto_config.h:29
MosquittoConfig::host
std::string host
Definition: mosquitto_config.h:12
MosquittoConfig::password
std::string password
Definition: mosquitto_config.h:22
MosquittoConfig::port
int port
Definition: mosquitto_config.h:13
MosquittoConfig::subscribe_props
mosquitto_property * subscribe_props
Definition: mosquitto_config.h:50
MosquittoConfig::username
std::string username
Definition: mosquitto_config.h:21
MosquittoConfig::retain
bool retain
Definition: mosquitto_config.h:15
MosquittoConfig::keyfile
std::string keyfile
Definition: mosquitto_config.h:27
MosquittoConfig::tls_version
std::string tls_version
Definition: mosquitto_config.h:30
MosquittoConfig::no_retain
bool no_retain
Definition: mosquitto_config.h:38
MosquittoConfig::capath
std::string capath
Definition: mosquitto_config.h:25
MosquittoConfig::max_inflight
unsigned int max_inflight
Definition: mosquitto_config.h:20
MosquittoConfig::verbose
bool verbose
Definition: mosquitto_config.h:40
MosquittoConfig::eol
bool eol
Definition: mosquitto_config.h:41
MosquittoConfig
Definition: mosquitto_config.h:8
MosquittoConfig::cafile
std::string cafile
Definition: mosquitto_config.h:24
MosquittoConfig::connect_props
mosquitto_property * connect_props
Definition: mosquitto_config.h:49
MosquittoConfig::clean_session
bool clean_session
Definition: mosquitto_config.h:36
MosquittoConfig::msg_count
int msg_count
Definition: mosquitto_config.h:42
MosquittoConfig::keepalive
int keepalive
Definition: mosquitto_config.h:11
MosquittoConfig::topics
std::vector< std::string > topics
Definition: mosquitto_config.h:37
MosquittoConfig::certfile
std::string certfile
Definition: mosquitto_config.h:26
MosquittoConfig::qos
int qos
Definition: mosquitto_config.h:14
MosquittoConfig::bind_address
std::string bind_address
Definition: mosquitto_config.h:16
MosquittoConfig::ciphers
std::string ciphers
Definition: mosquitto_config.h:28
MosquittoConfig::protocol_version
int protocol_version
Definition: mosquitto_config.h:10


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45