summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
author童宗振 <[email protected]>2024-04-19 04:33:00 +0000
committer童宗振 <[email protected]>2024-04-19 04:33:00 +0000
commitd2ca0568ef45016f45eec16f788dcfa1d0bcca52 (patch)
tree520d0ed37cb43dbfd53598493102f1834ab54a6d /include/config.h
parentf23ca6048de819961182e15ce8e0fd8de0b9cfe3 (diff)
Add keep alive port
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 7bd942c..967d337 100644
--- a/include/config.h
+++ b/include/config.h
@@ -23,6 +23,11 @@ struct config
char * sled_ip;
char device_group[MR_SYMBOL_MAX];
+ // server
+ char str_listen_addr[INET6_ADDRSTRLEN];
+ unsigned int listen_port;
+ char keep_alive_path[MR_SYMBOL_MAX];
+
// kafka
char topic_name[MR_SYMBOL_MAX];
char broker_list[1024];