#include <expat.h>
#include <string.h>
#include <ctype.h>
Go to the source code of this file.
Defines | |
#define | scew_memcpy(dst, src, n) memcpy(dst,src,sizeof(XML_Char)*(n)) |
#define | scew_memmove(dst, src, n) memmove(dst,src,sizeof(XML_Char)*(n)) |
#define | _XT(str) str |
#define | scew_fprintf fprintf |
#define | scew_sprintf sprintf |
#define | scew_strcmp(s1, s2) strcmp(s1,s2) |
#define | scew_strspn(s1, s2) strspn(s1,s2) |
#define | scew_strcpy(s1, s2) strcpy(s1,s2) |
#define | scew_strcat(s1, s2) strcat(s1,s2) |
#define | scew_strncpy(s1, s2, n) strncpy(s1,s2,n) |
#define | scew_strncat(s1, s2, n) strncat(s1,s2,n) |
#define | scew_strlen(s) strlen(s) |
#define | scew_isalnum(c) isalnum((unsigned char)(c)) |
#define | scew_isalpha(c) isalpha((unsigned char)(c)) |
#define | scew_iscntrl(c) iscntrl((unsigned char)(c)) |
#define | scew_isdigit(c) isdigit((unsigned char)(c)) |
#define | scew_isxdigit(c) isxdigit((unsigned char)(c)) |
#define | scew_isgraph(c) isgraph((unsigned char)(c)) |
#define | scew_islower(c) islower((unsigned char)(c)) |
#define | scew_isupper(c) isupper((unsigned char)(c)) |
#define | scew_isprint(c) isprint((unsigned char)(c)) |
#define | scew_ispunct(c) ispunct((unsigned char)(c)) |
#define | scew_isspace(c) isspace((unsigned char)(c)) |
Functions | |
XML_Char * | scew_strdup (XML_Char const *src) |
void | scew_strtrim (XML_Char *src) |
|
Creates a new copy of the given string. Client must free it. |
|
Trims off extra spaces from the beginning and end of a string. |