summaryrefslogtreecommitdiffstats
path: root/src/rccstring.h
blob: 4f7d411ad22f50b5d969a7d7667d6f9047fa42ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _RCC_STRING_H
#define _RCC_STRING_H

rcc_string rccCreateString(rcc_language_id language_id, const char *buf, int len, int *rlen);
void rccStringFree(rcc_string str);

rcc_language_id rccStringCheck(const rcc_string str);
const char *rccStringGet(const rcc_string str);
char *rccStringExtract(const rcc_string buf, int len, int *rlen);

int rccStringCmp(const rcc_string str1, const rcc_string str2);
int rccStringNCmp(const rcc_string str1, const rcc_string str2, size_t n);
int rccStringCaseCmp(const rcc_string str1, const rcc_string str2);
int rccStringNCaseCmp(const rcc_string str1, const rcc_string str2, size_t n);

#endif /* _RCC_STRING_H */