Loading...
Searching...
No Matches
MqContextC_SendApi_Atom_C_API

MqContextC - append a native PRIMITIVE TYPE value to the send-data-packageMore...

+ Collaboration diagram for MqContextC_SendApi_Atom_C_API:

Functions

MQ_EXTERN enum MkErrorE MqSendI8_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_I8 const val)
 MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
MQ_EXTERN enum MkErrorE MqSendBOL_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_BOL const val)
 MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
MQ_EXTERN enum MkErrorE MqSendI16_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_I16 const val)
 MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
MQ_EXTERN enum MkErrorE MqSendI32_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_I32 const val)
 MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
MQ_EXTERN enum MkErrorE MqSendFLT_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_FLT const val)
 MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
MQ_EXTERN enum MkErrorE MqSendI64_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_I64 const val)
 MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
MQ_EXTERN enum MkErrorE MqSendDBL_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_DBL const val)
 MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
MQ_EXTERN enum MkErrorE MqSendSTR_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_STRN const val)
 MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
MQ_EXTERN enum MkErrorE MqSendStringR_RT (MK_RT const mkrt, MQ_CTX const ctx, MkStringR const val)
 MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
MQ_EXTERN enum MkErrorE MqSendBIN_RT (MK_RT const mkrt, MQ_CTX const ctx, MkBinaryR const val)
 append a MK_BIN object to the send-data-package. …
 
enum MkErrorE MqSendBinaryR_RT (MK_RT const mkrt, MQ_CTX const ctx, MkBinaryR const val)
 append a MkBinaryR object to the send-data-package. …
 
MQ_EXTERN enum MkErrorE MqSendBUF_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_BUFN const val)
 append a MkBufferC object to the send-data-package object …
 
MQ_EXTERN enum MkErrorE MqSendBFL_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_BFLN const val)
 append a MkBufferListC object to the send-data-package object …
 
MQ_EXTERN enum MkErrorE MqSendL_FLAT_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_BFLN const val)
 append a MkBufferListC object as flat list of items to the send-data-package object …
 
MQ_EXTERN enum MkErrorE MqSendBUS_FLAT_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_BUSN const val)
 append a MkBufferStreamC object to the send-data-package object …
 
MQ_EXTERN enum MkErrorE MqSendV_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_FST const printfmt,...)
 append a vararg string to the send-data-package object …
 
MQ_EXTERN enum MkErrorE MqSendVL_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_FST const printfmt, va_list var_list)
 append a vararg string as va_list to the send-data-package object …
 
MQ_EXTERN enum MkErrorE MqSendLTR_RT (MK_RT const mkrt, MQ_CTX const ctx, MQ_LTR const transLId)
 set the Longterm-Transaction-Id (LTT) in the send-data-package
 
MQ_EXTERN enum MkErrorE MqSendLONG_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_LONG const val)
 send the long native object to the send-data-package
 
MQ_EXTERN enum MkErrorE MqSendHDL_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_HDL const val)
 send the handle to the send-data-package
 

MqContextC - MqContextC_SendApi_Atom_C_API - function

MQ_EXTERN enum MkErrorE MqSendBinaryRP (MK_RT const mkrt, MQ_CTX const ctx, MkBinaryR const val)
 Non-inline replacement for MqSendBinaryR
 

MqContextC - MqContextC_SendApi_Atom_C_API - overload

#define MqSendBFL_NULL(...)
 
#define MqSendBFL(...)
 
#define MqSendBFL_E(...)
 
#define MqSendBFL_C(...)
 
#define MqSendBIN_NULL(...)
 
#define MqSendBIN(...)
 
#define MqSendBIN_E(...)
 
#define MqSendBIN_C(...)
 
#define MqSendBOL_NULL(...)
 
#define MqSendBOL(...)
 
#define MqSendBOL_E(...)
 
#define MqSendBOL_C(...)
 
#define MqSendBUF_NULL(...)
 
#define MqSendBUF(...)
 
#define MqSendBUF_E(...)
 
#define MqSendBUF_C(...)
 
#define MqSendBUS_FLAT_NULL(...)
 
#define MqSendBUS_FLAT(...)
 
#define MqSendBUS_FLAT_E(...)
 
#define MqSendBUS_FLAT_C(...)
 
#define MqSendBinaryR_NULL(...)
 
#define MqSendBinaryR(...)
 
#define MqSendBinaryR_E(...)
 
#define MqSendBinaryR_C(...)
 
#define MqSendDBL_NULL(...)
 
#define MqSendDBL(...)
 
#define MqSendDBL_E(...)
 
#define MqSendDBL_C(...)
 
#define MqSendFLT_NULL(...)
 
#define MqSendFLT(...)
 
#define MqSendFLT_E(...)
 
#define MqSendFLT_C(...)
 
#define MqSendHDL_NULL(...)
 
#define MqSendHDL(...)
 
#define MqSendHDL_E(...)
 
#define MqSendHDL_C(...)
 
#define MqSendI16_NULL(...)
 
#define MqSendI16(...)
 
#define MqSendI16_E(...)
 
#define MqSendI16_C(...)
 
#define MqSendI32_NULL(...)
 
#define MqSendI32(...)
 
#define MqSendI32_E(...)
 
#define MqSendI32_C(...)
 
#define MqSendI64_NULL(...)
 
#define MqSendI64(...)
 
#define MqSendI64_E(...)
 
#define MqSendI64_C(...)
 
#define MqSendI8_NULL(...)
 
#define MqSendI8(...)
 
#define MqSendI8_E(...)
 
#define MqSendI8_C(...)
 
#define MqSendLONG_NULL(...)
 
#define MqSendLONG(...)
 
#define MqSendLONG_E(...)
 
#define MqSendLONG_C(...)
 
#define MqSendLTR_NULL(...)
 
#define MqSendLTR(...)
 
#define MqSendLTR_E(...)
 
#define MqSendLTR_C(...)
 
#define MqSendL_FLAT_NULL(...)
 
#define MqSendL_FLAT(...)
 
#define MqSendL_FLAT_E(...)
 
#define MqSendL_FLAT_C(...)
 
#define MqSendSTR_NULL(...)
 
#define MqSendSTR(...)
 
#define MqSendSTR_E(...)
 
#define MqSendSTR_C(...)
 
#define MqSendSetHandShake_E(...)
 
#define MqSendSetHandShake_C(...)
 
#define MqSendStringR_NULL(...)
 
#define MqSendStringR(...)
 
#define MqSendStringR_E(...)
 
#define MqSendStringR_C(...)
 
#define MqSendV_NULL(...)
 
#define MqSendV(...)
 
#define MqSendV_E(...)
 
#define MqSendV_C(...)
 
#define MqSendVL_NULL(...)
 
#define MqSendVL(...)
 
#define MqSendVL_E(...)
 
#define MqSendVL_C(...)
 

Detailed Description

MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk

Macro Definition Documentation

◆ MqSendBFL

#define MqSendBFL ( ...)
Value:
#define MK_RT_CALL
MQ_EXTERN enum MkErrorE MqSendBFL_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_BFLN const val)
append a MkBufferListC object to the send-data-package object …

Definition at line 543 of file msgque_overload_mq.h.

◆ MqSendBFL_C

#define MqSendBFL_C ( ...)
Value:
if (MkErrorCheckI(MqSendBFL(__VA_ARGS__)))
#define MqSendBFL(...)

Definition at line 545 of file msgque_overload_mq.h.

◆ MqSendBFL_E

#define MqSendBFL_E ( ...)
Value:
MkErrorCheck(MqSendBFL(__VA_ARGS__))

Definition at line 544 of file msgque_overload_mq.h.

◆ MqSendBFL_NULL

#define MqSendBFL_NULL ( ...)
Value:
#define MK_RT_CALL_NULL

Definition at line 542 of file msgque_overload_mq.h.

◆ MqSendBIN

#define MqSendBIN ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendBIN_RT(MK_RT const mkrt, MQ_CTX const ctx, MkBinaryR const val)
append a MK_BIN object to the send-data-package. …

Definition at line 547 of file msgque_overload_mq.h.

◆ MqSendBIN_C

#define MqSendBIN_C ( ...)
Value:
if (MkErrorCheckI(MqSendBIN(__VA_ARGS__)))
#define MqSendBIN(...)

Definition at line 549 of file msgque_overload_mq.h.

◆ MqSendBIN_E

#define MqSendBIN_E ( ...)
Value:
MkErrorCheck(MqSendBIN(__VA_ARGS__))

Definition at line 548 of file msgque_overload_mq.h.

◆ MqSendBIN_NULL

#define MqSendBIN_NULL ( ...)
Value:

Definition at line 546 of file msgque_overload_mq.h.

◆ MqSendBinaryR

#define MqSendBinaryR ( ...)
Value:
enum MkErrorE MqSendBinaryR_RT(MK_RT const mkrt, MQ_CTX const ctx, MkBinaryR const val)
append a MkBinaryR object to the send-data-package. …

Definition at line 563 of file msgque_overload_mq.h.

◆ MqSendBinaryR_C

#define MqSendBinaryR_C ( ...)
Value:
if (MkErrorCheckI(MqSendBinaryR(__VA_ARGS__)))
#define MqSendBinaryR(...)

Definition at line 565 of file msgque_overload_mq.h.

◆ MqSendBinaryR_E

#define MqSendBinaryR_E ( ...)
Value:
MkErrorCheck(MqSendBinaryR(__VA_ARGS__))

Definition at line 564 of file msgque_overload_mq.h.

◆ MqSendBinaryR_NULL

#define MqSendBinaryR_NULL ( ...)
Value:

Definition at line 562 of file msgque_overload_mq.h.

◆ MqSendBOL

#define MqSendBOL ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendBOL_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_BOL const val)
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package …

Definition at line 551 of file msgque_overload_mq.h.

◆ MqSendBOL_C

#define MqSendBOL_C ( ...)
Value:
if (MkErrorCheckI(MqSendBOL(__VA_ARGS__)))
#define MqSendBOL(...)

Definition at line 553 of file msgque_overload_mq.h.

◆ MqSendBOL_E

#define MqSendBOL_E ( ...)
Value:
MkErrorCheck(MqSendBOL(__VA_ARGS__))

Definition at line 552 of file msgque_overload_mq.h.

◆ MqSendBOL_NULL

#define MqSendBOL_NULL ( ...)
Value:

Definition at line 550 of file msgque_overload_mq.h.

◆ MqSendBUF

#define MqSendBUF ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendBUF_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_BUFN const val)
append a MkBufferC object to the send-data-package object …

Definition at line 555 of file msgque_overload_mq.h.

◆ MqSendBUF_C

#define MqSendBUF_C ( ...)
Value:
if (MkErrorCheckI(MqSendBUF(__VA_ARGS__)))
#define MqSendBUF(...)

Definition at line 557 of file msgque_overload_mq.h.

◆ MqSendBUF_E

#define MqSendBUF_E ( ...)
Value:
MkErrorCheck(MqSendBUF(__VA_ARGS__))

Definition at line 556 of file msgque_overload_mq.h.

◆ MqSendBUF_NULL

#define MqSendBUF_NULL ( ...)
Value:

Definition at line 554 of file msgque_overload_mq.h.

◆ MqSendBUS_FLAT

#define MqSendBUS_FLAT ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendBUS_FLAT_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_BUSN const val)
append a MkBufferStreamC object to the send-data-package object …

Definition at line 559 of file msgque_overload_mq.h.

◆ MqSendBUS_FLAT_C

#define MqSendBUS_FLAT_C ( ...)
Value:
if (MkErrorCheckI(MqSendBUS_FLAT(__VA_ARGS__)))
#define MqSendBUS_FLAT(...)

Definition at line 561 of file msgque_overload_mq.h.

◆ MqSendBUS_FLAT_E

#define MqSendBUS_FLAT_E ( ...)
Value:
MkErrorCheck(MqSendBUS_FLAT(__VA_ARGS__))

Definition at line 560 of file msgque_overload_mq.h.

◆ MqSendBUS_FLAT_NULL

#define MqSendBUS_FLAT_NULL ( ...)
Value:

Definition at line 558 of file msgque_overload_mq.h.

◆ MqSendDBL

#define MqSendDBL ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendDBL_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_DBL const val)
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package …

Definition at line 567 of file msgque_overload_mq.h.

◆ MqSendDBL_C

#define MqSendDBL_C ( ...)
Value:
if (MkErrorCheckI(MqSendDBL(__VA_ARGS__)))
#define MqSendDBL(...)

Definition at line 569 of file msgque_overload_mq.h.

◆ MqSendDBL_E

#define MqSendDBL_E ( ...)
Value:
MkErrorCheck(MqSendDBL(__VA_ARGS__))

Definition at line 568 of file msgque_overload_mq.h.

◆ MqSendDBL_NULL

#define MqSendDBL_NULL ( ...)
Value:

Definition at line 566 of file msgque_overload_mq.h.

◆ MqSendFLT

#define MqSendFLT ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendFLT_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_FLT const val)
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package …

Definition at line 571 of file msgque_overload_mq.h.

◆ MqSendFLT_C

#define MqSendFLT_C ( ...)
Value:
if (MkErrorCheckI(MqSendFLT(__VA_ARGS__)))
#define MqSendFLT(...)

Definition at line 573 of file msgque_overload_mq.h.

◆ MqSendFLT_E

#define MqSendFLT_E ( ...)
Value:
MkErrorCheck(MqSendFLT(__VA_ARGS__))

Definition at line 572 of file msgque_overload_mq.h.

◆ MqSendFLT_NULL

#define MqSendFLT_NULL ( ...)
Value:

Definition at line 570 of file msgque_overload_mq.h.

◆ MqSendHDL

#define MqSendHDL ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendHDL_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_HDL const val)
send the handle to the send-data-package

Definition at line 575 of file msgque_overload_mq.h.

◆ MqSendHDL_C

#define MqSendHDL_C ( ...)
Value:
if (MkErrorCheckI(MqSendHDL(__VA_ARGS__)))
#define MqSendHDL(...)

Definition at line 577 of file msgque_overload_mq.h.

◆ MqSendHDL_E

#define MqSendHDL_E ( ...)
Value:
MkErrorCheck(MqSendHDL(__VA_ARGS__))

Definition at line 576 of file msgque_overload_mq.h.

◆ MqSendHDL_NULL

#define MqSendHDL_NULL ( ...)
Value:

Definition at line 574 of file msgque_overload_mq.h.

◆ MqSendI16

#define MqSendI16 ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendI16_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_I16 const val)
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package …

Definition at line 579 of file msgque_overload_mq.h.

◆ MqSendI16_C

#define MqSendI16_C ( ...)
Value:
if (MkErrorCheckI(MqSendI16(__VA_ARGS__)))
#define MqSendI16(...)

Definition at line 581 of file msgque_overload_mq.h.

◆ MqSendI16_E

#define MqSendI16_E ( ...)
Value:
MkErrorCheck(MqSendI16(__VA_ARGS__))

Definition at line 580 of file msgque_overload_mq.h.

◆ MqSendI16_NULL

#define MqSendI16_NULL ( ...)
Value:

Definition at line 578 of file msgque_overload_mq.h.

◆ MqSendI32

#define MqSendI32 ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendI32_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_I32 const val)
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package …

Definition at line 583 of file msgque_overload_mq.h.

◆ MqSendI32_C

#define MqSendI32_C ( ...)
Value:
if (MkErrorCheckI(MqSendI32(__VA_ARGS__)))
#define MqSendI32(...)

Definition at line 585 of file msgque_overload_mq.h.

◆ MqSendI32_E

#define MqSendI32_E ( ...)
Value:
MkErrorCheck(MqSendI32(__VA_ARGS__))

Definition at line 584 of file msgque_overload_mq.h.

◆ MqSendI32_NULL

#define MqSendI32_NULL ( ...)
Value:

Definition at line 582 of file msgque_overload_mq.h.

◆ MqSendI64

#define MqSendI64 ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendI64_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_I64 const val)
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package …

Definition at line 587 of file msgque_overload_mq.h.

◆ MqSendI64_C

#define MqSendI64_C ( ...)
Value:
if (MkErrorCheckI(MqSendI64(__VA_ARGS__)))
#define MqSendI64(...)

Definition at line 589 of file msgque_overload_mq.h.

◆ MqSendI64_E

#define MqSendI64_E ( ...)
Value:
MkErrorCheck(MqSendI64(__VA_ARGS__))

Definition at line 588 of file msgque_overload_mq.h.

◆ MqSendI64_NULL

#define MqSendI64_NULL ( ...)
Value:

Definition at line 586 of file msgque_overload_mq.h.

◆ MqSendI8

#define MqSendI8 ( ...)
Value:
MqSendI8_RT(MK_RT_CALL __VA_ARGS__)
MQ_EXTERN enum MkErrorE MqSendI8_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_I8 const val)
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package …

Definition at line 591 of file msgque_overload_mq.h.

◆ MqSendI8_C

#define MqSendI8_C ( ...)
Value:
if (MkErrorCheckI(MqSendI8(__VA_ARGS__)))
#define MqSendI8(...)

Definition at line 593 of file msgque_overload_mq.h.

◆ MqSendI8_E

#define MqSendI8_E ( ...)
Value:
MkErrorCheck(MqSendI8(__VA_ARGS__))

Definition at line 592 of file msgque_overload_mq.h.

◆ MqSendI8_NULL

#define MqSendI8_NULL ( ...)
Value:

Definition at line 590 of file msgque_overload_mq.h.

◆ MqSendL_FLAT

#define MqSendL_FLAT ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendL_FLAT_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_BFLN const val)
append a MkBufferListC object as flat list of items to the send-data-package object …

Definition at line 603 of file msgque_overload_mq.h.

◆ MqSendL_FLAT_C

#define MqSendL_FLAT_C ( ...)
Value:
if (MkErrorCheckI(MqSendL_FLAT(__VA_ARGS__)))
#define MqSendL_FLAT(...)

Definition at line 605 of file msgque_overload_mq.h.

◆ MqSendL_FLAT_E

#define MqSendL_FLAT_E ( ...)
Value:
MkErrorCheck(MqSendL_FLAT(__VA_ARGS__))

Definition at line 604 of file msgque_overload_mq.h.

◆ MqSendL_FLAT_NULL

#define MqSendL_FLAT_NULL ( ...)
Value:

Definition at line 602 of file msgque_overload_mq.h.

◆ MqSendLONG

#define MqSendLONG ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendLONG_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_LONG const val)
send the long native object to the send-data-package

Definition at line 595 of file msgque_overload_mq.h.

◆ MqSendLONG_C

#define MqSendLONG_C ( ...)
Value:
if (MkErrorCheckI(MqSendLONG(__VA_ARGS__)))
#define MqSendLONG(...)

Definition at line 597 of file msgque_overload_mq.h.

◆ MqSendLONG_E

#define MqSendLONG_E ( ...)
Value:
MkErrorCheck(MqSendLONG(__VA_ARGS__))

Definition at line 596 of file msgque_overload_mq.h.

◆ MqSendLONG_NULL

#define MqSendLONG_NULL ( ...)
Value:

Definition at line 594 of file msgque_overload_mq.h.

◆ MqSendLTR

#define MqSendLTR ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendLTR_RT(MK_RT const mkrt, MQ_CTX const ctx, MQ_LTR const transLId)
set the Longterm-Transaction-Id (LTT) in the send-data-package …

Definition at line 599 of file msgque_overload_mq.h.

◆ MqSendLTR_C

#define MqSendLTR_C ( ...)
Value:
if (MkErrorCheckI(MqSendLTR(__VA_ARGS__)))
#define MqSendLTR(...)

Definition at line 601 of file msgque_overload_mq.h.

◆ MqSendLTR_E

#define MqSendLTR_E ( ...)
Value:
MkErrorCheck(MqSendLTR(__VA_ARGS__))

Definition at line 600 of file msgque_overload_mq.h.

◆ MqSendLTR_NULL

#define MqSendLTR_NULL ( ...)
Value:

Definition at line 598 of file msgque_overload_mq.h.

◆ MqSendSetHandShake_C

#define MqSendSetHandShake_C ( ...)
Value:
if (MkErrorCheckI(MqSendSetHandShake(__VA_ARGS__)))
MQ_EXTERN enum MkErrorE MqSendSetHandShake(MQ_CTX const ctx, enum MqHandShakeE handShake) MK_ATTR_HDL
set the hand-shake of the send-data-package

Definition at line 611 of file msgque_overload_mq.h.

◆ MqSendSetHandShake_E

#define MqSendSetHandShake_E ( ...)
Value:
MkErrorCheck(MqSendSetHandShake(__VA_ARGS__))

Definition at line 610 of file msgque_overload_mq.h.

◆ MqSendSTR

#define MqSendSTR ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendSTR_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_STRN const val)
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package …

Definition at line 607 of file msgque_overload_mq.h.

◆ MqSendSTR_C

#define MqSendSTR_C ( ...)
Value:
if (MkErrorCheckI(MqSendSTR(__VA_ARGS__)))
#define MqSendSTR(...)

Definition at line 609 of file msgque_overload_mq.h.

◆ MqSendSTR_E

#define MqSendSTR_E ( ...)
Value:
MkErrorCheck(MqSendSTR(__VA_ARGS__))

Definition at line 608 of file msgque_overload_mq.h.

◆ MqSendSTR_NULL

#define MqSendSTR_NULL ( ...)
Value:

Definition at line 606 of file msgque_overload_mq.h.

◆ MqSendStringR

#define MqSendStringR ( ...)
Value:
MQ_EXTERN enum MkErrorE MqSendStringR_RT(MK_RT const mkrt, MQ_CTX const ctx, MkStringR const val)
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package …

Definition at line 613 of file msgque_overload_mq.h.

◆ MqSendStringR_C

#define MqSendStringR_C ( ...)
Value:
if (MkErrorCheckI(MqSendStringR(__VA_ARGS__)))
#define MqSendStringR(...)

Definition at line 615 of file msgque_overload_mq.h.

◆ MqSendStringR_E

#define MqSendStringR_E ( ...)
Value:
MkErrorCheck(MqSendStringR(__VA_ARGS__))

Definition at line 614 of file msgque_overload_mq.h.

◆ MqSendStringR_NULL

#define MqSendStringR_NULL ( ...)
Value:

Definition at line 612 of file msgque_overload_mq.h.

◆ MqSendV

#define MqSendV ( ...)
Value:
MqSendV_RT(MK_RT_CALL __VA_ARGS__)
MQ_EXTERN enum MkErrorE MqSendV_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_FST const printfmt,...)
append a vararg string to the send-data-package object …

Definition at line 617 of file msgque_overload_mq.h.

◆ MqSendV_C

#define MqSendV_C ( ...)
Value:
if (MkErrorCheckI(MqSendV(__VA_ARGS__)))
#define MqSendV(...)

Definition at line 619 of file msgque_overload_mq.h.

◆ MqSendV_E

#define MqSendV_E ( ...)
Value:
MkErrorCheck(MqSendV(__VA_ARGS__))

Definition at line 618 of file msgque_overload_mq.h.

◆ MqSendV_NULL

#define MqSendV_NULL ( ...)
Value:

Definition at line 616 of file msgque_overload_mq.h.

◆ MqSendVL

#define MqSendVL ( ...)
Value:
MqSendVL_RT(MK_RT_CALL __VA_ARGS__)
MQ_EXTERN enum MkErrorE MqSendVL_RT(MK_RT const mkrt, MQ_CTX const ctx, MK_FST const printfmt, va_list var_list)
append a vararg string as va_list to the send-data-package object …

Definition at line 621 of file msgque_overload_mq.h.

◆ MqSendVL_C

#define MqSendVL_C ( ...)
Value:
if (MkErrorCheckI(MqSendVL(__VA_ARGS__)))
#define MqSendVL(...)

Definition at line 623 of file msgque_overload_mq.h.

◆ MqSendVL_E

#define MqSendVL_E ( ...)
Value:
MkErrorCheck(MqSendVL(__VA_ARGS__))

Definition at line 622 of file msgque_overload_mq.h.

◆ MqSendVL_NULL

#define MqSendVL_NULL ( ...)
Value:

Definition at line 620 of file msgque_overload_mq.h.

Function Documentation

◆ MqSendBFL_RT()

MQ_EXTERN enum MkErrorE MqSendBFL_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_BFLN const val )

append a MkBufferListC object to the send-data-package object …

The items of the list are send as list using MqSendL_START and MqSendL_END.

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe pointer to an MkBufferListC object to send
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Attention
If val == NULL an empty binary (size=0) will be send.
See also
MqSendL_FLAT

◆ MqSendBIN_RT()

MQ_EXTERN enum MkErrorE MqSendBIN_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MkBinaryR const val )

append a MK_BIN object to the send-data-package. …

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Attention
If val == NULL an empty byte-array ([]) will be send.
+ Here is the caller graph for this function:

◆ MqSendBinaryR_RT()

enum MkErrorE MqSendBinaryR_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MkBinaryR const val )
inline

append a MkBinaryR object to the send-data-package. …

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Attention
If val == NULL an empty byte-array ([]) will be send.

Definition at line 6848 of file LibMqMsgque_mq.h.

6852 {
6853 return MqSendBIN_RT(MK_RT_CALL ctx, val);
6854}

◆ MqSendBinaryRP()

MQ_EXTERN enum MkErrorE MqSendBinaryRP ( MK_RT const mkrt,
MQ_CTX const ctx,
MkBinaryR const val )

Non-inline replacement for MqSendBinaryR

◆ MqSendBOL_RT()

MQ_EXTERN enum MkErrorE MqSendBOL_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_BOL const val )

MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk

◆ MqSendBUF_RT()

MQ_EXTERN enum MkErrorE MqSendBUF_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_BUFN const val )

append a MkBufferC object to the send-data-package object …

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Attention
If val == NULL an error is raised.

◆ MqSendBUS_FLAT_RT()

MQ_EXTERN enum MkErrorE MqSendBUS_FLAT_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_BUSN const val )

append a MkBufferStreamC object to the send-data-package object …

The items of the stream are send flast as the stream is appended to the send-data-package.

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe pointer to an MkBufferStreamC object to send
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Attention
If val == NULL an empty binary (size=0) will be send.
See also
MqSendL_FLAT

◆ MqSendDBL_RT()

MQ_EXTERN enum MkErrorE MqSendDBL_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_DBL const val )

MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk

◆ MqSendFLT_RT()

MQ_EXTERN enum MkErrorE MqSendFLT_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_FLT const val )

MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk

◆ MqSendHDL_RT()

MQ_EXTERN enum MkErrorE MqSendHDL_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_HDL const val )

send the handle to the send-data-package

See also
MqReadHDL, MK_HDL
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe handle-object to send
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Attention
this is NON portable

◆ MqSendI16_RT()

MQ_EXTERN enum MkErrorE MqSendI16_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_I16 const val )

MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk

◆ MqSendI32_RT()

MQ_EXTERN enum MkErrorE MqSendI32_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_I32 const val )

MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk

◆ MqSendI64_RT()

MQ_EXTERN enum MkErrorE MqSendI64_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_I64 const val )

MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk

◆ MqSendI8_RT()

MQ_EXTERN enum MkErrorE MqSendI8_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_I8 const val )

MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk

◆ MqSendL_FLAT_RT()

MQ_EXTERN enum MkErrorE MqSendL_FLAT_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_BFLN const val )

append a MkBufferListC object as flat list of items to the send-data-package object …

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe pointer to an MkBufferListC object to send
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
See also
MqSendBFL

◆ MqSendLONG_RT()

MQ_EXTERN enum MkErrorE MqSendLONG_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_LONG const val )

send the long native object to the send-data-package

on 64bit use a MqSendI64 and on 32bit use a MqSendI32

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe native long object to send
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Attention
this is NON portable
See also
MqReadLONG

◆ MqSendLTR_RT()

MQ_EXTERN enum MkErrorE MqSendLTR_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MQ_LTR const transLId )

set the Longterm-Transaction-Id (LTT) in the send-data-package

The LTT is the database entry-id to identify a persistant transaction. This function is very-low-level and work together with MqStorageResolve to provide a special feature used in "aguard"

// step 1. -> get the "original" transaction of "mqctx->link.protect.rmtTransLId" from DB
MkErrorCheck (MqStorageResolve (mqctx, &otherCtx, &otherLId));
// step 2. -> protect environment
MqEnvProtect(otherCtx);
// step 3. -> set the original "otherLId" from database
MqSendLTR (otherCtx, otherLId)
// step 4. -> restore the environment
MqEnvRestore(otherCtx);
MQ_EXTERN void MqEnvRestore(MQ_CTX ctx) MK_ATTR_HDL
restore the service-environment
#define MqEnvProtect(...)
#define MqStorageResolve(...)
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]transLIdvalue from ctx->link.protect.transLId
Attention
the LTT have to be the FIRST entry in a send-data-package
See also
MqStorageResolve

◆ MqSendSTR_RT()

MQ_EXTERN enum MkErrorE MqSendSTR_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_STRN const val )

MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Attention
If val == NULL the string "MK_NULL" will be send.
See also
MqReadSTR

◆ MqSendStringR_RT()

MQ_EXTERN enum MkErrorE MqSendStringR_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MkStringR const val )

MqContextC - append a native PRIMITIVE TYPE value to the send-data-package

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]valthe value to appending
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Attention
If val == NULL the string "MK_NULL" will be send.
See also
MqReadSTR

◆ MqSendV_RT()

MQ_EXTERN enum MkErrorE MqSendV_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_FST const printfmt,
... )

append a vararg string to the send-data-package object …

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]printfmtis a c-string used as printf like format string

◆ MqSendVL_RT()

MQ_EXTERN enum MkErrorE MqSendVL_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_FST const printfmt,
va_list var_list )

append a vararg string as va_list to the send-data-package object …

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]printfmtis a c-string used as printf like format string
[in]var_lista variable argument list object