| 128 | |
| 129 | |
| 130 | typedef struct AMCRespHeaderV2: AMCRespHeader{ |
| 131 | uint32_t headerlen; //包头数据长度(Ver2新增) |
| 132 | uint32_t bodyformat; //包体数据序列化格式枚举值(Ver2新增) |
| 133 | uint32_t data1; //预留字段1 |
| 134 | uint32_t data2; //预留字段2 |
| 135 | uint32_t data3; //预留字段3 |
| 136 | |
| 137 | }__attribute__ ((packed)) AMCRespHeaderV2; |
| 138 | |
| 139 | |
| 140 | static int64_t genRespPack(uint32_t funcid, uint32_t retCode, uint64_t requestId, uint8_t *data, int dataLen, |
nothing calls this directly
no outgoing calls
no test coverage detected