/[tewi]/Common/cm_string.h
ViewVC logotype

Contents of /Common/cm_string.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations)
Thu Oct 17 09:53:38 2024 UTC (4 weeks ago) by nishi
Branch: MAIN
CVS Tags: v2_05A, v2_05, HEAD
Content type: text/x-c
update

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
6 #include <stdbool.h>
7
8 int cm_hex(const char* str, int len);
9 bool cm_nocase_endswith(const char* str, const char* end);
10 bool cm_endswith(const char* str, const char* end);
11 char* cm_html_escape(const char* str);
12 char* cm_url_escape(const char* str);
13 char* cm_strcat(const char* a, const char* b);
14 char* cm_strcat3(const char* a, const char* b, const char* c);
15 char* cm_strdup(const char* str);
16 char* cm_trimstart(const char* str);
17 char* cm_trimend(const char* str);
18 char* cm_trim(const char* str);
19 char** cm_split(const char* str, const char* by);
20 bool cm_strcaseequ(const char* a, const char* b);
21
22 #endif

nishi@chaotic.ninja
ViewVC Help
Powered by ViewVC 1.3.0-dev