#ifndef HESCAPE_H #define HESCAPE_H #include /* * Replace characters according to the following rules. * Note that this function can handle only ASCII-compatible string. * * " => " * & => & * ' => ' * < => < * > => > * * @return size of dest. If it's larger than len, dest is required to be freed. */ extern size_t hesc_escape_html(char **dest, const char *src, size_t size); #endif