Lines Matching refs:TRWCache
83 } TRWCache; typedef
85 void rw_cache_init(TRWCache* cache, TSkBuffMng* pool);
87 void rw_cache_destroy(TRWCache* cache);
89 void cache_skip_data(TRWCache* cache, uint32_t len);
91 TSkBuffer* cache_skip_first_buffer(TRWCache* cache);
93 int32_t cache_append_data(TRWCache* cache, const void* data, uint32_t len);
95 void cache_append_buffer(TRWCache* cache, TSkBuffer* buff);
97 uint32_t cache_copy_out(TRWCache* cache, void* buff, uint32_t len);
99 int32_t cache_udp_recv(TRWCache* cache, uint32_t fd, struct sockaddr_in* remote_addr);
101 int32_t cache_tcp_recv(TRWCache* cache, uint32_t fd);
103 int32_t cache_tcp_send(TRWCache* cache, uint32_t fd);
105 int32_t cache_tcp_send_buff(TRWCache* cache, uint32_t fd, const void* data, uint32_t len);