about summary refs log blame commit diff stats
path: root/tests/unittests/tools/stub_aesgcm_download.c
blob: 6f4cc0cedd9640eee87fa2095900070f56fd2992 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                            




                               
 

                                                              

      
#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* 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