about summary refs log tree commit diff stats
path: root/tests/unittests/tools/stub_aesgcm_download.c
blob: 07f411ca83d5ac229f6a3cc0f1225a4a3be24ba6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef TOOLS_AESGCM_DOWNLOAD_H
#define TOOLS_AESGCM_DOWNLOAD_H

#include <pthread.h>

typedef struct prof_win_t ProfWin;
typedef struct http_download_t HTTPDownload;

typedef struct aesgcm_download_t
{
    char* id;
    char* url;
    char* filename;
    ProfWin* window;
    pthread_t worker;
    HTTPDownload* http_dl;
} AESGCMDownload;

void*
aesgcm_file_get(void* userdata)
{
    return NULL;
};

void aesgcm_download_cancel_processes(ProfWin* window){};
void aesgcm_download_add_download(AESGCMDownload* download){};

#endif