]> git.draconx.ca Git - upkg.git/blobdiff - src/upkg.h
upkg: Add support for querying specific objects.
[upkg.git] / src / upkg.h
index f9193c5318c5661dab4d7fd2949d1f6c8a54e215..4f93f9cec5086e3a960e0cf9342b0bb883c0ad73 100644 (file)
@@ -75,13 +75,13 @@ struct upkg {
        unsigned long flags;
 
        unsigned long name_count, export_count, import_count;
-
-       struct upkg_private *priv;
 };
 
 struct upkg_export {
        const char *name;
+
        unsigned long flags;
+       long package;
 };
 
 struct upkg_file {
@@ -89,7 +89,7 @@ struct upkg_file {
 
        int eof;
 
-       struct upkg *pkg;
+       struct upkg_priv *pkg;
        unsigned long base, offset, len;
 };