17 #ifndef __MTYPES_HEADER__ 18 #define __MTYPES_HEADER__ 21 #ifndef __ENABLE_MOCANA_BASIC_TYPES_OVERRIDE__ 26 #if ((__SIZEOF_LONG__ == 4) && (__SIZEOF_INT__ != 4)) 28 typedef unsigned long ubyte4;
38 #if ((__SIZEOF_LONG__ == 4) && (__SIZEOF_INT__ != 4)) 40 typedef signed long sbyte4;
52 #if defined (__GNUC__) 57 #if !defined(__LONG_LONG_MAX__) 58 #define __LONG_LONG_MAX__ 9223372036854775807LL 61 #if !defined(__LONG_MAX__) 62 #define __LONG_MAX__ 2147483647L 70 #if defined(__ARMCC_VERSION) || defined (__RTOS_WIN32__) || defined (__RTOS_VXWORKS__) || defined( __ENABLE_MOCANA_64_BIT__) || defined(__LP64__) || (defined(__LONG_LONG_MAX__) && __LONG_LONG_MAX__ > __LONG_MAX__ && !defined(__MOCANA_MAX_INT_32__) ) || (defined(_INTEGRAL_MAX_BITS) && _INTEGRAL_MAX_BITS >= 64) 75 #define __MOCANA_MAX_INT__ (64) 80 #if defined( _MSC_VER) 82 typedef unsigned __int64
ubyte8;
84 typedef signed __int64 sbyte8;
87 typedef unsigned long long ubyte8;
89 typedef signed long long sbyte8;
109 #define __MOCANA_MAX_INT__ (32) 144 #if __LONG_MAX__ == __INT_MAX__ 161 typedef void* BulkCtx;
170 #if defined(__RTOS_WIN32__) && defined(_WIN64) 171 typedef unsigned __int64 uintptr;
173 typedef usize uintptr;
182 #ifdef __ENABLE_MOCANA_IPV6__ 183 typedef struct moc_ipaddr
193 } *MOC_IP_ADDRESS, MOC_IP_ADDRESS_S;
195 #ifndef __ENABLE_MOCANA_NETWORK_TYPES_OVERRIDE__ 197 typedef ubyte4 MOC_IP_ADDRESS;
199 #define MOC_IP_ADDRESS_S MOC_IP_ADDRESS 224 typedef enum dataType
226 DATA_TYPE_UNDEFINED = 0,
233 typedef enum dataEncoding
235 DATA_ENCODE_UNDEFINED = 0,
236 DATA_ENCODE_PLAINTEXT,
241 DATA_ENCODE_BYTE_BUFFER
244 #ifdef __RTOS_WIN32__ 247 typedef SSIZE_T ssize_t;
signed char sbyte
Default signed 1-byte type.
Definition: mtypes.h:35
ubyte4 w2
2nd 4-byte word
Definition: mtypes.h:132
signed short sbyte2
Default signed 2-byte type.
Definition: mtypes.h:37
ubyte clockSeqHigh
Definition: mtypes.h:217
signed int sbyte4
Default signed 4-byte type.
Definition: mtypes.h:43
ubyte clockSeqLow
Definition: mtypes.h:219
ubyte2 timeHigh
Definition: mtypes.h:215
ubyte4 w1
1st 4-byte word
Definition: mtypes.h:130
ubyte4 upper32
Upper 4-byte (32-bit) field.
Definition: mtypes.h:119
ubyte4 w3
3rd 4-byte word
Definition: mtypes.h:134
ubyte4 timeLow
Definition: mtypes.h:211
ubyte4 lower32
Lower 4-byte (32-bit) field.
Definition: mtypes.h:121
sbyte byteBoolean
One-byte boolean type.
Definition: mtypes.h:154
ubyte2 timeMid
Definition: mtypes.h:213
Unsigned 16-byte type.
Definition: mtypes.h:127
unsigned int ubyte4
Default unsigned 4-byte type.
Definition: mtypes.h:31
sbyte4 intBoolean
Integer boolean type.
Definition: mtypes.h:156
Unsigned 8-byte type.
Definition: mtypes.h:116
ubyte4 w4
4th 4-byte word
Definition: mtypes.h:136
unsigned short ubyte2
Default unsigned 2-byte type.
Definition: mtypes.h:25
unsigned char ubyte
Default unsigned 1-byte type.
Definition: mtypes.h:23