aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/util.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-05-09 12:37:16 +0200
committerLouis Burda <quent.burda@gmail.com>2021-05-09 12:37:16 +0200
commit3b660c467f938df6898229e378074cfa5662ce9f (patch)
tree32d8bed7139267c951f6aabd8238fce496150531 /service/src/util.h
parenta0d6bf48a185026589288fd9aa94506b321301d8 (diff)
downloadenowars5-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.h2
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);