view stream/cache2.h @ 24851:e36efda34616

Our enca code uses strdup() on the input encoding name, as we don't modify it we can use the original constant string. Uses less memory, code is simpler and faster. Fixes memory leak (noticed by ulion).
author iive
date Sun, 28 Oct 2007 14:26:05 +0000
parents 3f0d00abc073
children 3baf6a2283da
line wrap: on
line source

#ifndef CACHE2_H
#define CACHE2_H

extern void cache_uninit(stream_t *s);

#endif