MqMsgque PACKAGE - initialize the MqContextC startup and/or external-object-link … More...
Functions | |
MQ_EXTERN MK_BFL | libmqmsgque::MqInitResetArg0 (void) |
Reset the process-startup-prefix argument to an empty list … | |
MQ_EXTERN void | libmqmsgque::MqInitSetArg0 (MK_BAC bfl) |
set the process startup-prefix argument to bfl | |
MQ_EXTERN void | libmqmsgque::MqInitSetArg0VA (MK_STRN arg0,...) |
set the process startup-prefix to a args | |
MQ_EXTERN void | libmqmsgque::MqInitSetArg0VAL (MK_STRN arg0, va_list var_list) |
set the process startup-prefix to var_list | |
MQ_EXTERN MK_BFL | libmqmsgque::MqInitGetArg0 (void) |
get the process startup-prefix argument | |
Variables | |
MQ_EXTERN_DATA struct MkBufferListS * | libmqmsgque::MqInitArg0 |
the process-startup-prefix argument … | |
MqMsgque - MqMsgque_Init_C_API - overload | |
#define | MqInitSetArg0_0() |
MqMsgque PACKAGE - initialize the MqContextC startup and/or external-object-link …
#define MqInitSetArg0_0 | ( | ) |
Definition at line 1101 of file msgque_overload_mq.h.
get the process startup-prefix argument
MK_NULL
pointer Reset the process-startup-prefix argument to an empty list …
The startup-prefix have to be the name of the executable, found in the PATH
environment variable, and additional arguments like the script name or the required startup options. The startup-prefix is used for two different purpose:
MqStartAs
"--spawn" command-line option."... @ SELF ..."
with "... @ startup-prefix ..."
at LinkCreate.Every use of this function will free the data of the previous startup-prefix. By default the startup-prefix is set during application startup by ccmqmsgque and have not to be initialized again.
Example from server.cc
→ initialize the startup-prefix with the data read from service-args
void INIT() { SendSTART (); MqMsgque::InitSetArg0 (MkBufferListC {ReadALL()}); SendRETURN (); }
set the process startup-prefix argument to bfl
The startup-prefix is the argument(s) required to start the application… this is minimal the binary-path for binaries (same as as used on command-line) or the interpreter+scriptFile for scripts.
[in] | bfl | the object will be merged into the startup-prefix, afterwords the bfl is empty and can be deleted |
set the process startup-prefix to a args
MK_NULL
item on end to signal… end-of-list set the process startup-prefix to var_list
MQ_EXTERN_DATA struct MkBufferListS* libmqmsgque::MqInitArg0 |
the process-startup-prefix argument …
Definition at line 9410 of file LibMqMsgque_mq.h.