39 #define MEM_FREE(mem_p) do{ if(mem_p) { free(mem_p); mem_p = NULL; } }while(0)
40 #define BITSET(var_v, bit_v) (var_v |= bit_v)
41 #define BITCLR(var_v, bit_v) (var_v &= ~(bit_v))
45 typedef union long2char_t {
50 typedef union short2char_t {
61 int32
str_check(
int (*method)(
int), int8 *str);
62 int8*
strsep(
register int8 **stringp,
register const int8 *delim);
64 uint16
checksum(uint8 * src, uint32 len);
66 int32
base64_encode(int8 *text, int32 numBytes, int8 *encodedText);