X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=zpm.h;h=ea9cd6c96ec406073662475e9086a5648b0b72de;hb=d697639ca6483bdee0ab043f85a2266fe7c62956;hp=f8ce56bf598609efb4388da4379c1c8e722e8a3f;hpb=c907b8ec08b06a4a256fd12b79b4bcf5088fbb19;p=zpackage diff --git a/zpm.h b/zpm.h index f8ce56b..ea9cd6c 100644 --- a/zpm.h +++ b/zpm.h @@ -78,6 +78,7 @@ struct zpm_package { int zpm_parse_package(char *pstr, char *name, char *ver, int *rel); char *zpm_findpkg(struct zpm *zpm, char *pkgstr, char *where); +int zpm_findhash(struct zpm *zpm, char *find, char *dest); char *zpm_findlib(struct zpm *zpm, char *soname, char *where); int zpm_libraries_needed(struct zpm *zpm, char *pkgid, jsw_atree_t *list); int zpm_quote(char *value, char *dest, size_t n); @@ -200,7 +201,7 @@ struct zpm *zpm_clearmem(struct zpm *zpm); struct zpm_note { int64_t id; - time_t ts; /* or timespec */ + char *ts; /* applications can parse it if they need to */ char *note; char *pkgid; char *path;