source: Main/trunk/Common/cm_string.h@ 123

Last change on this file since 123 was 70, checked in by Nishi, on Sep 19, 2024 at 6:23:45 PM

patch for windows xp

  • Property svn:keywords set to Id
File size: 665 bytes
RevLine 
[3]1/* $Id: cm_string.h 70 2024-09-19 09:23:45Z nishi $ */
2
3#ifndef __CM_STRING_H__
4#define __CM_STRING_H__
5
[5]6#include <stdbool.h>
7
[20]8int cm_hex(const char* str, int len);
[70]9bool cm_nocase_endswith(const char* str, const char* end);
10bool cm_endswith(const char* str, const char* end);
[20]11char* cm_html_escape(const char* str);
[21]12char* cm_url_escape(const char* str);
[3]13char* cm_strcat(const char* a, const char* b);
[16]14char* cm_strcat3(const char* a, const char* b, const char* c);
[3]15char* cm_strdup(const char* str);
[4]16char* cm_trimstart(const char* str);
17char* cm_trimend(const char* str);
18char* cm_trim(const char* str);
[5]19char** cm_split(const char* str, const char* by);
20bool cm_strcaseequ(const char* a, const char* b);
[3]21
22#endif
Note: See TracBrowser for help on using the repository browser.