Sha256: 40f5b0dcb622ee8dc1d98dc937fad4d4651d1d655850184bb093ab8692095825

Contents?: true

Size: 430 Bytes

Versions: 118

Compression:

Stored size: 430 Bytes

Contents

#ifndef HESCAPE_H
#define HESCAPE_H

#include <sys/types.h>

/*
 * Replace characters according to the following rules.
 * Note that this function can handle only ASCII-compatible string.
 *
 * " => &quot;
 * & => &amp;
 * ' => &#39;
 * < => &lt;
 * > => &gt;
 *
 * @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

Version data entries

118 entries across 118 versions & 2 rubygems

Version Path
hamlit-2.12.0-java ext/hamlit/hescape.h
hamlit-2.12.0 ext/hamlit/hescape.h
hamlit-2.11.1 ext/hamlit/hescape.h
hamlit-2.11.0-java ext/hamlit/hescape.h
hamlit-2.11.0 ext/hamlit/hescape.h
hamlit-2.10.1-java ext/hamlit/hescape.h
hamlit-2.10.1 ext/hamlit/hescape.h
hamlit-2.10.0-java ext/hamlit/hescape.h
hamlit-2.10.0 ext/hamlit/hescape.h
hamlit-2.9.5-java ext/hamlit/hescape.h
hamlit-2.9.4-java ext/hamlit/hescape.h
hamlit-2.9.5 ext/hamlit/hescape.h
hamlit-2.9.4 ext/hamlit/hescape.h
hamlit-2.9.3-java ext/hamlit/hescape.h
hamlit-2.9.3 ext/hamlit/hescape.h
hamlit-2.9.2-java ext/hamlit/hescape.h
hamlit-2.9.2 ext/hamlit/hescape.h
hamlit-2.9.1-java ext/hamlit/hescape.h
hamlit-2.9.1 ext/hamlit/hescape.h
hamlit-2.9.0 ext/hamlit/hescape.h