MqContextC - various function to do 'misc' configuration … More...
Data Structures | |
struct | MqIoUdsConfigS |
configure a context to use a uds-client-server-link … More... | |
struct | MqIoTcpConfigS |
configure a context to use a tcp-client-server-link … More... | |
struct | MqIoPipeConfigS |
configure a context to use a pipe-client-server-link … More... | |
struct | MqIoLoopConfigS |
Configure a context to use a loop-client-server-link … More... | |
struct | MqIoInitConfigS |
configure a context to use a init-client-server-link … More... | |
struct | MqIoConfigS |
Basic configuration of a context … More... | |
struct | MqConfigS |
end-user configuration data, also available as command-line options More... | |
struct | MqSetupS |
application-programmer configuration data More... | |
Macros | |
#define | MQ_CALLBACK_CREATE_ARGS MK_RT_ARGS MQ_CTX const mqctx, MK_BFL const argv |
#define | MQ_CALLBACK_CREATE_CALL MK_RT_CALL mqctx, argv |
Typedefs | |
typedef enum MkErrorE(* | MqCreateFLT) (MK_RT const mkrt, MQ_CTX const ctx, MK_BFL const args) |
the prototype for the ContextCreate function … | |
typedef void(* | MqDeleteF) (MQ_CTX const ctx) |
the prototype for a ContextDelete function … | |
Functions | |
MQ_EXTERN void | MqConfigReset_RT (MK_RT const mkrt, MQ_CTX const ctx) |
clean the MqContextS::config data | |
MQ_EXTERN void | MqConfigDup_RT (MK_RT const mkrt, MQ_CTX const to, MQ_CTX const from) |
copy the MqContextS::config data | |
MQ_EXTERN void | MqSetupDup_RT (MK_RT const mkrt, MQ_CTX const to, MQ_CTXN const from) |
copy the MqContextS::setup data … | |
MqContextC - MqContextC_ConfigApi_Misc_C_API - overload | |
#define | MqConfigDup_NULL(...) |
#define | MqConfigDup(...) |
#define | MqConfigReset_NULL(...) |
#define | MqConfigReset(...) |
#define | MqSetupDup_NULL(...) |
#define | MqSetupDup(...) |
MqContextC - various function to do 'misc' configuration …
#define MQ_CALLBACK_CREATE_ARGS MK_RT_ARGS MQ_CTX const mqctx, MK_BFL const argv |
Definition at line 1167 of file LibMqMsgque_mq.h.
#define MQ_CALLBACK_CREATE_CALL MK_RT_CALL mqctx, argv |
Definition at line 1168 of file LibMqMsgque_mq.h.
#define MqConfigDup | ( | ... | ) |
Definition at line 105 of file msgque_overload_mq.h.
#define MqConfigDup_NULL | ( | ... | ) |
Definition at line 104 of file msgque_overload_mq.h.
#define MqConfigReset | ( | ... | ) |
Definition at line 107 of file msgque_overload_mq.h.
#define MqConfigReset_NULL | ( | ... | ) |
Definition at line 106 of file msgque_overload_mq.h.
#define MqSetupDup | ( | ... | ) |
Definition at line 109 of file msgque_overload_mq.h.
#define MqSetupDup_NULL | ( | ... | ) |
Definition at line 108 of file msgque_overload_mq.h.
the prototype for the ContextCreate function …
This function is the MqContextS::fCreate and MqContextS::fThreadCreate parameter and is used to :
[in] | mkrt | the runtime environment |
[in] | ctx | context configuration (NULL is not allowed) |
args | [in,out] this is the args buffer-list pointer |
Definition at line 950 of file LibMqMsgque_mq.h.
typedef void( * MqDeleteF) (MQ_CTX const ctx) |
the prototype for a ContextDelete function …
This function is the MqContextS::fDelete and MqContextS::fThreadDelete parameter and is used to:
Definition at line 1177 of file LibMqMsgque_mq.h.
copy the MqContextS::config data
clean the MqContextS::config data
copy the MqContextS::setup data …
MqSetupDup is an important function, because every new created object need to fill the MqSetupS data. The typical software flow is:
MqSetupDup has code to protect setup data filled in Object-Specific-Setup