Go to the source code of this file.
Defines | |
#define | CUNIT_MAX_STRING_LENGTH 1024 |
Maximum string length. | |
#define | CUNIT_MAX_ENTITY_LEN 5 |
maximum number of characters in a translated xml entity. | |
#define | translate_special_characters(src, dest, len) CU_translate_special_characters(src, dest, len) |
Deprecated (version 1). | |
#define | compare_strings(src, dest) CU_compare_strings(src, dest) |
Deprecated (version 1). | |
#define | trim_left(str) CU_trim_left(str) |
Deprecated (version 1). | |
#define | trim_right(str) CU_trim_right(str) |
Deprecated (version 1). | |
#define | trim(str) CU_trim(str) |
Deprecated (version 1). | |
Functions | |
int | CU_translate_special_characters (const char *szSrc, char *szDest, int maxlen) |
Convert special characters in the specified string to xml entity codes. | |
int | CU_compare_strings (const char *szSrc, const char *szDest) |
Case-insensitive string comparison. | |
void | CU_trim_left (char *szString) |
Trim leading whitespace from the specified string. | |
void | CU_trim_right (char *szString) |
Trim trailing whitespace from the specified string. | |
void | CU_trim (char *szString) |
Trim leading and trailing whitespace from the specified string. | |
void | test_cunit_Util (void) |