X-Git-Url: https://pd.if.org/git/?p=zpackage;a=blobdiff_plain;f=zpm.h;h=2858ff45d034e57416d465c34e60ad0fe7e8a2e4;hp=5fc450fd9f322b35b6d9fa400b03a637d9590fbd;hb=40d7f10b59743ed088c33c6b129373652ca9a59a;hpb=f54bea1064d085740b1d412cc985700c701d08fc 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];