]> git.draconx.ca Git - upkg.git/blobdiff - upkg.h
Implement lookups in the name table.
[upkg.git] / upkg.h
diff --git a/upkg.h b/upkg.h
index acd176bebb1d92845a40859c6a0fce6732eee85b..f20f18e9f015392ce47451b6a9c16cc143978e76 100644 (file)
--- a/upkg.h
+++ b/upkg.h
@@ -15,10 +15,13 @@ struct upkg {
        unsigned version, license;
        unsigned long flags;
 
+       unsigned long name_count, export_count, import_count;
+
        struct upkg_private *priv;
 };
 
 struct upkg *upkg_fopen(const char *path);
 int upkg_close(struct upkg *pkg);
+const char *upkg_get_name(struct upkg *pkg, unsigned long idx);
 
 #endif