projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Treewide: use bool instead of _Bool
[collectd.git]
/
src
/
mqtt.c
diff --git
a/src/mqtt.c
b/src/mqtt.c
index
d134c38
..
097302a
100644
(file)
--- a/
src/mqtt.c
+++ b/
src/mqtt.c
@@
-54,11
+54,11
@@
* Data types
*/
struct mqtt_client_conf {
* Data types
*/
struct mqtt_client_conf {
-
_B
ool publish;
+
b
ool publish;
char *name;
struct mosquitto *mosq;
char *name;
struct mosquitto *mosq;
-
_B
ool connected;
+
b
ool connected;
char *host;
int port;
char *host;
int port;
@@
-74,14
+74,14
@@
struct mqtt_client_conf {
/* For publishing */
char *topic_prefix;
/* For publishing */
char *topic_prefix;
-
_B
ool store_rates;
-
_B
ool retain;
+
b
ool store_rates;
+
b
ool retain;
/* For subscribing */
pthread_t thread;
/* For subscribing */
pthread_t thread;
-
_B
ool loop;
+
b
ool loop;
char *topic;
char *topic;
-
_B
ool clean_session;
+
b
ool clean_session;
c_complain_t complaint_cantpublish;
pthread_mutex_t lock;
c_complain_t complaint_cantpublish;
pthread_mutex_t lock;