theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
MqDumpC_Misc_C_API

MqDumpC - various functions to work on a dumpMore...

+ Collaboration diagram for MqDumpC_Misc_C_API:

Functions

MK_SIZE MqDumpSizeGet (MQ_DMPN const dump)
 report the binary data size from an MqDumpS object
 
void MqDumpTransLIdSet (MQ_DMP const dump, MQ_LTR transLId)
 set the MqEnvS::transLId
 
void MqDumpRmtTransLIdSet (MQ_DMP const dump, MQ_LTR rmtTransLId)
 set the MqEnvS::rmtTransLId
 
void MqDumpAllocSizeSet (MQ_DMP const dump, MK_SIZE allocsize)
 set the allocated buffer of the MqDumpC
 
MK_SIZE MqDumpAllocSizeGet (MQ_DMPN const dump)
 return the allocated buffer of the MqDumpC
 
enum MqHandShakeE MqDumpHandShakeGet (MQ_DMPN const dump)
 return the MqHandShakeE as character …
 
MK_STRN MqDumpTokenGet (MQ_DMPN const dump)
 return the MqContextC_ServiceApi_Identifer
 

MqDumpC - MqDumpC_Misc_C_API - overload

#define MqDumpLog_NULL(...)
 
#define MqDumpLog(...)
 
#define MqDumpLog_4(dmp, fmtobj, debug, callfunc)
 
#define MqDumpLog_3(dmp, fmtobj, debug)
 
#define MqDumpLog_2(dmp, fmtobj)
 
#define MqDumpLog_1(dmp)
 

Detailed Description

MqDumpC - various functions to work on a dump

Macro Definition Documentation

◆ MqDumpLog

#define MqDumpLog ( ...)
Value:
#define MK_RT_CALL
void MqDumpLog_RT(MK_RT mkrt, MQ_DMP const dmp, MK_OBJN fmtobj, MK_I32 const debug, MK_STRN const callfunc, MK_I32 const lvl)
log the MqDumpC …

Definition at line 917 of file msgque_overload_mq.h.

◆ MqDumpLog_1

#define MqDumpLog_1 ( dmp)
Value:
MqDumpLog(dmp,NULL,0,__func__,0)
#define MqDumpLog(...)

Definition at line 921 of file msgque_overload_mq.h.

◆ MqDumpLog_2

#define MqDumpLog_2 ( dmp,
fmtobj )
Value:
MqDumpLog(dmp,fmtobj,0,__func__,0)

Definition at line 920 of file msgque_overload_mq.h.

◆ MqDumpLog_3

#define MqDumpLog_3 ( dmp,
fmtobj,
debug )
Value:
MqDumpLog(dmp,fmtobj,debug,__func__,0)

Definition at line 919 of file msgque_overload_mq.h.

◆ MqDumpLog_4

#define MqDumpLog_4 ( dmp,
fmtobj,
debug,
callfunc )
Value:
MqDumpLog(dmp,fmtobj,debug,callfunc,0)

Definition at line 918 of file msgque_overload_mq.h.

◆ MqDumpLog_NULL

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

Definition at line 916 of file msgque_overload_mq.h.

Function Documentation

◆ MqDumpAllocSizeGet()

MK_SIZE MqDumpAllocSizeGet ( MQ_DMPN const dump)

return the allocated buffer of the MqDumpC

MQ_DMPN const dump
) {
return dump->allocsize;
}

◆ MqDumpAllocSizeSet()

void MqDumpAllocSizeSet ( MQ_DMP const dump,
MK_SIZE allocsize )

set the allocated buffer of the MqDumpC

goal of this funktion is to restore required internal data to reuse the memory of a MqDumpC after the MqDumpC was modified… example agard

Attention
Use only a value previous extracted with MqDumpAllocSizeGet.
MQ_DMP const dump,
MK_SIZE allocsize
) {
MkOBJ_R(dump).signature = MqDumpC_SIGNATURE;
dump->allocsize = allocsize;
}

◆ MqDumpHandShakeGet()

enum MqHandShakeE MqDumpHandShakeGet ( MQ_DMPN const dump)

return the MqHandShakeE as character …

MQ_DMPN const dump
) {
return (enum MqHandShakeE)dump->hdr.hs;
}

◆ MqDumpRmtTransLIdSet()

void MqDumpRmtTransLIdSet ( MQ_DMP const dump,
MQ_LTR rmtTransLId )

set the MqEnvS::rmtTransLId

MQ_DMP const dump,
MQ_LTR rmtTransLId
) {
dump->protect.rmtTransLId = rmtTransLId;
}

◆ MqDumpSizeGet()

MK_SIZE MqDumpSizeGet ( MQ_DMPN const dump)

report the binary data size from an MqDumpS object

Parameters
[in]dumpthe source object
Returns
the size of the dump
MQ_DMPN const dump
) {
return dump->size;
}
+ Here is the caller graph for this function:

◆ MqDumpTokenGet()

MK_STRN MqDumpTokenGet ( MQ_DMPN const dump)

return the MqContextC_ServiceApi_Identifer

MQ_DMPN const dump
) {
return dump->hdr.tok;
}
+ Here is the caller graph for this function:

◆ MqDumpTransLIdSet()

void MqDumpTransLIdSet ( MQ_DMP const dump,
MQ_LTR transLId )

set the MqEnvS::transLId

MQ_DMP const dump,
MQ_LTR rmtTransLId
) {
dump->protect.rmtTransLId = rmtTransLId;
}