MqContextC - various functions to work on a read-data-package … More...
Functions | |
MQ_EXTERN void | MqReadDbg_RT (MK_RT const mkrt, MQ_CTX const ctx) |
MQ_EXTERN enum MkErrorE | MqReadUndo_RT (MK_RT const mkrt, MQ_CTX const ctx) |
undo the last MqContextC READ API function call … | |
MQ_EXTERN MK_NUM | MqReadGetNumItems (MQ_CTX const ctx) MK_ATTR_HDL |
get the number of items left in the read-data-package … | |
MQ_EXTERN enum MkTypeE | MqReadGetNextType (MQ_CTX const ctx) MK_ATTR_HDL |
get the type (MkTypeE) of the next Item in the read-data-buffer or "0" if not available | |
MQ_EXTERN bool | MqReadItemExists (MQ_CTX const ctx) MK_ATTR_HDL |
check if an item exists in the read-data-package … | |
MQ_EXTERN enum MqTransTypeE | MqReadGetTransType (MQ_CTX const ctx) MK_ATTR_HDL |
return the TransactionType identifer … | |
MQ_EXTERN enum MqHandShakeE | MqReadGetHandShake (MQ_CTX const ctx) MK_ATTR_HDL |
return the HandShake identifer … | |
MqContextC - MqContextC_ReadApi_Misc_C_API - overload | |
#define | MqReadDbg_NULL(...) |
#define | MqReadDbg(...) |
#define | MqReadUndo_NULL(...) |
#define | MqReadUndo(...) |
#define | MqReadUndo_E(...) |
#define | MqReadUndo_C(...) |
MqContextC - various functions to work on a read-data-package …
#define MqReadDbg | ( | ... | ) |
Definition at line 487 of file msgque_overload_mq.h.
#define MqReadDbg_NULL | ( | ... | ) |
Definition at line 486 of file msgque_overload_mq.h.
#define MqReadUndo | ( | ... | ) |
Definition at line 489 of file msgque_overload_mq.h.
#define MqReadUndo_C | ( | ... | ) |
Definition at line 491 of file msgque_overload_mq.h.
#define MqReadUndo_E | ( | ... | ) |
Definition at line 490 of file msgque_overload_mq.h.
#define MqReadUndo_NULL | ( | ... | ) |
Definition at line 488 of file msgque_overload_mq.h.
MQ_EXTERN enum MqHandShakeE MqReadGetHandShake | ( | MQ_CTX const | ctx | ) |
return the HandShake identifer …
[in] | ctx | the MqContextS instance to work on |
get the type (MkTypeE) of the next Item in the read-data-buffer or "0" if not available
[in] | ctx | the MqContextS instance to work on |
get the number of items left in the read-data-package …
[in] | ctx | the MqContextS instance to work on |
MQ_EXTERN enum MqTransTypeE MqReadGetTransType | ( | MQ_CTX const | ctx | ) |
return the TransactionType identifer …
[in] | ctx | the MqContextS instance to work on |
check if an item exists in the read-data-package …
[in] | ctx | the MqContextS instance to work on |
MK_YES
or MK_NO
undo the last MqContextC READ API function call …
Put the internal position-pointer to the start of the last read body-item. The next read function call will extract the same item again. Only one undo level is supported.
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |