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.

18 lines
467 B

#error Please include <lighttpd/base.h> instead of this file
typedef enum {
ENCODING_HEX, /* a => 61 */
ENCODING_HTML, /* HTML special chars. & => &amp; e.g. */
ENCODING_URI /* relative URI */
} encoding_t;
/* encodes special characters in a string and returns the new string */
GString *string_encode(const gchar *str, GString *dest, encoding_t encoding);