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 
10  int keepalive;
11  std::string host;
12  int port;
13  int qos;
14  bool retain;
15  std::string bind_address;
16 #ifdef WITH_SRV
17  bool use_srv;
18 #endif
19  unsigned int max_inflight;
20  std::string username;
21  std::string password;
22 
23  std::string cafile;
24  std::string capath;
25  std::string certfile;
26  std::string keyfile;
27  std::string ciphers;
28  bool insecure;
29  std::string tls_version;
30 # ifdef WITH_TLS_PSK
31  std::string psk;
32  std::string psk_identity;
33 # endif
34 
35  bool clean_session; /* sub */
36  std::vector<std::string> topics; /* sub */
37  bool no_retain; /* sub */
38  std::vector<std::string> filter_outs; /* sub */
39  bool verbose; /* sub */
40  bool eol; /* sub */
41  int msg_count; /* sub */
42 #ifdef WITH_SOCKS
43  std::string socks5_host;
44  int socks5_port;
45  std::string socks5_username;
46  std::string socks5_password;
47 #endif
48  mosquitto_property *connect_props;
49  mosquitto_property *subscribe_props;
50  mosquitto_property *unsubscribe_props;
51  mosquitto_property *disconnect_props;
52 };
53 
54 #endif // MOSQUITTO_CONFIG_H
std::string certfile
mosquitto_property * disconnect_props
std::string bind_address
std::string password
std::string tls_version
mosquitto_property * connect_props
std::string capath
std::string username
mosquitto_property * subscribe_props
unsigned int max_inflight
std::string cafile
std::string keyfile
std::string ciphers
mosquitto_property * unsubscribe_props
std::vector< std::string > topics
std::vector< std::string > filter_outs
std::string host


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:38