Rev | Line | |
---|
[3] | 1 | /* $Id: cm_string.h 20 2024-09-14 09:59:15Z nishi $ */
|
---|
| 2 |
|
---|
| 3 | #ifndef __CM_STRING_H__
|
---|
| 4 | #define __CM_STRING_H__
|
---|
| 5 |
|
---|
[5] | 6 | #include <stdbool.h>
|
---|
| 7 |
|
---|
[20] | 8 | int cm_hex(const char* str, int len);
|
---|
| 9 | char* cm_html_escape(const char* str);
|
---|
[3] | 10 | char* cm_strcat(const char* a, const char* b);
|
---|
[16] | 11 | char* cm_strcat3(const char* a, const char* b, const char* c);
|
---|
[3] | 12 | char* cm_strdup(const char* str);
|
---|
[4] | 13 | char* cm_trimstart(const char* str);
|
---|
| 14 | char* cm_trimend(const char* str);
|
---|
| 15 | char* cm_trim(const char* str);
|
---|
[5] | 16 | char** cm_split(const char* str, const char* by);
|
---|
| 17 | bool cm_strcaseequ(const char* a, const char* b);
|
---|
[3] | 18 |
|
---|
| 19 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.