SpriteHTTPD - embedded HTTP server with read-only filesystem and templating, originally developed for ESP8266, now stand-alone and POSIX compatible.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
spritehttpd/spritehttpd/lib/heatshrink/heatshrink_config.h

21 lines
574 B

#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