Subversion Repositories Tewi

Rev

Rev 16 | Rev 21 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

/* $Id: cm_string.h 20 2024-09-14 09:59:15Z nishi $ */

#ifndef __CM_STRING_H__
#define __CM_STRING_H__

#include <stdbool.h>

int cm_hex(const char* str, int len);
char* cm_html_escape(const char* str);
char* cm_strcat(const char* a, const char* b);
char* cm_strcat3(const char* a, const char* b, const char* c);
char* cm_strdup(const char* str);
char* cm_trimstart(const char* str);
char* cm_trimend(const char* str);
char* cm_trim(const char* str);
char** cm_split(const char* str, const char* by);
bool cm_strcaseequ(const char* a, const char* b);

#endif