summaryrefslogtreecommitdiff
path: root/utils.h
AgeCommit message (Collapse)Author
2018-04-04utils: add uh_htmlescape() helperJo-Philipp Wich
The uh_htmlescape() function returns a copy of the given string with the HTML special characters `<`, `>`, `"` and `'` replaced by HTML entities in hexadecimal notation. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2013-01-13relicense to ISCFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-03clean up / fix #includeFelix Fietkau
2013-01-02move timegm declaration to utils.hFelix Fietkau
2013-01-02add uh_addr_rfc1918()Felix Fietkau
2013-01-02change uh_b64decode to take a void pointer to avoid redundant ↵Felix Fietkau
signed/unsigned casts
2013-01-01fix clearenv() on mac os xFelix Fietkau
2013-01-01add uh_split_header()Felix Fietkau
2013-01-01add uh_path_match()Felix Fietkau
2012-12-30Initial implementationFelix Fietkau