X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=zpm.h;h=756d7dbf4b7723f4d83bce826e7dfe0740f23fdc;hb=ec091c5913b219120f2abb0a0f72387fde94e0b0;hp=a45938bbc46fd262a69cddf56037919f406d963a;hpb=1ddd2837afe1394fa4f91ffed606fff5b6a60dff;p=zpackage diff --git a/zpm.h b/zpm.h index a45938b..756d7db 100644 --- a/zpm.h +++ b/zpm.h @@ -1,3 +1,6 @@ +#ifndef ZPM_H_ +#define ZPM_H_ 1 + #include #include #include @@ -92,3 +95,6 @@ void uncompresslzma(void *buf, size_t bufsize, FILE *out); void *compresslzma(void *buf, size_t bufsize, size_t *len); #define SQLERROR(x) fprintf(stderr, "%s %d: %s\n", __func__, __LINE__, (x)) int zpm_hash(char *path, char *hash, uint32_t flags); +int zpm_readopts(struct zpm *pkg, int ac, char **av); + +#endif