X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=zpm.h;h=2858ff45d034e57416d465c34e60ad0fe7e8a2e4;hb=ce38dde467cb64991032812eaaac31deb3c39da5;hp=5fc450fd9f322b35b6d9fa400b03a637d9590fbd;hpb=86d735d52280359df4896d5c542ddfbe33d8df7b;p=zpackage diff --git a/zpm.h b/zpm.h index 5fc450f..2858ff4 100644 --- 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];