| | |
| | | typedef int(*tfn_dgram_socket_sub_timeout) (void*, void*, int, int, int, int); |
| | | typedef tfn_dgram_socket_sub tfn_dgram_socket_sub_nowait; |
| | | /** |
| | | * 取消订阅指定主题 |
| | | * @topic 主题 |
| | | * @size 主题长度 |
| | | * @port 总线端口 |
| | | */ |
| | | typedef tfn_dgram_socket_sub tfn_dgram_socket_desub; |
| | | typedef tfn_dgram_socket_sub_timeout tfn_dgram_socket_desub_timeout; |
| | | typedef tfn_dgram_socket_sub_nowait tfn_dgram_socket_desub_nowait; |
| | | /** |
| | | * 发布主题 |
| | | * @topic 主题 |
| | | * @content 主题内容 |
| | |
| | | */ |
| | | typedef void(*tfn_dgram_socket_free) (void*); |
| | | |
| | | /** |
| | | * 删除key对应的共享队列,并在bus里删除该key的订阅 |
| | | */ |
| | | |
| | | typedef int(*tfn_dgram_remove_key) (int); |
| | | /** |
| | | * 批量删除key对应的共享队列,并在bus里删除该key的订阅 |
| | | */ |
| | | typedef int(*tfn_dgram_remove_keys) (int*, int); |
| | | |
| | | |
| | | #ifdef __cplusplus |
| | | } |