diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:14:44 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:14:44 (EST) |
commit | 371254054431baca18545c4e02c9e588e7d95a66 (patch) | |
tree | 1bf460e61c8754c4be7291546fde14b3b0069499 /libopkg/opkg.h | |
parent | 079a631d12f3d6ae6f33aef318a51799ea78027c (diff) |
opkg: add more attributes to opkg_package_t
git-svn-id: http://opkg.googlecode.com/svn/trunk@98 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg.h')
-rw-r--r-- | libopkg/opkg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libopkg/opkg.h b/libopkg/opkg.h index 1295f51..c352331 100644 --- a/libopkg/opkg.h +++ b/libopkg/opkg.h @@ -37,6 +37,8 @@ struct _opkg_package_t char *repository; char *description; char *tags; + char *url; + int size; int installed; }; @@ -48,7 +50,7 @@ struct _opkg_progress_data_t }; opkg_package_t* opkg_package_new (); -opkg_package_t* opkg_package_new_with_values (const char *name, const char *version, const char *arch, const char *desc, const char *tags, int installed); +opkg_package_t* opkg_package_new_with_values (const char *name, const char *version, const char *arch, const char *desc, const char *tags, const char *url, int size, int installed); void opkg_package_free (opkg_package_t *package); opkg_t* opkg_new (); |