MqContextC - various function to 'get' the configuration-data from a context … More...
Collaboration diagram for MqContextC_ConfigApi_Get_C_API:Functions | |
| static bool | MqConfigGetIsServer (MQ_CTX const ctx) |
| does the context object is a server ? | |
| static enum MqIdentE | MqConfigGetIdentFrom (MQ_CTX const ctx) |
| get the MqConfigS::identFrom | |
| static bool | MqConfigGetIsParent (MQ_CTX const ctx) |
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is MK_NULL | |
| static bool | MqConfigGetIsString (MQ_CTX const ctx) |
| does the context object is using the string-mode ? | |
| static MK_STRN | MqConfigGetName (MQ_CTXN const ctx) |
| get the name of the context object | |
| static MK_STRN | MqConfigGetPrefix (MQ_CTXN const ctx) |
| get the MqConfigS::dispPrefix | |
| static MK_STRN | MqConfigGetPostfix (MQ_CTXN const ctx) |
| get the MqConfigS::dispPostfix | |
| static MK_STRN | MqConfigGetStorage (MQ_CTXN const ctx) |
| get the storage of the context object | |
| static MK_I32 | MqConfigGetBuffersize (MQ_CTXN const ctx) |
| get the minimum of the read/send buffersize of the socket | |
| static MK_I32 | MqConfigGetPkgsize (MQ_CTXN const ctx) |
| get the maximun size of a BDY package | |
| static MK_TIME_T | MqConfigGetTimeout (MQ_CTXN const ctx) |
| get the timeout value of the context object | |
| static MK_STRN | MqConfigGetIoUds (MQ_CTXN const ctx) |
| return the MqIoUdsConfigS | |
| enum MkErrorE | MqConfigGetIoTcp (MQ_CTX const ctx, MK_STRN *host_out, MK_STRN *port_out, MK_STRN *myhost_out, MK_STRN *myport_out) |
| get the configuration-data of the tcp-client-server-link … | |
| enum MkErrorE | MqConfigGetIoTcpL_RT (MK_RT mkrt, MQ_CTX const ctx, MK_BFL *vals_out) |
| get the configuration-data of the tcp-client-server-link as MkBufferListC … | |
| static MQ_SOCK_HDL | MqConfigGetIoPipe (MQ_CTX const ctx) |
| return the MqIoPipeConfigS | |
| static enum MqStartE | MqConfigGetStartAs (MQ_CTX const ctx) |
| return the MqConfigS::startAs value | |
| static enum MqStatusIsEF | MqConfigGetStatusIs (MQ_CTX const ctx) |
| return the MqContextS::statusIs value | |
| config_t * | MqConfigGetConfigFile (MQ_CTX const ctx) |
| get the config-file handle used for libconfig API funtions | |
| config_setting_t * | MqConfigGetConfigRoot (MQ_CTX const ctx) |
| get the config-root handle used for libconfig API funtions | |
| enum MkErrorE | MqConfigSetConfigFile_RT (MK_RT mkrt, MQ_CTX const ctx, MK_STRN const filename) |
| set the config-file and parse for well-known config-items | |
MqContextC - MqContextC_ConfigApi_Get_C_API - function | |
| MK_I32 | MqConfigGetBuffersizeP (MQ_CTXN const ctx) |
| Non-inline replacement for MqConfigGetBuffersize … | |
| enum MqIdentE | MqConfigGetIdentFromP (MQ_CTX const ctx) |
| Non-inline replacement for MqConfigGetIdentFrom … | |
| MQ_SOCK_HDL | MqConfigGetIoPipeP (MQ_CTX const ctx) |
| Non-inline replacement for MqConfigGetIoPipe … | |
| MK_STRN | MqConfigGetIoUdsP (MQ_CTXN const ctx) |
| Non-inline replacement for MqConfigGetIoUds … | |
| MK_BOOL | MqConfigGetIsParentP (MQ_CTX const ctx) |
| Non-inline replacement for MqConfigGetIsParent … | |
| MK_BOOL | MqConfigGetIsServerP (MQ_CTX const ctx) |
| Non-inline replacement for MqConfigGetIsServer … | |
| MK_BOOL | MqConfigGetIsStringP (MQ_CTX const ctx) |
| Non-inline replacement for MqConfigGetIsString … | |
| MK_STRN | MqConfigGetNameP (MQ_CTXN const ctx) |
| Non-inline replacement for MqConfigGetName … | |
| MK_I32 | MqConfigGetPkgsizeP (MQ_CTXN const ctx) |
| Non-inline replacement for MqConfigGetPkgsize … | |
| MK_STRN | MqConfigGetPostfixP (MQ_CTXN const ctx) |
| Non-inline replacement for MqConfigGetPostfix … | |
| MK_STRN | MqConfigGetPrefixP (MQ_CTXN const ctx) |
| Non-inline replacement for MqConfigGetPrefix … | |
| enum MqStartE | MqConfigGetStartAsP (MQ_CTX const ctx) |
| Non-inline replacement for MqConfigGetStartAs … | |
| enum MqStatusIsEF | MqConfigGetStatusIsP (MQ_CTX const ctx) |
| Non-inline replacement for MqConfigGetStatusIs … | |
| MK_STRN | MqConfigGetStorageP (MQ_CTXN const ctx) |
| Non-inline replacement for MqConfigGetStorage … | |
| MK_TIME_T | MqConfigGetTimeoutP (MQ_CTXN const ctx) |
| Non-inline replacement for MqConfigGetTimeout … | |
| #define | MQ_IS_SERVER(ctx) |
| extract boolean information from context | |
| #define | MQ_IS_SERVER_PARENT(ctx) |
| #define | MQ_IS_CLIENT(ctx) |
| #define | MQ_IS_CLIENT_PARENT(ctx) |
| #define | MQ_IS_CHILD(ctx) |
| #define | MQ_IS_PARENT(ctx) |
| #define | MQ_IS_SLAVE(ctx) |
| #define | MQ_IS_MASTER(ctx) |
| #define | MQ_IS_LOOPBACK(ctx) |
| #define | MQ_GET_PARENT(ctx) |
| #define | MQ_GET_MASTER(ctx) |
| #define | MQ_IS_ON_EXIT(ctx) |
MqContextC - MqContextC_ConfigApi_Get_C_API - overload | |
| #define | MqConfigGetIoTcpL_NULL(...) |
| #define | MqConfigGetIoTcpL(...) |
| #define | MqConfigGetIoTcpL_E(...) |
| #define | MqConfigGetIoTcpL_C(...) |
| #define | MqConfigGetIoTcpL_e(...) |
| #define | MqConfigSetConfigFile_NULL(...) |
| #define | MqConfigSetConfigFile(...) |
| #define | MqConfigSetConfigFile_E(...) |
| #define | MqConfigSetConfigFile_C(...) |
| #define | MqConfigGetIoTcp_E(...) |
| #define | MqConfigGetIoTcp_C(...) |
MqContextC - various function to 'get' the configuration-data from a context …
| #define MQ_GET_MASTER | ( | ctx | ) |
Definition at line 2467 of file LibMqMsgque_mq.h.
| #define MQ_GET_PARENT | ( | ctx | ) |
Definition at line 2466 of file LibMqMsgque_mq.h.
| #define MQ_IS_CHILD | ( | ctx | ) |
Definition at line 2460 of file LibMqMsgque_mq.h.
| #define MQ_IS_CLIENT | ( | ctx | ) |
Definition at line 2458 of file LibMqMsgque_mq.h.
| #define MQ_IS_CLIENT_PARENT | ( | ctx | ) |
Definition at line 2459 of file LibMqMsgque_mq.h.
| #define MQ_IS_LOOPBACK | ( | ctx | ) |
Definition at line 2464 of file LibMqMsgque_mq.h.
| #define MQ_IS_MASTER | ( | ctx | ) |
Definition at line 2463 of file LibMqMsgque_mq.h.
| #define MQ_IS_ON_EXIT | ( | ctx | ) |
Definition at line 2469 of file LibMqMsgque_mq.h.
| #define MQ_IS_PARENT | ( | ctx | ) |
Definition at line 2461 of file LibMqMsgque_mq.h.
| #define MQ_IS_SERVER | ( | ctx | ) |
extract boolean information from context
Definition at line 2456 of file LibMqMsgque_mq.h.
| #define MQ_IS_SERVER_PARENT | ( | ctx | ) |
Definition at line 2457 of file LibMqMsgque_mq.h.
| #define MQ_IS_SLAVE | ( | ctx | ) |
Definition at line 2462 of file LibMqMsgque_mq.h.
| #define MqConfigGetIoTcp_C | ( | ... | ) |
Definition at line 77 of file msgque_overload_mq.h.
| #define MqConfigGetIoTcp_E | ( | ... | ) |
Definition at line 76 of file msgque_overload_mq.h.
| #define MqConfigGetIoTcpL | ( | ... | ) |
Definition at line 64 of file msgque_overload_mq.h.
| #define MqConfigGetIoTcpL_C | ( | ... | ) |
Definition at line 66 of file msgque_overload_mq.h.
| #define MqConfigGetIoTcpL_E | ( | ... | ) |
Definition at line 65 of file msgque_overload_mq.h.
| #define MqConfigGetIoTcpL_e | ( | ... | ) |
Definition at line 67 of file msgque_overload_mq.h.
| #define MqConfigGetIoTcpL_NULL | ( | ... | ) |
Definition at line 63 of file msgque_overload_mq.h.
| #define MqConfigSetConfigFile | ( | ... | ) |
Definition at line 71 of file msgque_overload_mq.h.
| #define MqConfigSetConfigFile_C | ( | ... | ) |
Definition at line 73 of file msgque_overload_mq.h.
| #define MqConfigSetConfigFile_E | ( | ... | ) |
Definition at line 72 of file msgque_overload_mq.h.
| #define MqConfigSetConfigFile_NULL | ( | ... | ) |
Definition at line 70 of file msgque_overload_mq.h.
get the minimum of the read/send buffersize of the socket
| [in] | ctx | the MqContextS instance to work on |
context.config.buffersize(R/S) value Definition at line 8460 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetBuffersize …
get the config-file handle used for libconfig API funtions
| [in] | ctx | the MqContextS instance to work on |
MK_NULL if no config-file is available. | config_setting_t * MqConfigGetConfigRoot | ( | MQ_CTX const | ctx | ) |
get the config-root handle used for libconfig API funtions
The root is the place in the config-file which belongs to the MqClassIdentGet application name.
| [in] | ctx | the MqContextS instance to work on |
MK_NULL if no config-root is available. get the MqConfigS::identFrom
| [in] | ctx | the MqContextS instance to work on |
prefix or factory Definition at line 8373 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetIdentFrom …
|
inlinestatic |
return the MqIoPipeConfigS
| [in] | ctx | the MqContextS instance to work on |
Definition at line 8565 of file LibMqMsgque_mq.h.
| MQ_SOCK_HDL MqConfigGetIoPipeP | ( | MQ_CTX const | ctx | ) |
Non-inline replacement for MqConfigGetIoPipe …
| enum MkErrorE MqConfigGetIoTcp | ( | MQ_CTX const | ctx, |
| MK_STRN * | host_out, | ||
| MK_STRN * | port_out, | ||
| MK_STRN * | myhost_out, | ||
| MK_STRN * | myport_out ) |
get the configuration-data of the tcp-client-server-link …
| [in] | ctx | the MqContextS instance to work on |
| [out] | host_out | client: name of the remote interface (default: localhost) server: name of the local interface (default: listen on all interfaces) |
| [out] | port_out | client: name of the remote port server: name of the local port |
| [out] | myhost_out | client: name of the local interface |
| [out] | myport_out | client: name of the local port |
MK_NULL MK_NULL … nothing will be done get the configuration-data of the tcp-client-server-link as MkBufferListC …
| host |
| ||||
| port |
| ||||
| myhost | name of the local interface | ||||
| myport | name of the local port |
| [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 |
| [out] | vals_out | the contain host, port, myhost and myport data |
return the MqIoUdsConfigS
| [in] | ctx | the MqContextS instance to work on |
context.config.io.uds.file value Definition at line 8497 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetIoUds …
|
inlinestatic |
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is MK_NULL
| [in] | ctx | the MqContextS instance to work on |
(ctx->config.parent == NULL) value Definition at line 8385 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetIsParent …
|
inlinestatic |
does the context object is a server ?
| [in] | ctx | the MqContextS instance to work on |
(ctx->setup.isServer == true) value Definition at line 8362 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetIsServer …
|
inlinestatic |
does the context object is using the string-mode ?
| [in] | ctx | the MqContextS instance to work on |
(ctx->config.native == 'S') value Definition at line 8396 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetIsString …
get the name of the context object
| [in] | ctx | the MqContextS instance to work on |
context.config.name value Definition at line 8409 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetName …
get the maximun size of a BDY package
| [in] | ctx | the MqContextS instance to work on |
context.config.pkgsize(R/S) value Definition at line 8472 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetPkgsize …
get the MqConfigS::dispPostfix
| [in] | ctx | the MqContextS instance to work on |
Definition at line 8435 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetPostfix …
get the MqConfigS::dispPrefix
| [in] | ctx | the MqContextS instance to work on |
Definition at line 8422 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetPrefix …
return the MqConfigS::startAs value
Definition at line 8574 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetStartAs …
|
inlinestatic |
return the MqContextS::statusIs value
Definition at line 8583 of file LibMqMsgque_mq.h.
| enum MqStatusIsEF MqConfigGetStatusIsP | ( | MQ_CTX const | ctx | ) |
Non-inline replacement for MqConfigGetStatusIs …
get the storage of the context object
| [in] | ctx | the MqContextS instance to work on |
context.config.storageFile value Definition at line 8448 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetStorage …
get the timeout value of the context object
| [in] | ctx | the MqContextS instance to work on |
context.config.timeout value Definition at line 8484 of file LibMqMsgque_mq.h.
Non-inline replacement for MqConfigGetTimeout …
set the config-file and parse for well-known config-items
Read more at MqConfigS::cfg
| [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 |
| [in] | filename | name of the config-file for input |