]> pd.if.org Git - zpackage/blobdiff - zpm.h
merge and update cleanup
[zpackage] / zpm.h
diff --git a/zpm.h b/zpm.h
index 5fc450fd9f322b35b6d9fa400b03a637d9590fbd..2858ff45d034e57416d465c34e60ad0fe7e8a2e4 100644 (file)
--- a/zpm.h
+++ b/zpm.h
@@ -41,6 +41,14 @@ struct zpm {
        struct zpm_package *current_package;
 };
 
+struct zpm_stat {
+       struct stat st;
+       int configuration;
+       char hash[65]; /* length + room for a nul byte */
+       char diskhash[65]; /* hash of actual file on disk */
+       char *target; /* malloced link target */
+};
+
 struct zpm_dependency {
        char minpkg[ZPM_PACKAGE_ID_MAX+1];
        char maxpkg[ZPM_PACKAGE_ID_MAX+1];