From: Nathan Wagner Date: Wed, 28 Sep 2016 23:39:04 +0000 (+0000) Subject: add prototype for zpm_readopts() X-Git-Tag: v0.1.6~163 X-Git-Url: https://pd.if.org/git/?p=zpackage;a=commitdiff_plain;h=ec091c5913b219120f2abb0a0f72387fde94e0b0 add prototype for zpm_readopts() --- 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