blob: 5bb86b94db83e1e12a6b2949cc77f3ea0169294e (
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
51
52
|
#ifndef _ALPM_DELTA_H
#define _ALPM_DELTA_H
#include <sys/types.h>
#include "alpm.h"
struct __pmdelta_t {
char *from;
char *from_md5;
char *to;
char *to_md5;
char *delta;
char *delta_md5;
off_t delta_size;
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, const char *to_md5, alpm_list_t **path);
#endif
|