blob: 76283380b0b122c098afe9844740121591c26f88 (
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
42
43
44
45
46
47
48
49
|
#ifndef _ALPM_DELTA_H
#define _ALPM_DELTA_H
#include <sys/types.h>
#include "alpm.h"
struct __pmdelta_t {
char *delta;
char *delta_md5;
off_t delta_size;
char *from;
char *to;
off_t download_size;
};
pmdelta_t *_alpm_delta_parse(char *line);
void _alpm_delta_free(pmdelta_t *delta);
off_t _alpm_shortest_delta_path(alpm_list_t *deltas,
const char *to, alpm_list_t **path);
#endif
|