libmqmsgque 9.0
Loading...
Searching...
No Matches
Functions
MqContextC_ConfigApi_Interface_C_API

various function to setup a interface into MqContextCMore...

+ Collaboration diagram for MqContextC_ConfigApi_Interface_C_API:

Functions

MQ_EXTERN void MqConfigSetServerSetup_RT (MK_RT const mkrt, MQ_CTX const ctx, MqTokenF fCall, MK_CBP callback, MqDataFreeF fFree, MqDataCopyF fCopy)
 set the MqSetupS::ServerSetup
 
MQ_EXTERN void MqConfigSetServerCleanup_RT (MK_RT const mkrt, MQ_CTX const ctx, MqTokenF fCall, MK_CBP callback, MqDataFreeF fFree, MqDataCopyF fCopy)
 set the MqSetupS::ServerCleanup
 
MQ_EXTERN void MqConfigSetBgError_RT (MK_RT const mkrt, MQ_CTX const ctx, MqTokenF fCall, MK_CBP callback, MqDataFreeF fFree, MqDataCopyF fCopy)
 set the MqSetupS::BgError
 
MQ_EXTERN void MqConfigSetEvent_RT (MK_RT const mkrt, MQ_CTX const ctx, MqTokenF fEvent, MK_CBP data, MqDataFreeF fFree, MqDataCopyF fCopy)
 set the MqSetupS::Event
 

Overload

#define MqConfigSetBgError(...)   MqConfigSetBgError_RT(MK_RT_CALL __VA_ARGS__)
 
#define MqConfigSetEvent(...)   MqConfigSetEvent_RT(MK_RT_CALL __VA_ARGS__)
 
#define MqConfigSetServerCleanup(...)   MqConfigSetServerCleanup_RT(MK_RT_CALL __VA_ARGS__)
 
#define MqConfigSetServerSetup(...)   MqConfigSetServerSetup_RT(MK_RT_CALL __VA_ARGS__)
 

Detailed Description

various function to setup a interface into MqContextC

The "Setup"-Callback is special because this callback have to be callable by the server child and/or the slave context.

To distinguish the server child and slave the following functions are used:

Macro Definition Documentation

◆ MqConfigSetBgError

#define MqConfigSetBgError (   ...)    MqConfigSetBgError_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 179 of file msgque_overload_mq.h.

◆ MqConfigSetEvent

#define MqConfigSetEvent (   ...)    MqConfigSetEvent_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 180 of file msgque_overload_mq.h.

◆ MqConfigSetServerCleanup

#define MqConfigSetServerCleanup (   ...)    MqConfigSetServerCleanup_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 181 of file msgque_overload_mq.h.

◆ MqConfigSetServerSetup

#define MqConfigSetServerSetup (   ...)    MqConfigSetServerSetup_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 182 of file msgque_overload_mq.h.

Function Documentation

◆ MqConfigSetBgError_RT()

MQ_EXTERN void MqConfigSetBgError_RT ( MK_RT const  mkrt,
MQ_CTX const  ctx,
MqTokenF  fCall,
MK_CBP  callback,
MqDataFreeF  fFree,
MqDataCopyF  fCopy 
)

◆ MqConfigSetEvent_RT()

MQ_EXTERN void MqConfigSetEvent_RT ( MK_RT const  mkrt,
MQ_CTX const  ctx,
MqTokenF  fEvent,
MK_CBP  data,
MqDataFreeF  fFree,
MqDataCopyF  fCopy 
)

set the MqSetupS::Event

Attention

◆ MqConfigSetServerCleanup_RT()

MQ_EXTERN void MqConfigSetServerCleanup_RT ( MK_RT const  mkrt,
MQ_CTX const  ctx,
MqTokenF  fCall,
MK_CBP  callback,
MqDataFreeF  fFree,
MqDataCopyF  fCopy 
)

◆ MqConfigSetServerSetup_RT()

MQ_EXTERN void MqConfigSetServerSetup_RT ( MK_RT const  mkrt,
MQ_CTX const  ctx,
MqTokenF  fCall,
MK_CBP  callback,
MqDataFreeF  fFree,
MqDataCopyF  fCopy 
)