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

MqContextC - various function to 'get' the configuration-data from a contextMore...

+ Collaboration diagram for MqContextC_ConfigApi_Get_C_API:

Functions

bool MqConfigGetIsServer (MQ_CTX const ctx)
 does the context object is a server ?
 
enum MqIdentE MqConfigGetIdentFrom (MQ_CTX const ctx)
 get the MqConfigS::identFrom
 
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
 
bool MqConfigGetIsString (MQ_CTX const ctx)
 does the context object is using the string-mode ?
 
MK_STRN MqConfigGetName (MQ_CTXN const ctx)
 get the name of the context object
 
MK_STRN MqConfigGetPrefix (MQ_CTXN const ctx)
 get the MqConfigS::prefix
 
MK_STRN MqConfigGetPostfix (MQ_CTXN const ctx)
 get the MqConfigS::postfix
 
MK_STRN MqConfigGetStorage (MQ_CTXN const ctx)
 get the storage of the context object
 
MK_I32 MqConfigGetBuffersize (MQ_CTXN const ctx)
 get the minimum of the read/send buffersize of the socket
 
MK_I32 MqConfigGetPkgsize (MQ_CTXN const ctx)
 get the maximun size of a BDY package
 
MK_TIME_T MqConfigGetTimeout (MQ_CTXN const ctx)
 get the timeout value of the context object
 
MK_STRN MqConfigGetIoUds (MQ_CTXN const ctx)
 return the MqIoUdsConfigS
 
MQ_EXTERN 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
 
MQ_EXTERN enum MkErrorE MqConfigGetIoTcpL (MQ_CTX const ctx, MK_BFL *vals_out)
 get the configuration-data of the tcp-client-server-link as MkBufferListC
 
MQ_SOCK_HDL MqConfigGetIoPipe (MQ_CTX const ctx)
 return the MqIoPipeConfigS
 
enum MqStartE MqConfigGetStartAs (MQ_CTX const ctx)
 return the MqConfigS::startAs value
 
enum MqStatusIsEF MqConfigGetStatusIs (MQ_CTX const ctx)
 return the MqContextS::statusIs value
 
MQ_EXTERN config_tMqConfigGetConfigFile (MQ_CTX const ctx)
 get the config-file handle used for libconfig API funtions
 
MQ_EXTERN config_setting_tMqConfigGetConfigRoot (MQ_CTX const ctx)
 get the config-root handle used for libconfig API funtions
 
MQ_EXTERN 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

MQ_EXTERN MK_I32 MqConfigGetBuffersizeP (MQ_CTXN const ctx)
 Non-inline replacement for MqConfigGetBuffersize
 
MQ_EXTERN enum MqIdentE MqConfigGetIdentFromP (MQ_CTX const ctx)
 Non-inline replacement for MqConfigGetIdentFrom
 
MQ_EXTERN MQ_SOCK_HDL MqConfigGetIoPipeP (MQ_CTX const ctx)
 Non-inline replacement for MqConfigGetIoPipe
 
MQ_EXTERN MK_STRN MqConfigGetIoUdsP (MQ_CTXN const ctx)
 Non-inline replacement for MqConfigGetIoUds
 
MQ_EXTERN MK_BOOL MqConfigGetIsParentP (MQ_CTX const ctx)
 Non-inline replacement for MqConfigGetIsParent
 
MQ_EXTERN MK_BOOL MqConfigGetIsServerP (MQ_CTX const ctx)
 Non-inline replacement for MqConfigGetIsServer
 
MQ_EXTERN MK_BOOL MqConfigGetIsStringP (MQ_CTX const ctx)
 Non-inline replacement for MqConfigGetIsString
 
MQ_EXTERN MK_STRN MqConfigGetNameP (MQ_CTXN const ctx)
 Non-inline replacement for MqConfigGetName
 
MQ_EXTERN MK_I32 MqConfigGetPkgsizeP (MQ_CTXN const ctx)
 Non-inline replacement for MqConfigGetPkgsize
 
MQ_EXTERN MK_STRN MqConfigGetPostfixP (MQ_CTXN const ctx)
 Non-inline replacement for MqConfigGetPostfix
 
MQ_EXTERN MK_STRN MqConfigGetPrefixP (MQ_CTXN const ctx)
 Non-inline replacement for MqConfigGetPrefix
 
MQ_EXTERN enum MqStartE MqConfigGetStartAsP (MQ_CTX const ctx)
 Non-inline replacement for MqConfigGetStartAs
 
MQ_EXTERN enum MqStatusIsEF MqConfigGetStatusIsP (MQ_CTX const ctx)
 Non-inline replacement for MqConfigGetStatusIs
 
MQ_EXTERN MK_STRN MqConfigGetStorageP (MQ_CTXN const ctx)
 Non-inline replacement for MqConfigGetStorage
 
MQ_EXTERN 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)
 

MqContextC - MqContextC_ConfigApi_Get_C_API - overload

#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(...)
 

Detailed Description

MqContextC - various function to 'get' the configuration-data from a context

Macro Definition Documentation

◆ MQ_GET_MASTER

#define MQ_GET_MASTER ( ctx)
Value:
(MQ_IS_SLAVE(ctx) ? ctx->config.master : ctx)
#define MQ_IS_SLAVE(ctx)

Definition at line 2414 of file LibMqMsgque_mq.h.

◆ MQ_GET_PARENT

#define MQ_GET_PARENT ( ctx)
Value:
(MQ_IS_CHILD(ctx) ? ctx->link.ctxIdP : ctx)
#define MQ_IS_CHILD(ctx)

Definition at line 2413 of file LibMqMsgque_mq.h.

◆ MQ_IS_CHILD

#define MQ_IS_CHILD ( ctx)
Value:
((ctx)->config.parent != NULL)

Definition at line 2407 of file LibMqMsgque_mq.h.

◆ MQ_IS_CLIENT

#define MQ_IS_CLIENT ( ctx)
Value:
(ctx->setup.isServer == false)

Definition at line 2405 of file LibMqMsgque_mq.h.

◆ MQ_IS_CLIENT_PARENT

#define MQ_IS_CLIENT_PARENT ( ctx)
Value:
(MQ_IS_CLIENT(ctx) && MQ_IS_PARENT(ctx))
#define MQ_IS_PARENT(ctx)
#define MQ_IS_CLIENT(ctx)

Definition at line 2406 of file LibMqMsgque_mq.h.

◆ MQ_IS_LOOPBACK

#define MQ_IS_LOOPBACK ( ctx)
Value:
((ctx)->config.io.com == MQ_IO_LOOP)
@ MQ_IO_LOOP
using pipe socket as stdin and stdout

Definition at line 2411 of file LibMqMsgque_mq.h.

◆ MQ_IS_MASTER

#define MQ_IS_MASTER ( ctx)
Value:
((ctx)->config.master == NULL)

Definition at line 2410 of file LibMqMsgque_mq.h.

◆ MQ_IS_PARENT

#define MQ_IS_PARENT ( ctx)
Value:
((ctx)->config.parent == NULL)

Definition at line 2408 of file LibMqMsgque_mq.h.

◆ MQ_IS_SERVER

#define MQ_IS_SERVER ( ctx)
Value:
(ctx->setup.isServer == true)

extract boolean information from context

Definition at line 2403 of file LibMqMsgque_mq.h.

◆ MQ_IS_SERVER_PARENT

#define MQ_IS_SERVER_PARENT ( ctx)
Value:
(MQ_IS_SERVER(ctx) && MQ_IS_PARENT(ctx))
#define MQ_IS_SERVER(ctx)
extract boolean information from context

Definition at line 2404 of file LibMqMsgque_mq.h.

◆ MQ_IS_SLAVE

#define MQ_IS_SLAVE ( ctx)
Value:
((ctx)->config.master != NULL)

Definition at line 2409 of file LibMqMsgque_mq.h.

◆ MqConfigGetIoTcp_C

#define MqConfigGetIoTcp_C ( ...)
Value:
if (MkErrorCheckI(MqConfigGetIoTcp(__VA_ARGS__)))
MQ_EXTERN 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 …

Definition at line 77 of file msgque_overload_mq.h.

◆ MqConfigGetIoTcp_E

#define MqConfigGetIoTcp_E ( ...)
Value:
MkErrorCheck(MqConfigGetIoTcp(__VA_ARGS__))

Definition at line 76 of file msgque_overload_mq.h.

◆ MqConfigGetIoTcpL_C

#define MqConfigGetIoTcpL_C ( ...)
Value:
if (MkErrorCheckI(MqConfigGetIoTcpL(__VA_ARGS__)))
MQ_EXTERN enum MkErrorE MqConfigGetIoTcpL(MQ_CTX const ctx, MK_BFL *vals_out)
get the configuration-data of the tcp-client-server-link as MkBufferListC …

Definition at line 66 of file msgque_overload_mq.h.

◆ MqConfigGetIoTcpL_E

#define MqConfigGetIoTcpL_E ( ...)
Value:
MkErrorCheck(MqConfigGetIoTcpL(__VA_ARGS__))

Definition at line 65 of file msgque_overload_mq.h.

◆ MqConfigGetIoTcpL_e

#define MqConfigGetIoTcpL_e ( ...)
Value:
#define MK_EMBEDDED(type, call,...)

Definition at line 67 of file msgque_overload_mq.h.

◆ MqConfigSetConfigFile

#define MqConfigSetConfigFile ( ...)
Value:
#define MK_RT_CALL
MQ_EXTERN 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

Definition at line 71 of file msgque_overload_mq.h.

◆ MqConfigSetConfigFile_C

#define MqConfigSetConfigFile_C ( ...)
Value:
if (MkErrorCheckI(MqConfigSetConfigFile(__VA_ARGS__)))
#define MqConfigSetConfigFile(...)

Definition at line 73 of file msgque_overload_mq.h.

◆ MqConfigSetConfigFile_E

#define MqConfigSetConfigFile_E ( ...)
Value:
MkErrorCheck(MqConfigSetConfigFile(__VA_ARGS__))

Definition at line 72 of file msgque_overload_mq.h.

◆ MqConfigSetConfigFile_NULL

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

Definition at line 70 of file msgque_overload_mq.h.

Function Documentation

◆ MqConfigGetBuffersize()

MK_I32 MqConfigGetBuffersize ( MQ_CTXN const ctx)
inline

get the minimum of the read/send buffersize of the socket

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the context.config.buffersize(R/S) value

Definition at line 8367 of file LibMqMsgque_mq.h.

8369 {
8370 MK_INSTANCE_HDL(ctx);
8371 return (ctx)->config.io.buffersize;
8372}
#define MK_INSTANCE_HDL(x)

◆ MqConfigGetBuffersizeP()

MQ_EXTERN MK_I32 MqConfigGetBuffersizeP ( MQ_CTXN const ctx)

Non-inline replacement for MqConfigGetBuffersize

◆ MqConfigGetConfigFile()

MQ_EXTERN config_t * MqConfigGetConfigFile ( MQ_CTX const ctx)

get the config-file handle used for libconfig API funtions

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the MqConfigS::cfg value or MK_NULL if no config-file is available.

◆ MqConfigGetConfigRoot()

MQ_EXTERN 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.

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the MqConfigS::rootH value or MK_NULL if no config-root is available.

◆ MqConfigGetIdentFrom()

enum MqIdentE MqConfigGetIdentFrom ( MQ_CTX const ctx)
inline

get the MqConfigS::identFrom

Parameters
[in]ctxthe MqContextS instance to work on
Returns
prefix or factory

Definition at line 8280 of file LibMqMsgque_mq.h.

8282 {
8283 MK_INSTANCE_HDL(ctx);
8284 return ctx->config.identFrom;
8285}

◆ MqConfigGetIdentFromP()

MQ_EXTERN enum MqIdentE MqConfigGetIdentFromP ( MQ_CTX const ctx)

Non-inline replacement for MqConfigGetIdentFrom

◆ MqConfigGetIoPipe()

MQ_SOCK_HDL MqConfigGetIoPipe ( MQ_CTX const ctx)
inline

return the MqIoPipeConfigS

Parameters
[in]ctxthe MqContextS instance to work on

Definition at line 8470 of file LibMqMsgque_mq.h.

8472 {
8473 MK_INSTANCE_HDL(ctx);
8474 return ctx->config.io.pipe.hdl;
8475}

◆ MqConfigGetIoPipeP()

MQ_EXTERN MQ_SOCK_HDL MqConfigGetIoPipeP ( MQ_CTX const ctx)

Non-inline replacement for MqConfigGetIoPipe

◆ MqConfigGetIoTcp()

MQ_EXTERN 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

Parameters
[in]ctxthe MqContextS instance to work on
[out]host_outclient: name of the remote interface (default: localhost)
server: name of the local interface (default: listen on all interfaces)
[out]port_outclient: name of the remote port
server: name of the local port
[out]myhost_outclient: name of the local interface
[out]myport_outclient: name of the local port
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Attention
  • if the config-value is not defined… the out-value will be set to MK_NULL
  • if the the out-value is MK_NULL … nothing will be done

◆ MqConfigGetIoTcpL()

MQ_EXTERN enum MkErrorE MqConfigGetIoTcpL ( MQ_CTX const ctx,
MK_BFL * vals_out )

get the configuration-data of the tcp-client-server-link as MkBufferListC

host
clientname of the remote interface (default: localhost)
servername of the local interface (default: listen on all interfaces
port
clientname of the remote port
servername of the local port
myhostname of the local interface
myportname of the local port
Parameters
[in]ctxthe MqContextS instance to work on
[out]vals_outthe contain host, port, myhost and myport data
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Attention
the vals_out is owned by libmqmsgque ... do not free !

◆ MqConfigGetIoUds()

MK_STRN MqConfigGetIoUds ( MQ_CTXN const ctx)
inline

return the MqIoUdsConfigS

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the context.config.io.uds.file value

Definition at line 8404 of file LibMqMsgque_mq.h.

8406 {
8407 MK_INSTANCE_HDL(ctx);
8408 return MkSysStringGetNoNULL(ctx->config.io.uds.file);
8409}
MK_STRN MkSysStringGetNoNULL(MK_STRN str)

◆ MqConfigGetIoUdsP()

MQ_EXTERN MK_STRN MqConfigGetIoUdsP ( MQ_CTXN const ctx)

Non-inline replacement for MqConfigGetIoUds

◆ MqConfigGetIsParent()

bool MqConfigGetIsParent ( MQ_CTX const ctx)
inline

does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is MK_NULL

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the (ctx->config.parent == NULL) value

Definition at line 8292 of file LibMqMsgque_mq.h.

8294 {
8295 MK_INSTANCE_HDL(ctx);
8296 return MQ_IS_PARENT(ctx);
8297}

◆ MqConfigGetIsParentP()

MQ_EXTERN MK_BOOL MqConfigGetIsParentP ( MQ_CTX const ctx)

Non-inline replacement for MqConfigGetIsParent

◆ MqConfigGetIsServer()

bool MqConfigGetIsServer ( MQ_CTX const ctx)
inline

does the context object is a server ?

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the (ctx->setup.isServer == true) value

Definition at line 8269 of file LibMqMsgque_mq.h.

8271 {
8272 MK_INSTANCE_HDL(ctx);
8273 return MQ_IS_SERVER(ctx);
8274}

◆ MqConfigGetIsServerP()

MQ_EXTERN MK_BOOL MqConfigGetIsServerP ( MQ_CTX const ctx)

Non-inline replacement for MqConfigGetIsServer

◆ MqConfigGetIsString()

bool MqConfigGetIsString ( MQ_CTX const ctx)
inline

does the context object is using the string-mode ?

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the (ctx->config.native == 'S') value

Definition at line 8303 of file LibMqMsgque_mq.h.

8305 {
8306 MK_INSTANCE_HDL(ctx);
8307 return (ctx->config.native == MK_NATIVE_IS_STRING);
8308}
MK_NATIVE_IS_STRING

◆ MqConfigGetIsStringP()

MQ_EXTERN MK_BOOL MqConfigGetIsStringP ( MQ_CTX const ctx)

Non-inline replacement for MqConfigGetIsString

◆ MqConfigGetName()

MK_STRN MqConfigGetName ( MQ_CTXN const ctx)
inline

get the name of the context object

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the context.config.name value
Attention
the string is owned by libmqmsgque -> do not free !!

Definition at line 8316 of file LibMqMsgque_mq.h.

8318 {
8319 MK_INSTANCE_HDL(ctx);
8320 return MkSysStringGetNoNULL((ctx)->config.dispname);
8321}

◆ MqConfigGetNameP()

MQ_EXTERN MK_STRN MqConfigGetNameP ( MQ_CTXN const ctx)

Non-inline replacement for MqConfigGetName

◆ MqConfigGetPkgsize()

MK_I32 MqConfigGetPkgsize ( MQ_CTXN const ctx)
inline

get the maximun size of a BDY package

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the context.config.pkgsize(R/S) value

Definition at line 8379 of file LibMqMsgque_mq.h.

8381 {
8382 MK_INSTANCE_HDL(ctx);
8383 return (ctx)->config.io.pkgsize;
8384}

◆ MqConfigGetPkgsizeP()

MQ_EXTERN MK_I32 MqConfigGetPkgsizeP ( MQ_CTXN const ctx)

Non-inline replacement for MqConfigGetPkgsize

◆ MqConfigGetPostfix()

MK_STRN MqConfigGetPostfix ( MQ_CTXN const ctx)
inline

get the MqConfigS::postfix

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the value requested
Attention
the string is owned by libmqmsgque -> do not free !!

Definition at line 8342 of file LibMqMsgque_mq.h.

8344 {
8345 MK_INSTANCE_HDL(ctx);
8346 return MkSysStringGetNoNULL((ctx)->config.postfix);
8347}

◆ MqConfigGetPostfixP()

MQ_EXTERN MK_STRN MqConfigGetPostfixP ( MQ_CTXN const ctx)

Non-inline replacement for MqConfigGetPostfix

◆ MqConfigGetPrefix()

MK_STRN MqConfigGetPrefix ( MQ_CTXN const ctx)
inline

get the MqConfigS::prefix

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the value requested
Attention
the string is owned by libmqmsgque -> do not free !!

Definition at line 8329 of file LibMqMsgque_mq.h.

8331 {
8332 MK_INSTANCE_HDL(ctx);
8333 return MkSysStringGetNoNULL((ctx)->config.prefix);
8334}

◆ MqConfigGetPrefixP()

MQ_EXTERN MK_STRN MqConfigGetPrefixP ( MQ_CTXN const ctx)

Non-inline replacement for MqConfigGetPrefix

◆ MqConfigGetStartAs()

enum MqStartE MqConfigGetStartAs ( MQ_CTX const ctx)
inline

return the MqConfigS::startAs value

Definition at line 8479 of file LibMqMsgque_mq.h.

8481 {
8482 MK_INSTANCE_HDL(ctx);
8483 return ctx->config.startAs;
8484}

◆ MqConfigGetStartAsP()

MQ_EXTERN enum MqStartE MqConfigGetStartAsP ( MQ_CTX const ctx)

Non-inline replacement for MqConfigGetStartAs

◆ MqConfigGetStatusIs()

enum MqStatusIsEF MqConfigGetStatusIs ( MQ_CTX const ctx)
inline

return the MqContextS::statusIs value

Definition at line 8488 of file LibMqMsgque_mq.h.

8490 {
8491 MK_INSTANCE_HDL(ctx);
8492 return ctx->statusIs;
8493}

◆ MqConfigGetStatusIsP()

MQ_EXTERN enum MqStatusIsEF MqConfigGetStatusIsP ( MQ_CTX const ctx)

Non-inline replacement for MqConfigGetStatusIs

◆ MqConfigGetStorage()

MK_STRN MqConfigGetStorage ( MQ_CTXN const ctx)
inline

get the storage of the context object

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the context.config.storage value
Attention
the string is owned by libmqmsgque -> do not free !!

Definition at line 8355 of file LibMqMsgque_mq.h.

8357 {
8358 MK_INSTANCE_HDL(ctx);
8359 return MkSysStringGetNoNULL((ctx)->config.storage);
8360}

◆ MqConfigGetStorageP()

MQ_EXTERN MK_STRN MqConfigGetStorageP ( MQ_CTXN const ctx)

Non-inline replacement for MqConfigGetStorage

◆ MqConfigGetTimeout()

MK_TIME_T MqConfigGetTimeout ( MQ_CTXN const ctx)
inline

get the timeout value of the context object

Parameters
[in]ctxthe MqContextS instance to work on
Returns
the context.config.timeout value

Definition at line 8391 of file LibMqMsgque_mq.h.

8393 {
8394 MK_INSTANCE_HDL(ctx);
8395 return (ctx)->config.io.timeout;
8396}

◆ MqConfigGetTimeoutP()

MQ_EXTERN MK_TIME_T MqConfigGetTimeoutP ( MQ_CTXN const ctx)

Non-inline replacement for MqConfigGetTimeout

◆ MqConfigSetConfigFile_RT()

MQ_EXTERN 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

Read more at MqConfigS::cfg

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]filenamename of the config-file for input
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk