MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / AMCRespHeader

Class AMCRespHeader

libapp2sys/src/main/cpp/header.h:118–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117
118typedef struct AMCRespHeader {
119 uint32_t begin; //包头其起始字段
120 uint16_t version; //协议版本
121 uint16_t funcid; //响应请求对应的function ID
122 uint32_t retCode; //请求处理结果
123 uint32_t bodylen; //包体序列化数据长度
124 int64_t requestid; //响应对应的请求包ID
125 int64_t timestamp; //当前响应时间戳
126
127}__attribute__ ((packed)) AMCRespHeader;
128
129
130typedef struct AMCRespHeaderV2: AMCRespHeader{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected