]> git.draconx.ca Git - upkg.git/blobdiff - src/upkg.h
libupkg: Don't store upkg_priv pointer in struct upkg_file.
[upkg.git] / src / upkg.h
index 34291b7f7bf18717e6256dfe18441e65b2cca9be..51b92f6fc17a0cab69bf1ffbe5bff08f42ac656d 100644 (file)
@@ -78,10 +78,10 @@ struct upkg {
 };
 
 struct upkg_export {
-       const char *name;
+       const struct upkg_export *parent;
 
+       const char *name;
        unsigned long flags;
-       long package;
 };
 
 struct upkg_file {
@@ -89,7 +89,7 @@ struct upkg_file {
 
        int eof;
 
-       struct upkg_priv *pkg;
+       struct upkg *pkg;
        unsigned long base, offset, len;
 };