summaryrefslogtreecommitdiffstats
path: root/test_lib/transport_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test_lib/transport_test.h')
-rw-r--r--test_lib/transport_test.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/test_lib/transport_test.h b/test_lib/transport_test.h
new file mode 100644
index 0000000..ed6783b
--- /dev/null
+++ b/test_lib/transport_test.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "transport.h"
+
+struct ExpectedRequest {
+ bool ignore;
+ char *url;
+ char *token;
+ char *reqBody;
+
+ struct SizedBlock retBody;
+ enum ReturnCode rc;
+};
+
+extern struct ExpectedRequest *nextResult;