blob: 33d47e1e5929116f4187ba4e8173e58b3c9c37f0 (
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
50
|
#ifndef _ALPM_DELTA_H
#define _ALPM_DELTA_H
#include "alpm.h"
struct __pmdelta_t {
char *from;
char *from_md5;
char *to;
char *to_md5;
char *delta;
char *delta_md5;
unsigned long delta_size;
unsigned long download_size;
};
pmdelta_t *_alpm_delta_parse(char *line);
void _alpm_delta_free(pmdelta_t *delta);
unsigned long _alpm_shortest_delta_path(alpm_list_t *deltas,
const char *to, const char *to_md5, alpm_list_t **path);
#endif
|