PUBLIC: type definition
a collection of common used definitions
More...
|
Defines |
| #define | BEGIN_C_DECLS |
| #define | END_C_DECLS |
| #define | likely(x) __builtin_expect((x),1) |
| | gcc jump optimization
|
| #define | unlikely(x) __builtin_expect((x),0) |
| | gcc jump optimization
|
| #define | mq_timeval timeval |
| #define | mq_timezone timezone |
| #define | MQ_TIMEOUT 900 |
| | maximum timeout in sec (900 sec)
|
| #define | MQ_TIMEOUT5 (MQ_TIMEOUT/5) |
| | long timeout in sec (180 sec)
|
| #define | MQ_TIMEOUT10 (MQ_TIMEOUT/10 < 1 ? 1 : MQ_TIMEOUT/10) |
| | normal timeout in sec (90 sec)
|
| #define | MQ_TIMEOUT45 (MQ_TIMEOUT/45 < 1 ? 1 : MQ_TIMEOUT/45) |
| | short timeout in sec (20 sec)
|
| #define | MQ_TIMEOUT90 (MQ_TIMEOUT/90 < 1 ? 1 : MQ_TIMEOUT/90) |
| | shorter timeout in sec (10 sec) This TIMEOUT is used for socket connection with 'connect'
|
| #define | MQ_TIMEOUT180 (MQ_TIMEOUT/180 < 1 ? 1 : MQ_TIMEOUT/180) |
| | very short timeout in sec (5 sec)
|
| #define | MQ_TIMEOUT_USER -2 |
| | request the user defined timeout value from the argument of the --timeout option
|
| #define | MQ_EXTERN |
| | define the external binding
|
| #define | MQ_CPPXSTR(s) MQ_CPPSTR(s) |
| | connecting of expressions, step 1
|
| #define | MQ_CPPSTR(s) #s |
| | connecting of expressions, step 2
|
| #define | MQ_ALFA '@' |
| | MQ_ALFA the command-line separator between server and client.
|
| #define | MQ_ALFA_STR "@" |
Typedefs |
| typedef signed char | MQ_BYT |
| | 1 byte byte data-type
|
| typedef signed char | MQ_BOL |
| | 1 byte boolean data-type
|
| typedef short | MQ_SRT |
| | 2 byte short data-type
|
| typedef int | MQ_INT |
| | 4 byte integer data-type
|
| typedef float | MQ_FLT |
| | 4 byte float data-type
|
| typedef long long int | MQ_WID |
| | 8 byte wide integer data-type
|
| typedef double | MQ_DBL |
| | 8 byte double data-type
|
| typedef union MqBufferAtomU | MQ_ATO |
| | 8 byte atom data-type
|
| typedef int | MQ_SIZE |
| typedef MQ_WID | MQ_TIME_T |
| | OS wide MQ_TIME_T.
|
| typedef int | MQ_HDL |
| | handle data-type
|
| typedef void | MQ_PTRB |
| | pointer basic data-type
|
| typedef char | MQ_STRB |
| | string basic data-type
|
| typedef unsigned char | MQ_BINB |
| | binary basic data-type
|
| typedef unsigned char | MQ_LSTB |
| | list basic data-type
|
| typedef MQ_PTRB * | MQ_PTR |
| | generic pointer data-type
|
| typedef MQ_STRB * | MQ_STR |
| | string pointer data-type
|
| typedef MQ_STRB const * | MQ_CST |
| | const string pointer data-type
|
| typedef MQ_BINB * | MQ_BIN |
| | binary pointer data-type
|
| typedef MQ_LSTB * | MQ_LST |
| | list pointer data-type
|
| typedef struct MqBufferS * | MQ_BUF |
| | Buffer pointer data-type.
|
| typedef MQ_INT | MQ_SOCK |
| | data type for a socket handle
|
Detailed Description
a collection of common used definitions
Define Documentation
| #define likely |
( |
x |
|
) |
__builtin_expect((x),1) |
gcc jump optimization
Definition at line 108 of file msgque.h.
MQ_ALFA the command-line separator between server and client.
Definition at line 202 of file msgque.h.
| #define MQ_CPPSTR |
( |
s |
|
) |
#s |
connecting of expressions, step 2
Definition at line 199 of file msgque.h.
| #define MQ_CPPXSTR |
( |
s |
|
) |
MQ_CPPSTR(s) |
connecting of expressions, step 1
Definition at line 197 of file msgque.h.
define the external binding
Definition at line 187 of file msgque.h.
maximum timeout in sec (900 sec)
Definition at line 145 of file msgque.h.
| #define MQ_TIMEOUT10 (MQ_TIMEOUT/10 < 1 ? 1 : MQ_TIMEOUT/10) |
normal timeout in sec (90 sec)
Definition at line 149 of file msgque.h.
| #define MQ_TIMEOUT180 (MQ_TIMEOUT/180 < 1 ? 1 : MQ_TIMEOUT/180) |
very short timeout in sec (5 sec)
Definition at line 156 of file msgque.h.
| #define MQ_TIMEOUT45 (MQ_TIMEOUT/45 < 1 ? 1 : MQ_TIMEOUT/45) |
short timeout in sec (20 sec)
Definition at line 151 of file msgque.h.
| #define MQ_TIMEOUT5 (MQ_TIMEOUT/5) |
long timeout in sec (180 sec)
Definition at line 147 of file msgque.h.
| #define MQ_TIMEOUT90 (MQ_TIMEOUT/90 < 1 ? 1 : MQ_TIMEOUT/90) |
shorter timeout in sec (10 sec) This TIMEOUT is used for socket connection with 'connect'
Definition at line 154 of file msgque.h.
| #define MQ_TIMEOUT_USER -2 |
request the user defined timeout value from the argument of the --timeout option
Definition at line 158 of file msgque.h.
| #define mq_timeval timeval |
| #define mq_timezone timezone |
| #define unlikely |
( |
x |
|
) |
__builtin_expect((x),0) |
gcc jump optimization
Definition at line 111 of file msgque.h.
Typedef Documentation
8 byte atom data-type
Definition at line 240 of file msgque.h.
binary pointer data-type
Definition at line 269 of file msgque.h.
binary basic data-type
Definition at line 258 of file msgque.h.
1 byte boolean data-type
Definition at line 224 of file msgque.h.
Buffer pointer data-type.
Definition at line 273 of file msgque.h.
1 byte byte data-type
Definition at line 213 of file msgque.h.
const string pointer data-type
Definition at line 267 of file msgque.h.
8 byte double data-type
Definition at line 238 of file msgque.h.
4 byte float data-type
Definition at line 230 of file msgque.h.
handle data-type
Definition at line 251 of file msgque.h.
4 byte integer data-type
Definition at line 228 of file msgque.h.
list pointer data-type
Definition at line 271 of file msgque.h.
list basic data-type
Definition at line 260 of file msgque.h.
generic pointer data-type
Definition at line 263 of file msgque.h.
pointer basic data-type
Definition at line 254 of file msgque.h.
array size data-type
- Attention:
- -> need signed integer in pReadWord -> need int because of pSwapI in pReadHDR
Definition at line 245 of file msgque.h.
data type for a socket handle
Definition at line 275 of file msgque.h.
2 byte short data-type
Definition at line 226 of file msgque.h.
string pointer data-type
Definition at line 265 of file msgque.h.
string basic data-type
Definition at line 256 of file msgque.h.
OS wide MQ_TIME_T.
Definition at line 248 of file msgque.h.
8 byte wide integer data-type
Definition at line 235 of file msgque.h.