blob: 007e5d45d010e578afc085da11724290ac41b7ad (
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 _ALPM_DELTA_H
#define _ALPM_DELTA_H
#include "alpm.h"
struct __pmdelta_t {
char *from;
char *to;
unsigned long size;
char *filename;
char *md5sum;
};
unsigned long _alpm_delta_path_size(alpm_list_t *deltas);
unsigned long _alpm_delta_path_size_uncached(alpm_list_t *deltas);
pmdelta_t *_alpm_delta_parse(char *line);
void _alpm_delta_free(pmdelta_t *delta);
alpm_list_t *_alpm_shortest_delta_path(alpm_list_t *deltas,
const char *from, const char *to);
#endif
|