From 8a17db8266dad0325d04762a27c4f61446d26d2e Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Sun, 8 Jul 2018 02:45:16 +0200 Subject: Add 'command id' field to messages This allows for correlating response messages to the command message that caused them. --- src/handlers.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/handlers.h') diff --git a/src/handlers.h b/src/handlers.h index 921ae62b1..b398eca61 100644 --- a/src/handlers.h +++ b/src/handlers.h @@ -3,7 +3,9 @@ #ifndef HANDLERS_H_ #define HANDLERS_H_ extern "C" { -void handle_code_fetch(const char* module_specifier, +#include + +void handle_code_fetch(uint32_t cmd_id, const char* module_specifier, const char* containing_file); } #endif // HANDLERS_H_ -- cgit v1.2.3