summaryrefslogtreecommitdiff
path: root/DecoderIpcProtocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'DecoderIpcProtocol.h')
-rw-r--r--DecoderIpcProtocol.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/DecoderIpcProtocol.h b/DecoderIpcProtocol.h
index ad6c2ead..28a00e41 100644
--- a/DecoderIpcProtocol.h
+++ b/DecoderIpcProtocol.h
@@ -1,7 +1,9 @@
#ifndef DECODER_IPC_PROTOCOL_H
#define DECODER_IPC_PROTOCOL_H
-#define DECODER_IPC_VERSION 2
+#include <stdint.h>
+
+#define DECODER_IPC_VERSION 4
enum decoder_ipc_state
{
@@ -19,4 +21,11 @@ typedef struct decoder_ipc_control {
int progress;
} decoder_ipc_control_t;
+typedef struct decoder_input_metadata {
+ int64_t input_id;
+ int64_t analysis_id;
+ int32_t attempt_no;
+ int32_t valid_samples;
+} decoder_input_metadata_t;
+
#endif