Merge pull request #1842 from H3rnand3zzz/feature/plugins-download

New Feature: Plugins Download
This commit is contained in:
Michael Vetter
2023-06-06 18:35:18 +02:00
committed by GitHub
14 changed files with 327 additions and 112 deletions

View File

@@ -3,6 +3,7 @@
#include <curl/curl.h>
#include <pthread.h>
#include "common.h"
typedef struct prof_win_t ProfWin;
@@ -17,6 +18,7 @@ typedef struct http_download_t
ProfWin* window;
pthread_t worker;
int cancel;
gboolean silent;
} HTTPDownload;
void*

View File

@@ -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