diff options
| author | Louis Burda <quent.burda@gmail.com> | 2021-05-09 12:37:16 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2021-05-09 12:37:16 +0200 |
| commit | 3b660c467f938df6898229e378074cfa5662ce9f (patch) | |
| tree | 32d8bed7139267c951f6aabd8238fce496150531 /service/src/util.h | |
| parent | a0d6bf48a185026589288fd9aa94506b321301d8 (diff) | |
| download | enowars5-service-stldoctor-3b660c467f938df6898229e378074cfa5662ce9f.tar.gz enowars5-service-stldoctor-3b660c467f938df6898229e378074cfa5662ce9f.zip | |
save hash statically, added file info output, improved error strings and minor fixes
Diffstat (limited to 'service/src/util.h')
| -rw-r--r-- | service/src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/service/src/util.h b/service/src/util.h index e5e21de..2e2196f 100644 --- a/service/src/util.h +++ b/service/src/util.h @@ -10,6 +10,8 @@ #define MIN(x,y) ((x) > (y) ? (y) : (x)) #define NULLFREE(p) do { free(p); p = NULL; } while (0) +#define MHASHLEN 32 + enum { FAIL = 0, OK = 1 }; void* checkp(void *p); |
