projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pkg: store size, installed size and installed time info in blob buffer
[oweals/opkg-lede.git]
/
libopkg
/
pkg.h
diff --git
a/libopkg/pkg.h
b/libopkg/pkg.h
index 6e09f0a2b934c4e4768d2ce27abca7aaf2a17b59..0931e6e25644ae9643d032c598c55f5e7ad51d89 100644
(file)
--- a/
libopkg/pkg.h
+++ b/
libopkg/pkg.h
@@
-93,6
+93,9
@@
enum pkg_fields {
PKG_DESCRIPTION,
PKG_MD5SUM,
PKG_SHA256SUM,
PKG_DESCRIPTION,
PKG_MD5SUM,
PKG_SHA256SUM,
+ PKG_SIZE,
+ PKG_INSTALLED_SIZE,
+ PKG_INSTALLED_TIME,
};
struct abstract_pkg {
};
struct abstract_pkg {
@@
-164,10
+167,7
@@
struct pkg {
abstract_pkg_t *parent;
char *tmp_unpack_dir;
abstract_pkg_t *parent;
char *tmp_unpack_dir;
- unsigned long size; /* in bytes */
- unsigned long installed_size; /* in bytes */
conffile_list_t conffiles;
conffile_list_t conffiles;
- time_t installed_time;
/* As pointer for lazy evaluation */
str_list_t *installed_files;
/* XXX: CLEANUP: I'd like to perhaps come up with a better
/* As pointer for lazy evaluation */
str_list_t *installed_files;
/* XXX: CLEANUP: I'd like to perhaps come up with a better