|
static void * | _compress_malloc (size_t size) |
|
static void | _compress_free (void *ptr) |
|
static void | _compress_core_mqtt_process_handler (void *context, aiot_mqtt_event_t *event, core_mqtt_event_t *core_event) |
|
static int32_t | _compress_core_mqtt_operate_process_handler (compress_handle_t *compress_handle, core_mqtt_option_t option) |
|
static int32_t | _compress_topic_filter (compress_handle_t *compress_handle, char *topic, uint16_t topic_len) |
|
static int32_t | _decompress_topic_filter (compress_handle_t *compress_handle, char *topic, uint16_t topic_len) |
|
static int32_t | _add_topic_filter (compress_handle_t *compress_handle, struct core_list_head *topic_list, char *topic) |
|
static int32_t | _compress_process (void *context, const core_mqtt_msg_t *src, core_mqtt_msg_t *dest) |
|
static int32_t | _core_decompress_process (void *context, const core_mqtt_msg_t *src, core_mqtt_msg_t *dest) |
|
static void | _compress_comprlist_destroy (compress_handle_t *compress_handle) |
|
void * | aiot_compress_init (void) |
| 创建compress会话实例, 并以默认值配置会话参数 更多...
|
|
int32_t | aiot_compress_setopt (void *handle, aiot_compress_option_t option, void *data) |
| 配置compress模块参数 更多...
|
|
int32_t | aiot_compress_deinit (void **handle) |
| 结束compress会话, 销毁实例并回收资源 更多...
|
|
static void | _compress_default_recv_handler (void *handle, const aiot_mqtt_recv_t *packet, void *userdata) |
|
int32_t | aiot_compress_topiclist_update (void *handle) |
| 同步给云平台,需要压缩/解压缩的topic 更多...
|
|
compress模块的API接口实现, 提供数据压缩/解压的能力
- 版权所有
- Copyright (C) 2020-2025 Alibaba Group Holding Limited