Go to the documentation of this file.
28 #define uchar unsigned char
32 #define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x))
49 #define SAFE_FREE(x) do { if ((x) != NULL) {free(x); x=NULL;} } while(0)
57 #if !defined(uint16) && !defined(HAVE_UINT16_FROM_RPC_RPC_H)
58 #if (SIZEOF_SHORT == 4)
59 #define uint16 __ERROR___CANNOT_DETERMINE_TYPE_FOR_INT16;
61 #define uint16 unsigned short
70 #ifdef WORDS_BIGENDIAN
77 #define UCS2_CHAR(c) ((c) << UCS2_SHIFT)