about summary refs log tree commit diff stats
path: root/tests/unittests/tools/stub_plugin_download.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/tools/stub_plugin_download.c')
-rw-r--r--tests/unittests/tools/stub_plugin_download.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/unittests/tools/stub_plugin_download.c b/tests/unittests/tools/stub_plugin_download.c
new file mode 100644
index 00000000..c54f60d2
--- /dev/null
+++ b/tests/unittests/tools/stub_plugin_download.c
@@ -0,0 +1,19 @@
+#ifndef TOOLS_PLUGIN_DOWNLOAD_H
+#define TOOLS_PLUGIN_DOWNLOAD_H
+
+#include <stdlib.h>
+typedef struct prof_win_t ProfWin;
+typedef struct http_download_t HTTPDownload;
+
+void*
+plugin_download_install(void* userdata)
+{
+    return NULL;
+}
+
+void
+plugin_download_add_download(HTTPDownload* download)
+{
+}
+
+#endif