#ifndef __TMBSTR_H__
#define __TMBSTR_H__
#include "platform.h"
#ifdef __cplusplus
extern "C"
{
#endif
tmbstr tmbstrdup( ctmbstr str );
tmbstr tmbstrndup( ctmbstr str, uint len);
uint tmbstrncpy( tmbstr s1, ctmbstr s2, uint size );
uint tmbstrcpy( tmbstr s1, ctmbstr s2 );
uint tmbstrcat( tmbstr s1, ctmbstr s2 );
int tmbstrcmp( ctmbstr s1, ctmbstr s2 );
uint tmbstrlen( ctmbstr str );
int tmbstrcasecmp( ctmbstr s1, ctmbstr s2 );
int tmbstrncmp( ctmbstr s1, ctmbstr s2, uint n );
int tmbstrncasecmp( ctmbstr s1, ctmbstr s2, uint n );
int tmbstrnchr( ctmbstr s1, uint len1, tmbchar cc );
ctmbstr tmbsubstrn( ctmbstr s1, uint len1, ctmbstr s2 );
ctmbstr tmbsubstrncase( ctmbstr s1, uint len1, ctmbstr s2 );
ctmbstr tmbsubstr( ctmbstr s1, ctmbstr s2 );
tmbstr tmbstrtolower( tmbstr s );
tmbstr tmbstrtoupper(tmbstr s);
Bool tmbsamefile( ctmbstr filename1, ctmbstr filename2 );
int tmbvsnprintf(tmbstr buffer, size_t count, ctmbstr format, va_list args);
int tmbsnprintf(tmbstr buffer, size_t count, ctmbstr format, ...);
#ifdef __cplusplus
}
#endif
#endif