#pragma once /* Should functionality assuming dynamic allocation be used? */ #ifndef HEATSHRINK_DYNAMIC_ALLOC #define HEATSHRINK_DYNAMIC_ALLOC 1 #endif /* Optional replacement of malloc/free */ #include "httpd-heap.h" #define HEATSHRINK_MALLOC(SZ) httpdMalloc((SZ)) #define HEATSHRINK_FREE(P, SZ) httpdFree((P)) /* Turn on logging for debugging. */ #ifndef HEATSHRINK_DEBUGGING_LOGS #define HEATSHRINK_DEBUGGING_LOGS 0 #endif /* Use indexing for faster compression. (This requires additional space.) */ #ifndef HEATSHRINK_USE_INDEX #define HEATSHRINK_USE_INDEX 1 #endif