+ char *path; /* path to db file */
+ int error;
+ int dbresult;
+ char *dberrmsg;
+ char *errmsg;
+ char *pkgid;
+ struct zpm_package *current_package;
+};
+
+struct zpm_dependency {
+ char minpkg[ZPM_PACKAGE_ID_MAX+1];
+ char maxpkg[ZPM_PACKAGE_ID_MAX+1];
+ struct zpm_dependency *next;
+};
+
+struct zpm_tag {
+ char tag[ZPM_TAG_MAX+1];
+ struct zpm_tag *next;
+};
+
+struct zpm_package {
+ struct zpm *zpm;
+ struct jsw_hash *ht;
+
+ /* char pointers are just pointers into the hash table */
+ /* integers/times and such are passed through atoi */
+ /* tags and licenses are trees, NULL if not fetched */
+ char *name;