| 33 | |
| 34 | |
| 35 | typedef struct AMCReqHeaderV2: AMCReqHeader{ |
| 36 | uint32_t headerlen; //包头数据长度(Ver2新增) |
| 37 | uint32_t bodyformat; //包体数据序列化格式枚举值(Ver2新增) |
| 38 | uint32_t data1; //预留字段1 |
| 39 | uint32_t data2; //预留字段2 |
| 40 | uint32_t data3; //预留字段3 |
| 41 | |
| 42 | }__attribute__ ((packed)) AMCReqHeaderV2; |
| 43 | |
| 44 | |
| 45 | static int64_t genReqPack(uint32_t funcid, uint8_t *data, int dataLen, uint8_t **outPack, uint32_t *outLen, uint32_t callertid, int64_t timestamp) { |
nothing calls this directly
no outgoing calls
no test coverage detected