blob: 8026df1f0d92c4e39c3f294573747d861df8ec97 (
plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef _PM_DOWNLOAD_H
#define _PM_DOWNLOAD_H
#include "list.h"
typedef struct __server_t {
char *protocol;
char *server;
char *path;
} server_t;
int downloadfiles(list_t *servers, const char *localpath, list_t *files);
int downloadfiles_forreal(list_t *servers, const char *localpath,
list_t *files, const char *mtime1, char *mtime2);
char *fetch_pkgurl(char *target);
#endif
|