summaryrefslogtreecommitdiff
path: root/src/handlers.h
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-07-08 02:45:16 +0200
committerBert Belder <bertbelder@gmail.com>2018-07-08 21:01:24 +0200
commit8a17db8266dad0325d04762a27c4f61446d26d2e (patch)
tree7fca8ff2d7936b11d38c0edc972012540580b12e /src/handlers.h
parent7c5db007deb43d65550213ff07ad95bc0cce6f00 (diff)
Add 'command id' field to messages
This allows for correlating response messages to the command message that caused them.
Diffstat (limited to 'src/handlers.h')
-rw-r--r--src/handlers.h4
1 files changed, 3 insertions, 1 deletions
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 <stdint.h>
+
+void handle_code_fetch(uint32_t cmd_id, const char* module_specifier,
const char* containing_file);
}
#endif // HANDLERS_H_