Introduce reply_mix, to still get some varlen on old API

This commit is contained in:
Philippe Teuwen
2019-04-20 03:17:19 +02:00
parent 3bcf80bb34
commit a7773b3395
5 changed files with 64 additions and 22 deletions

View File

@@ -41,6 +41,7 @@
int16_t reply_old(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, void *data, size_t len);
int16_t reply_ng(uint16_t cmd, int16_t status, uint8_t *data, size_t len);
int16_t reply_mix(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, void *data, size_t len);
int16_t receive_ng(PacketCommandNG *rx);
// Flags to tell where to add CRC on sent replies