theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ConfigApi_Set_ATL_API

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

+ Collaboration diagram for MqContextC_ConfigApi_Set_ATL_API:

Functions

static OT_ProcRet atlmqmsgque_MqContextC_ConfigCheckStartAs (MqContextC_ARGS)
  Atl: bool [MqContextC::ConfigCheckStartAs $ctx data:MqStartE] C-API
check if MqConfigS::startAs can be set to data
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetAllDebug (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetAllDebug $ctx data:int32 C-API
set the MkRuntimeS::debug value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetAllTimeout (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetAllTimeout $ctx data:MkTimeoutE|int32 C-API
set the MqIoConfigS::timeout value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetBuffersize (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetBuffersize $ctx data:int32 C-API
set the MqIoConfigS::buffersize value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetDaemon (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetDaemon $ctx pidfile:string C-API
start the server-context as daemon …
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIdentFrom (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetIdentFrom $ctx data:MqIdentE C-API
set the MqConfigS::identFrom value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIgnoreExit (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetIgnoreExit $ctx data:bool C-API
set the MqSetupS::ignoreExit value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIoPipe (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetIoPipe $ctx fh:int32 C-API
set the pipe configuration data …
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIoTcp (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetIoTcp $ctx ?host:string="NULL"? ?port:string="NULL"? ?myhost:string="NULL"? ?myport:string="NULL"? C-API
configure a context to use a tcp-client-server-link
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIoTcpL (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetIoTcpL $ctx vals:MkBufferListC C-API
configure a context to use a tcp-client-server-link
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIoUds (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetIoUds $ctx file:string C-API
configure a context to use a uds-client-server-link
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIsServer (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetIsServer $ctx data:bool C-API
set the MqSetupS::isServer value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIsString (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetIsString $ctx data:bool C-API
set the MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetName (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetName $ctx data:string C-API
set the MqConfigS::dispName value and cleanup old value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetPkgsize (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetPkgsize $ctx data:int32 C-API
set the MqIoConfigS::pkgsize value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetPostfix (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetPostfix $ctx data:string C-API
set the client-part (2) of the application-identifer MqConfigS::dispName
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetPrefix (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetPrefix $ctx data:string C-API
set the server-part (1) of the application-identifer MqConfigS::dispName
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetStartAs (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetStartAs $ctx data:MqStartE C-API
set the MqConfigS::startAs value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetStartAsString (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetStartAsString $ctx data:string C-API
set the MqConfigS::startAs value using string default, thread, fork or spawn
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetStorage (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetStorage $ctx data:string C-API
set the Storage value and cleanup old value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetTimeout (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetTimeout $ctx data:MkTimeoutE|int32 C-API
set the MqIoConfigS::timeout value
 

Detailed Description

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

Function Documentation

◆ atlmqmsgque_MqContextC_ConfigCheckStartAs()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigCheckStartAs ( MqContextC_ARGS )
static

Atl: bool [MqContextC::ConfigCheckStartAs $ctx data:MqStartE] C-API
check if MqConfigS::startAs can be set to data

Definition at line 1022 of file MqContextC_atl.c.

1022 {
1025 enum MqStartE data = 0;
1029 goto end;
1030 error:
1032 end:
1034}
#define OT_retObj_SET_BOL(nat)
#define OT_SETUP_ONEARG(d)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_CHECK_ENUM(ename, val)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define ConfigCheckStartAs_doc
#define OT_SETUP_hdl
#define error
Definition high_lng.h:339
bool MqConfigCheckStartAs(MQ_CTX const ctx, enum MqStartE data)
check if MqConfigS::startAs can be set to data
MqStartE
User preferences on HOWTO start a new entity.

◆ atlmqmsgque_MqContextC_ConfigSetAllDebug()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetAllDebug ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetAllDebug $ctx data:int32 C-API
set the MkRuntimeS::debug value

Definition at line 1037 of file MqContextC_atl.c.

1037 {
1040 MK_I32 data = 0;
1043 MkErrorC_Check(hdl,MqConfigSetAllDebug (hdl, data));
1045 goto end;
1046 error:
1048 end:
1050}
#define OT_CHECK_NI4(val)
#define OT_retObj_SET_None
#define MkErrorC_Check(mng, PROC)
#define ConfigSetAllDebug_doc
signed int MK_I32
#define MqConfigSetAllDebug(...)

◆ atlmqmsgque_MqContextC_ConfigSetAllTimeout()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetAllTimeout ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetAllTimeout $ctx data:MkTimeoutE|int32 C-API
set the MqIoConfigS::timeout value

Definition at line 1053 of file MqContextC_atl.c.

1053 {
1056 MK_TIME_T data = 0;
1059 MqConfigSetAllTimeout (hdl, data);
1061 goto end;
1062 error:
1064 end:
1066}
#define ConfigSetAllTimeout_doc
time_t MK_TIME_T
void MqConfigSetAllTimeout(MQ_CTX const ctx, MK_TIME_T data)
set the MqIoConfigS::timeout value
#define OT_CHECK_TIME_T(val)

◆ atlmqmsgque_MqContextC_ConfigSetBuffersize()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetBuffersize ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetBuffersize $ctx data:int32 C-API
set the MqIoConfigS::buffersize value

Definition at line 1069 of file MqContextC_atl.c.

1069 {
1072 MK_I32 data = 0;
1075 MqConfigSetBuffersize (hdl, data);
1077 goto end;
1078 error:
1080 end:
1082}
#define ConfigSetBuffersize_doc
void MqConfigSetBuffersize(MQ_CTX const ctx, MK_I32 data)
set the MqIoConfigS::buffersize value

◆ atlmqmsgque_MqContextC_ConfigSetDaemon()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetDaemon ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetDaemon $ctx pidfile:string C-API
start the server-context as daemon …

Definition at line 1085 of file MqContextC_atl.c.

1085 {
1088 MK_STRN pidfile = 0;
1091 MkErrorC_Check(hdl,MqConfigSetDaemon (hdl, pidfile));
1093 goto end;
1094 error:
1096 end:
1098}
#define OT_CHECK_STRN(val)
#define ConfigSetDaemon_doc
const MK_STRB * MK_STRN
#define MqConfigSetDaemon(...)

◆ atlmqmsgque_MqContextC_ConfigSetIdentFrom()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIdentFrom ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetIdentFrom $ctx data:MqIdentE C-API
set the MqConfigS::identFrom value

Definition at line 1101 of file MqContextC_atl.c.

1101 {
1104 enum MqIdentE data = 0;
1107 MqConfigSetIdentFrom (hdl, data);
1109 goto end;
1110 error:
1112 end:
1114}
#define ConfigSetIdentFrom_doc
void MqConfigSetIdentFrom(MQ_CTX const ctx, enum MqIdentE data)
set the MqConfigS::identFrom value
MqIdentE
identify the application using prefix (default) or factory …

◆ atlmqmsgque_MqContextC_ConfigSetIgnoreExit()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIgnoreExit ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetIgnoreExit $ctx data:bool C-API
set the MqSetupS::ignoreExit value

Definition at line 1117 of file MqContextC_atl.c.

1117 {
1120 MK_BOOL data = 0;
1123 MqConfigSetIgnoreExit (hdl, data);
1125 goto end;
1126 error:
1128 end:
1130}
#define OT_CHECK_bool(val)
#define ConfigSetIgnoreExit_doc
bool MK_BOOL
void MqConfigSetIgnoreExit(MQ_CTX const ctx, bool data)
set the MqSetupS::ignoreExit value

◆ atlmqmsgque_MqContextC_ConfigSetIoPipe()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIoPipe ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetIoPipe $ctx fh:int32 C-API
set the pipe configuration data …

Definition at line 1133 of file MqContextC_atl.c.

1133 {
1136 MQ_SOCK_HDL fh = 0;
1139 MkErrorC_Check(hdl,MqConfigSetIoPipe (hdl, fh));
1141 goto end;
1142 error:
1144 end:
1146}
#define ConfigSetIoPipe_doc
#define MqConfigSetIoPipe(...)
int MQ_SOCK_HDL

◆ atlmqmsgque_MqContextC_ConfigSetIoTcp()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIoTcp ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetIoTcp $ctx ?host:string="NULL"? ?port:string="NULL"? ?myhost:string="NULL"? ?myport:string="NULL"? C-API
configure a context to use a tcp-client-server-link

Definition at line 1149 of file MqContextC_atl.c.

1149 {
1152 MK_STRN host = NULL;
1154 MK_STRN port = NULL;
1156 MK_STRN myhost = NULL;
1158 MK_STRN myport = NULL;
1161 MkErrorC_Check(hdl,MqConfigSetIoTcp (hdl, host, port, myhost, myport));
1163 goto end;
1164 error:
1166 end:
1168}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_OPTIONAL(val)
#define ConfigSetIoTcp_doc
#define MqConfigSetIoTcp(...)

◆ atlmqmsgque_MqContextC_ConfigSetIoTcpL()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIoTcpL ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetIoTcpL $ctx vals:MkBufferListC C-API
configure a context to use a tcp-client-server-link

Definition at line 1171 of file MqContextC_atl.c.

1171 {
1174 MkBufferListCreateTLS_T(vals,10);
1177 MkErrorC_Check(hdl,MqConfigSetIoTcpL (hdl, vals));
1179 goto end;
1180 error:
1182 end:
1184}
#define ConfigSetIoTcpL_doc
#define MkBufferListCreateTLS_T(name, num)
#define MK_NULL_NO
#define MqConfigSetIoTcpL(...)
#define OT_CHECK_BFL(val, nullB)

◆ atlmqmsgque_MqContextC_ConfigSetIoUds()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIoUds ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetIoUds $ctx file:string C-API
configure a context to use a uds-client-server-link

Definition at line 1187 of file MqContextC_atl.c.

1187 {
1190 MK_STRN file = 0;
1193 MkErrorC_Check(hdl,MqConfigSetIoUds (hdl, file));
1195 goto end;
1196 error:
1198 end:
1200}
#define ConfigSetIoUds_doc
#define MqConfigSetIoUds(...)

◆ atlmqmsgque_MqContextC_ConfigSetIsServer()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIsServer ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetIsServer $ctx data:bool C-API
set the MqSetupS::isServer value

Definition at line 1203 of file MqContextC_atl.c.

1203 {
1206 MK_BOOL data = 0;
1209 MqConfigSetIsServer (hdl, data);
1211 goto end;
1212 error:
1214 end:
1216}
#define ConfigSetIsServer_doc
void MqConfigSetIsServer(MQ_CTX const ctx, bool data)
set the MqSetupS::isServer value

◆ atlmqmsgque_MqContextC_ConfigSetIsString()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetIsString ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetIsString $ctx data:bool C-API
set the MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian

Definition at line 1219 of file MqContextC_atl.c.

1219 {
1222 MK_BOOL data = 0;
1225 MqConfigSetIsString (hdl, data);
1227 goto end;
1228 error:
1230 end:
1232}
#define ConfigSetIsString_doc
void MqConfigSetIsString(MQ_CTX const ctx, bool data)
set the MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian

◆ atlmqmsgque_MqContextC_ConfigSetName()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetName ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetName $ctx data:string C-API
set the MqConfigS::dispName value and cleanup old value

Definition at line 1235 of file MqContextC_atl.c.

1235 {
1238 MK_STRN data = 0;
1241 MqConfigSetName (hdl, data);
1243 goto end;
1244 error:
1246 end:
1248}
#define ConfigSetName_doc
#define MqConfigSetName(...)

◆ atlmqmsgque_MqContextC_ConfigSetPkgsize()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetPkgsize ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetPkgsize $ctx data:int32 C-API
set the MqIoConfigS::pkgsize value

Definition at line 1251 of file MqContextC_atl.c.

1251 {
1254 MK_I32 data = 0;
1257 MqConfigSetPkgsize (hdl, data);
1259 goto end;
1260 error:
1262 end:
1264}
#define ConfigSetPkgsize_doc
void MqConfigSetPkgsize(MQ_CTX const ctx, MK_I32 data)
set the MqIoConfigS::pkgsize value

◆ atlmqmsgque_MqContextC_ConfigSetPostfix()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetPostfix ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetPostfix $ctx data:string C-API
set the client-part (2) of the application-identifer MqConfigS::dispName

Definition at line 1267 of file MqContextC_atl.c.

1267 {
1270 MK_STRN data = 0;
1273 MqConfigSetPostfix (hdl, data);
1275 goto end;
1276 error:
1278 end:
1280}
#define ConfigSetPostfix_doc
#define MqConfigSetPostfix(...)

◆ atlmqmsgque_MqContextC_ConfigSetPrefix()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetPrefix ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetPrefix $ctx data:string C-API
set the server-part (1) of the application-identifer MqConfigS::dispName

Definition at line 1283 of file MqContextC_atl.c.

1283 {
1286 MK_STRN data = 0;
1289 MqConfigSetPrefix (hdl, data);
1291 goto end;
1292 error:
1294 end:
1296}
#define ConfigSetPrefix_doc
#define MqConfigSetPrefix(...)

◆ atlmqmsgque_MqContextC_ConfigSetStartAs()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetStartAs ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetStartAs $ctx data:MqStartE C-API
set the MqConfigS::startAs value

Definition at line 1299 of file MqContextC_atl.c.

1299 {
1302 enum MqStartE data = 0;
1305 MkErrorC_Check(hdl,MqConfigSetStartAs (hdl, data));
1307 goto end;
1308 error:
1310 end:
1312}
#define ConfigSetStartAs_doc
enum MkErrorE MqConfigSetStartAs(MQ_CTX const ctx, enum MqStartE data)
set the MqConfigS::startAs value

◆ atlmqmsgque_MqContextC_ConfigSetStartAsString()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetStartAsString ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetStartAsString $ctx data:string C-API
set the MqConfigS::startAs value using string default, thread, fork or spawn

Definition at line 1315 of file MqContextC_atl.c.

1315 {
1318 MK_STRN data = 0;
1323 goto end;
1324 error:
1326 end:
1328}
#define ConfigSetStartAsString_doc
enum MkErrorE MqConfigSetStartAsString(MQ_CTX const ctx, MK_STRN data)
set the MqConfigS::startAs value using string default, thread, fork or spawn

◆ atlmqmsgque_MqContextC_ConfigSetStorage()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetStorage ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetStorage $ctx data:string C-API
set the Storage value and cleanup old value

Definition at line 1331 of file MqContextC_atl.c.

1331 {
1334 MK_STRN data = 0;
1337 MqConfigSetStorage (hdl, data);
1339 goto end;
1340 error:
1342 end:
1344}
#define ConfigSetStorage_doc
#define MqConfigSetStorage(...)

◆ atlmqmsgque_MqContextC_ConfigSetTimeout()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetTimeout ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetTimeout $ctx data:MkTimeoutE|int32 C-API
set the MqIoConfigS::timeout value

Definition at line 1347 of file MqContextC_atl.c.

1347 {
1350 MK_TIME_T data = 0;
1353 MqConfigSetTimeout (hdl, data);
1355 goto end;
1356 error:
1358 end:
1360}
#define ConfigSetTimeout_doc
void MqConfigSetTimeout(MQ_CTX const ctx, MK_TIME_T data)
set the MqIoConfigS::timeout value