MCPcopy Create free account
hub / github.com/F-Stack/f-stack / SetRespBuff

Method SetRespBuff

adapter/micro_thread/mt_net.h:153–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 };
152
153 void SetRespBuff(TSkBuffer* buff) {
154 if (_rsp_buff != NULL) {
155 delete_sk_buffer(_rsp_buff);
156 _rsp_buff = NULL;
157 }
158
159 _rsp_buff = buff;
160 };
161
162 void SetProtoType(MT_PROTO_TYPE type) {
163 _proto_type = type;

Callers 2

DispathTcpMethod · 0.80
DispathUdpMethod · 0.80

Calls 1

delete_sk_bufferFunction · 0.85

Tested by

no test coverage detected