Subversion Repositories Tewi

Rev

Rev 16 | Rev 21 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16 Rev 20
Line 1... Line 1...
1
/* $Id: cm_string.h 16 2024-09-13 15:09:52Z nishi $ */
1
/* $Id: cm_string.h 20 2024-09-14 09:59:15Z nishi $ */
2
 
2
 
3
#ifndef __CM_STRING_H__
3
#ifndef __CM_STRING_H__
4
#define __CM_STRING_H__
4
#define __CM_STRING_H__
5
 
5
 
6
#include <stdbool.h>
6
#include <stdbool.h>
7
 
7
 
-
 
8
int cm_hex(const char* str, int len);
-
 
9
char* cm_html_escape(const char* str);
8
char* cm_strcat(const char* a, const char* b);
10
char* cm_strcat(const char* a, const char* b);
9
char* cm_strcat3(const char* a, const char* b, const char* c);
11
char* cm_strcat3(const char* a, const char* b, const char* c);
10
char* cm_strdup(const char* str);
12
char* cm_strdup(const char* str);
11
char* cm_trimstart(const char* str);
13
char* cm_trimstart(const char* str);
12
char* cm_trimend(const char* str);
14
char* cm_trimend(const char* str);