Loading...
Searching...
No Matches
MqContextC_ConfigApi_Set_C_API

MqContextC - various function to 'set' the configuration-data in a contextMore...

+ Collaboration diagram for MqContextC_ConfigApi_Set_C_API:

Functions

MQ_EXTERN void libmqmsgque::MqConfigSetName_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_STRN data)
 set the libmqmsgque::MqConfigS::dispname value and cleanup old value
 
MQ_EXTERN void libmqmsgque::MqConfigSetPrefixWithNoLock_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_STRN data)
 set the libmqmsgque::MqConfigS::prefix with low-priority
 
MQ_EXTERN void libmqmsgque::MqConfigSetPrefix_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_STRN data)
 set the server-part (1) of the application-identifer libmqmsgque::MqConfigS::dispname
 
MQ_EXTERN void libmqmsgque::MqConfigSetPostfix_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_STRN data)
 set the client-part (2) of the application-identifer libmqmsgque::MqConfigS::dispname
 
MQ_EXTERN void libmqmsgque::MqConfigSetStorage_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_STRN data)
 set the Storage value and cleanup old value
 
MQ_EXTERN void libmqmsgque::MqConfigSetAllTimeout (MQ_CTX const ctx, MK_TIME_T data) MK_ATTR_HDL
 set the libmqmsgque::MqIoConfigS::timeout value
 
MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetAllDebug_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_I32 const data)
 set the MkRuntimeS::debug value
 
MQ_EXTERN void libmqmsgque::MqConfigSetIsString (MQ_CTX const ctx, bool data) MK_ATTR_HDL
 set the libmqmsgque::MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian
 
MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetStartAs (MQ_CTX const ctx, enum MqStartE data) MK_ATTR_HDL
 set the libmqmsgque::MqConfigS::startAs value
 
MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetStartAsString (MQ_CTX const ctx, MK_STRN data) MK_ATTR_HDL
 set the libmqmsgque::MqConfigS::startAs value using string default, thread, fork or spawn
 
MQ_EXTERN bool libmqmsgque::MqConfigCheckStartAs (MQ_CTX const ctx, enum MqStartE data) MK_ATTR_HDL
 check if libmqmsgque::MqConfigS::startAs can be set to data
 
MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetIoUds_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_STRN file)
 configure a context to use a uds-client-server-link
 
MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetIoTcp_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_STRN host, MK_STRN port, MK_STRN myhost, MK_STRN myport)
 configure a context to use a tcp-client-server-link
 
MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetIoTcpL_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_BFL const vals)
 configure a context to use a tcp-client-server-link
 
MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetIoPipe_RT (MK_RT const mkrt, MQ_CTX const ctx, MQ_SOCK_HDL fh)
 set the pipe configuration data …
 
MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetDaemon_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_STRN pidfile)
 start the server-context as daemon …
 
MQ_EXTERN void libmqmsgque::MqConfigSetBuffersize (MQ_CTX const ctx, MK_I32 data) MK_ATTR_HDL
 set the libmqmsgque::MqIoConfigS::buffersize value
 
MQ_EXTERN void libmqmsgque::MqConfigSetPkgsize (MQ_CTX const ctx, MK_I32 data) MK_ATTR_HDL
 set the libmqmsgque::MqIoConfigS::pkgsize value
 
MQ_EXTERN void libmqmsgque::MqConfigSetTimeout (MQ_CTX const ctx, MK_TIME_T data) MK_ATTR_HDL
 set the libmqmsgque::MqIoConfigS::timeout value
 
MQ_EXTERN void libmqmsgque::MqConfigSetIsServer (MQ_CTX const ctx, bool data) MK_ATTR_HDL
 set the libmqmsgque::MqSetupS::isServer value
 
MQ_EXTERN void libmqmsgque::MqConfigSetIdentFrom (MQ_CTX const ctx, enum MqIdentE data) MK_ATTR_HDL
 set the libmqmsgque::MqConfigS::identFrom value
 
MQ_EXTERN void libmqmsgque::MqConfigSetIgnoreExit (MQ_CTX const ctx, bool data) MK_ATTR_HDL
 set the libmqmsgque::MqSetupS::ignoreExit value
 

MqContextC - MqContextC_ConfigApi_Set_C_API - overload

#define MqConfigSetAllDebug_NULL(...)
 
#define MqConfigSetAllDebug(...)
 
#define MqConfigSetAllDebug_E(...)
 
#define MqConfigSetAllDebug_C(...)
 
#define MqConfigSetDaemon_NULL(...)
 
#define MqConfigSetDaemon(...)
 
#define MqConfigSetDaemon_E(...)
 
#define MqConfigSetDaemon_C(...)
 
#define MqConfigSetIoPipe_NULL(...)
 
#define MqConfigSetIoPipe(...)
 
#define MqConfigSetIoPipe_E(...)
 
#define MqConfigSetIoPipe_C(...)
 
#define MqConfigSetIoTcp_NULL(...)
 
#define MqConfigSetIoTcp(...)
 
#define MqConfigSetIoTcp_4(ctx, host, port, myhost)
 
#define MqConfigSetIoTcp_3(ctx, host, port)
 
#define MqConfigSetIoTcp_2(ctx, host)
 
#define MqConfigSetIoTcp_1(ctx)
 
#define MqConfigSetIoTcp_E(...)
 
#define MqConfigSetIoTcp_C(...)
 
#define MqConfigSetIoTcpL_NULL(...)
 
#define MqConfigSetIoTcpL(...)
 
#define MqConfigSetIoTcpL_E(...)
 
#define MqConfigSetIoTcpL_C(...)
 
#define MqConfigSetIoUds_NULL(...)
 
#define MqConfigSetIoUds(...)
 
#define MqConfigSetIoUds_E(...)
 
#define MqConfigSetIoUds_C(...)
 
#define MqConfigSetName_NULL(...)
 
#define MqConfigSetName(...)
 
#define MqConfigSetPostfix_NULL(...)
 
#define MqConfigSetPostfix(...)
 
#define MqConfigSetPrefix_NULL(...)
 
#define MqConfigSetPrefix(...)
 
#define MqConfigSetPrefixWithNoLock_NULL(...)
 
#define MqConfigSetPrefixWithNoLock(...)
 
#define MqConfigSetStartAs_E(...)
 
#define MqConfigSetStartAs_C(...)
 
#define MqConfigSetStartAsString_E(...)
 
#define MqConfigSetStartAsString_C(...)
 
#define MqConfigSetStorage_NULL(...)
 
#define MqConfigSetStorage(...)
 

Detailed Description

MqContextC - various function to 'set' the configuration-data in a context

Macro Definition Documentation

◆ MqConfigSetAllDebug

#define MqConfigSetAllDebug ( ...)
Value:
MqConfigSetAllDebug_RT(MK_RT_CALL __VA_ARGS__)
#define MK_RT_CALL

Definition at line 120 of file msgque_overload_mq.h.

◆ MqConfigSetAllDebug_C

#define MqConfigSetAllDebug_C ( ...)
Value:
if (MkErrorCheckI(MqConfigSetAllDebug(__VA_ARGS__)))
#define MqConfigSetAllDebug(...)

Definition at line 122 of file msgque_overload_mq.h.

◆ MqConfigSetAllDebug_E

#define MqConfigSetAllDebug_E ( ...)
Value:
MkErrorCheck(MqConfigSetAllDebug(__VA_ARGS__))

Definition at line 121 of file msgque_overload_mq.h.

◆ MqConfigSetAllDebug_NULL

#define MqConfigSetAllDebug_NULL ( ...)
Value:
MqConfigSetAllDebug_RT(MK_RT_CALL_NULL __VA_ARGS__)
#define MK_RT_CALL_NULL

Definition at line 119 of file msgque_overload_mq.h.

◆ MqConfigSetDaemon

#define MqConfigSetDaemon ( ...)
Value:
MqConfigSetDaemon_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 124 of file msgque_overload_mq.h.

◆ MqConfigSetDaemon_C

#define MqConfigSetDaemon_C ( ...)
Value:
if (MkErrorCheckI(MqConfigSetDaemon(__VA_ARGS__)))
#define MqConfigSetDaemon(...)

Definition at line 126 of file msgque_overload_mq.h.

◆ MqConfigSetDaemon_E

#define MqConfigSetDaemon_E ( ...)
Value:
MkErrorCheck(MqConfigSetDaemon(__VA_ARGS__))

Definition at line 125 of file msgque_overload_mq.h.

◆ MqConfigSetDaemon_NULL

#define MqConfigSetDaemon_NULL ( ...)
Value:
MqConfigSetDaemon_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 123 of file msgque_overload_mq.h.

◆ MqConfigSetIoPipe

#define MqConfigSetIoPipe ( ...)
Value:
MqConfigSetIoPipe_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 128 of file msgque_overload_mq.h.

◆ MqConfigSetIoPipe_C

#define MqConfigSetIoPipe_C ( ...)
Value:
if (MkErrorCheckI(MqConfigSetIoPipe(__VA_ARGS__)))
#define MqConfigSetIoPipe(...)

Definition at line 130 of file msgque_overload_mq.h.

◆ MqConfigSetIoPipe_E

#define MqConfigSetIoPipe_E ( ...)
Value:
MkErrorCheck(MqConfigSetIoPipe(__VA_ARGS__))

Definition at line 129 of file msgque_overload_mq.h.

◆ MqConfigSetIoPipe_NULL

#define MqConfigSetIoPipe_NULL ( ...)
Value:
MqConfigSetIoPipe_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 127 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcp

#define MqConfigSetIoTcp ( ...)
Value:
MqConfigSetIoTcp_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 132 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcp_1

#define MqConfigSetIoTcp_1 ( ctx)
Value:
MqConfigSetIoTcp(ctx,NULL,NULL,NULL,NULL)
#define MqConfigSetIoTcp(...)

Definition at line 136 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcp_2

#define MqConfigSetIoTcp_2 ( ctx,
host )
Value:
MqConfigSetIoTcp(ctx,host,NULL,NULL,NULL)

Definition at line 135 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcp_3

#define MqConfigSetIoTcp_3 ( ctx,
host,
port )
Value:
MqConfigSetIoTcp(ctx,host,port,NULL,NULL)

Definition at line 134 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcp_4

#define MqConfigSetIoTcp_4 ( ctx,
host,
port,
myhost )
Value:
MqConfigSetIoTcp(ctx,host,port,myhost,NULL)

Definition at line 133 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcp_C

#define MqConfigSetIoTcp_C ( ...)
Value:
if (MkErrorCheckI(MqConfigSetIoTcp(__VA_ARGS__)))

Definition at line 138 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcp_E

#define MqConfigSetIoTcp_E ( ...)
Value:
MkErrorCheck(MqConfigSetIoTcp(__VA_ARGS__))

Definition at line 137 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcp_NULL

#define MqConfigSetIoTcp_NULL ( ...)
Value:
MqConfigSetIoTcp_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 131 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcpL

#define MqConfigSetIoTcpL ( ...)
Value:
MqConfigSetIoTcpL_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 140 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcpL_C

#define MqConfigSetIoTcpL_C ( ...)
Value:
if (MkErrorCheckI(MqConfigSetIoTcpL(__VA_ARGS__)))
#define MqConfigSetIoTcpL(...)

Definition at line 142 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcpL_E

#define MqConfigSetIoTcpL_E ( ...)
Value:
MkErrorCheck(MqConfigSetIoTcpL(__VA_ARGS__))

Definition at line 141 of file msgque_overload_mq.h.

◆ MqConfigSetIoTcpL_NULL

#define MqConfigSetIoTcpL_NULL ( ...)
Value:
MqConfigSetIoTcpL_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 139 of file msgque_overload_mq.h.

◆ MqConfigSetIoUds

#define MqConfigSetIoUds ( ...)
Value:
MqConfigSetIoUds_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 144 of file msgque_overload_mq.h.

◆ MqConfigSetIoUds_C

#define MqConfigSetIoUds_C ( ...)
Value:
if (MkErrorCheckI(MqConfigSetIoUds(__VA_ARGS__)))
#define MqConfigSetIoUds(...)

Definition at line 146 of file msgque_overload_mq.h.

◆ MqConfigSetIoUds_E

#define MqConfigSetIoUds_E ( ...)
Value:
MkErrorCheck(MqConfigSetIoUds(__VA_ARGS__))

Definition at line 145 of file msgque_overload_mq.h.

◆ MqConfigSetIoUds_NULL

#define MqConfigSetIoUds_NULL ( ...)
Value:
MqConfigSetIoUds_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 143 of file msgque_overload_mq.h.

◆ MqConfigSetName

#define MqConfigSetName ( ...)
Value:
MqConfigSetName_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 148 of file msgque_overload_mq.h.

◆ MqConfigSetName_NULL

#define MqConfigSetName_NULL ( ...)
Value:
MqConfigSetName_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 147 of file msgque_overload_mq.h.

◆ MqConfigSetPostfix

#define MqConfigSetPostfix ( ...)
Value:
MqConfigSetPostfix_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 150 of file msgque_overload_mq.h.

◆ MqConfigSetPostfix_NULL

#define MqConfigSetPostfix_NULL ( ...)
Value:
MqConfigSetPostfix_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 149 of file msgque_overload_mq.h.

◆ MqConfigSetPrefix

#define MqConfigSetPrefix ( ...)
Value:
MqConfigSetPrefix_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 152 of file msgque_overload_mq.h.

◆ MqConfigSetPrefix_NULL

#define MqConfigSetPrefix_NULL ( ...)
Value:
MqConfigSetPrefix_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 151 of file msgque_overload_mq.h.

◆ MqConfigSetPrefixWithNoLock

#define MqConfigSetPrefixWithNoLock ( ...)
Value:
MqConfigSetPrefixWithNoLock_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 154 of file msgque_overload_mq.h.

◆ MqConfigSetPrefixWithNoLock_NULL

#define MqConfigSetPrefixWithNoLock_NULL ( ...)
Value:
MqConfigSetPrefixWithNoLock_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 153 of file msgque_overload_mq.h.

◆ MqConfigSetStartAs_C

#define MqConfigSetStartAs_C ( ...)
Value:
if (MkErrorCheckI(MqConfigSetStartAs(__VA_ARGS__)))

Definition at line 156 of file msgque_overload_mq.h.

◆ MqConfigSetStartAs_E

#define MqConfigSetStartAs_E ( ...)
Value:
MkErrorCheck(MqConfigSetStartAs(__VA_ARGS__))

Definition at line 155 of file msgque_overload_mq.h.

◆ MqConfigSetStartAsString_C

#define MqConfigSetStartAsString_C ( ...)
Value:
if (MkErrorCheckI(MqConfigSetStartAsString(__VA_ARGS__)))

Definition at line 158 of file msgque_overload_mq.h.

◆ MqConfigSetStartAsString_E

#define MqConfigSetStartAsString_E ( ...)
Value:
MkErrorCheck(MqConfigSetStartAsString(__VA_ARGS__))

Definition at line 157 of file msgque_overload_mq.h.

◆ MqConfigSetStorage

#define MqConfigSetStorage ( ...)
Value:
MqConfigSetStorage_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 160 of file msgque_overload_mq.h.

◆ MqConfigSetStorage_NULL

#define MqConfigSetStorage_NULL ( ...)
Value:
MqConfigSetStorage_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 159 of file msgque_overload_mq.h.

Function Documentation

◆ MqConfigCheckStartAs()

MQ_EXTERN bool libmqmsgque::MqConfigCheckStartAs ( MQ_CTX const ctx,
enum MqStartE data )

check if libmqmsgque::MqConfigS::startAs can be set to data

+ Here is the caller graph for this function:

◆ MqConfigSetAllDebug_RT()

MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetAllDebug_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_I32 const data )

set the MkRuntimeS::debug value

set all childs and all slaves and the link target parter… too

+ Here is the caller graph for this function:

◆ MqConfigSetAllTimeout()

MQ_EXTERN void libmqmsgque::MqConfigSetAllTimeout ( MQ_CTX const ctx,
MK_TIME_T data )

set the libmqmsgque::MqIoConfigS::timeout value

set all childs and all slaves too

+ Here is the caller graph for this function:

◆ MqConfigSetBuffersize()

MQ_EXTERN void libmqmsgque::MqConfigSetBuffersize ( MQ_CTX const ctx,
MK_I32 data )

set the libmqmsgque::MqIoConfigS::buffersize value

+ Here is the caller graph for this function:

◆ MqConfigSetDaemon_RT()

MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetDaemon_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_STRN pidfile )

start the server-context as daemon …

A daemon is a server-process without any link to the parent-process. A daemon-process has closed all default IO (e.g stdout, stdin, stderr) and forked into the background. (default: no daemon)

MQ_CTX const ctx,
MK_STRN pidfile
) {
if (MQ_IS_SERVER(ctx)) {
if (MqContextCT_X(ctx)->ignoreFork == true) {
return MkErrorDbV_1_XS (MK_ERROR_OPTION_FORBIDDEN, "--daemon", "current");
} else {
MkErrorCheck (MkSysDaemonize(MkOBJ(ctx), pidfile));
}
} else {
return MkErrorDbV_1_XS (MK_ERROR_OPTION_FORBIDDEN, "--daemon", "client");
}
return MK_OK;
error:
return MkErrorStack_1X(ctx);
}
Attention
this option require the fork system-call and is not compatible with threads.
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]pidfilewrite the PID of the daemon into this file (default: NULL, do not start as daemon)
Exceptions
MkExceptionC→ The default-exception from the Programming-Language-Micro-Kernel (PLMK)
+ Here is the caller graph for this function:

◆ MqConfigSetIdentFrom()

MQ_EXTERN void libmqmsgque::MqConfigSetIdentFrom ( MQ_CTX const ctx,
enum MqIdentE data )

set the libmqmsgque::MqConfigS::identFrom value

+ Here is the caller graph for this function:

◆ MqConfigSetIgnoreExit()

MQ_EXTERN void libmqmsgque::MqConfigSetIgnoreExit ( MQ_CTX const ctx,
bool data )

set the libmqmsgque::MqSetupS::ignoreExit value

+ Here is the caller graph for this function:

◆ MqConfigSetIoPipe_RT()

MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetIoPipe_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MQ_SOCK_HDL fh )

set the pipe configuration data …

This is configuration option is only useful for a (x)inetd setup to use the stdin (socket=0) as send/recv communication socket

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]fhthe name of the known socket
Exceptions
MkExceptionC→ The default-exception from the Programming-Language-Micro-Kernel (PLMK)
+ Here is the caller graph for this function:

◆ MqConfigSetIoTcp_RT()

MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetIoTcp_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_STRN host,
MK_STRN port,
MK_STRN myhost,
MK_STRN myport )

configure a context to use a tcp-client-server-link

Parameters
[in]hostclient: name of the remote interface (default: localhost)
server: name of the local interface (default: listen on all interfaces)
[in]portclient: name of the remote port
server: name of the local port
[in]myhostclient: name of the local interface
[in]myportclient: name of the local port
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
Exceptions
MkExceptionC→ The default-exception from the Programming-Language-Micro-Kernel (PLMK)
+ Here is the caller graph for this function:

◆ MqConfigSetIoTcpL_RT()

MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetIoTcpL_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_BFL const vals )

configure a context to use a tcp-client-server-link

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]valsa list with host, port, myhost, myport
Exceptions
MkExceptionC→ The default-exception from the Programming-Language-Micro-Kernel (PLMK)
+ Here is the caller graph for this function:

◆ MqConfigSetIoUds_RT()

MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetIoUds_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_STRN file )

configure a context to use a uds-client-server-link

The uds-socket (http://en.wikipedia.org/wiki/Unix_domain_socket) is usually 50% faster than a local tcp communication but only available on UNIX.

Parameters
[in]filename of a uds-socket-file (default: MK_NULL)
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
Exceptions
MkExceptionC→ The default-exception from the Programming-Language-Micro-Kernel (PLMK)
+ Here is the caller graph for this function:

◆ MqConfigSetIsServer()

MQ_EXTERN void libmqmsgque::MqConfigSetIsServer ( MQ_CTX const ctx,
bool data )

set the libmqmsgque::MqSetupS::isServer value

+ Here is the caller graph for this function:

◆ MqConfigSetIsString()

MQ_EXTERN void libmqmsgque::MqConfigSetIsString ( MQ_CTX const ctx,
bool data )

set the libmqmsgque::MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian

Attention
only the client can set this option... the server get this option from the client and using this function is ignored.
+ Here is the caller graph for this function:

◆ MqConfigSetName_RT()

MQ_EXTERN void libmqmsgque::MqConfigSetName_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_STRN data )

set the libmqmsgque::MqConfigS::dispname value and cleanup old value

+ Here is the caller graph for this function:

◆ MqConfigSetPkgsize()

MQ_EXTERN void libmqmsgque::MqConfigSetPkgsize ( MQ_CTX const ctx,
MK_I32 data )

set the libmqmsgque::MqIoConfigS::pkgsize value

+ Here is the caller graph for this function:

◆ MqConfigSetPostfix_RT()

MQ_EXTERN void libmqmsgque::MqConfigSetPostfix_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_STRN data )

set the client-part (2) of the application-identifer libmqmsgque::MqConfigS::dispname

The postfix is used for:

  1. libmqmsgque::MqConfigS::dispname initialization

The postfix is initialize with:

  1. an empty string
  2. the ctx.ConfigSetPostfix(MK_STRN data) function
  3. the client postfix at server-startup
  4. the --postfix string option
Attention
if the --name string is explicitly set, then --prefix string and --postfix string have no effect
+ Here is the caller graph for this function:

◆ MqConfigSetPrefix_RT()

MQ_EXTERN void libmqmsgque::MqConfigSetPrefix_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_STRN data )

set the server-part (1) of the application-identifer libmqmsgque::MqConfigS::dispname

The prefix is used for:

  1. libmqmsgque::MqConfigS::dispname initialization
  2. application-identifer if --ident-from prefix|factory is set to prefix (default)
  3. groupname in --config fileName is used as application-identifer

The prefix is initialize with:

  1. the basename of the executable if NO factory is used
  2. the libmqmsgque::MqFactoryS::originalIdent
  3. the ctx.ConfigSetPrefix(MK_STRN data) or the ctx.ConfigSetName(MK_STRN data) function
  4. the --name string OR the --prefix string option
Attention
if the --name string is explicitly set, then --prefix string and --postfix string have no effect
+ Here is the caller graph for this function:

◆ MqConfigSetPrefixWithNoLock_RT()

MQ_EXTERN void libmqmsgque::MqConfigSetPrefixWithNoLock_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_STRN data )

set the libmqmsgque::MqConfigS::prefix with low-priority

The following steps are performed :

  • only set if data is non MK_NULL
  • only set if the libmqmsgque::MqConfigS::bitsprefixLOCK is false
  • after set the RCNs{ConfigS::bits}→prefixLOCK is not set to true
  • after set the RCNs{ConfigS::name} is updated
+ Here is the caller graph for this function:

◆ MqConfigSetStartAs()

MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetStartAs ( MQ_CTX const ctx,
enum MqStartE data )

set the libmqmsgque::MqConfigS::startAs value

+ Here is the caller graph for this function:

◆ MqConfigSetStartAsString()

MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetStartAsString ( MQ_CTX const ctx,
MK_STRN data )

set the libmqmsgque::MqConfigS::startAs value using string default, thread, fork or spawn

+ Here is the caller graph for this function:

◆ MqConfigSetStorage_RT()

MQ_EXTERN void libmqmsgque::MqConfigSetStorage_RT ( MK_RT const mkrt,
MQ_CTX const ctx,
MK_STRN data )

set the Storage value and cleanup old value

+ Here is the caller graph for this function:

◆ MqConfigSetTimeout()

MQ_EXTERN void libmqmsgque::MqConfigSetTimeout ( MQ_CTX const ctx,
MK_TIME_T data )

set the libmqmsgque::MqIoConfigS::timeout value

+ Here is the caller graph for this function: