From 14c345b38d57fd814f217eb8465963a08ca79f7e Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期五, 05 二月 2021 17:41:09 +0800 Subject: [PATCH] update --- src/socket/bus_server_socket.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/socket/bus_server_socket.h b/src/socket/bus_server_socket.h index d475f02..bdfb172 100644 --- a/src/socket/bus_server_socket.h +++ b/src/socket/bus_server_socket.h @@ -27,11 +27,12 @@ SHMTopicSubMap *topic_sub_map; private: + int destroy(); void _proxy_sub( char *topic, int key); void _proxy_pub( char *topic, void *buf, size_t size, int key); - void *run_pubsub_proxy(); - int parse_pubsub_topic(char *str, size_t size, char **_action, char **_topic, size_t *head_len ); - + void *_run_proxy_(); + // int parse_pubsub_topic(char *str, size_t size, char **_action, char **_topic, size_t *head_len ); + void _proxy_desub( char *topic, int key); void _proxy_desub_all(int key); -- Gitblit v1.8.0