index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2008-02-16 10:47:22 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-04-26 11:36:01 -0500 |
commit | 701a03dcdb113e92b4f8de52a7a427dfdfc3dd27 (patch) | |
tree | 670bae62f1dce6ea8c22a7afa9f5ba79aa4f1573 /lib/libalpm/delta.h | |
parent | 30bdf94c2b444ff475a32e7b0c569e8c3cf05797 (diff) |
-rw-r--r-- | lib/libalpm/delta.h | 8 |
diff --git a/lib/libalpm/delta.h b/lib/libalpm/delta.h index a2ac5f05..33d47e1e 100644 --- a/lib/libalpm/delta.h +++ b/lib/libalpm/delta.h @@ -36,14 +36,14 @@ struct __pmdelta_t { char *delta_md5; /** filesize of the delta file */ unsigned long delta_size; + /** download filesize of the delta file */ + unsigned long download_size; }; -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); +unsigned long _alpm_shortest_delta_path(alpm_list_t *deltas, + const char *to, const char *to_md5, alpm_list_t **path); #endif /* _ALPM_DELTA_H */ |