theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ConfigApi_Set_TCL_API

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

+ Collaboration diagram for MqContextC_ConfigApi_Set_TCL_API:

Functions

static OT_ProcRet tclmqmsgque_MqContextC_ConfigCheckStartAs (MqContextC_ARGS)
  Tcl: bool [$ctx ConfigCheckStartAs data:MqStartE] C-API
check if MqConfigS::startAs can be set to data
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetAllDebug (MqContextC_ARGS)
  Tcl: $ctx ConfigSetAllDebug data:int32 C-API
set the MkRuntimeS::debug value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetAllTimeout (MqContextC_ARGS)
  Tcl: $ctx ConfigSetAllTimeout data:MkTimeoutE|int32 C-API
set the MqIoConfigS::timeout value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetBuffersize (MqContextC_ARGS)
  Tcl: $ctx ConfigSetBuffersize data:int32 C-API
set the MqIoConfigS::buffersize value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetDaemon (MqContextC_ARGS)
  Tcl: $ctx ConfigSetDaemon pidfile:string C-API
start the server-context as daemon …
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIdentFrom (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIdentFrom data:MqIdentE C-API
set the MqConfigS::identFrom value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIgnoreExit (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIgnoreExit data:bool C-API
set the MqSetupS::ignoreExit value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIoPipe (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIoPipe fh:int32 C-API
set the pipe configuration data …
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIoTcp (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIoTcp ?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 tclmqmsgque_MqContextC_ConfigSetIoTcpL (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIoTcpL vals:MkBufferListC C-API
configure a context to use a tcp-client-server-link
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIoUds (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIoUds file:string C-API
configure a context to use a uds-client-server-link
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIsServer (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIsServer data:bool C-API
set the MqSetupS::isServer value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIsString (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIsString data:bool C-API
set the MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetName (MqContextC_ARGS)
  Tcl: $ctx ConfigSetName data:string C-API
set the MqConfigS::dispName value and cleanup old value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetPkgsize (MqContextC_ARGS)
  Tcl: $ctx ConfigSetPkgsize data:int32 C-API
set the MqIoConfigS::pkgsize value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetPostfix (MqContextC_ARGS)
  Tcl: $ctx ConfigSetPostfix data:string C-API
set the client-part (2) of the application-identifer MqConfigS::dispName
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetPrefix (MqContextC_ARGS)
  Tcl: $ctx ConfigSetPrefix data:string C-API
set the server-part (1) of the application-identifer MqConfigS::dispName
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetStartAs (MqContextC_ARGS)
  Tcl: $ctx ConfigSetStartAs data:MqStartE C-API
set the MqConfigS::startAs value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetStartAsString (MqContextC_ARGS)
  Tcl: $ctx ConfigSetStartAsString data:string C-API
set the MqConfigS::startAs value using string default, thread, fork or spawn
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetStorage (MqContextC_ARGS)
  Tcl: $ctx ConfigSetStorage data:string C-API
set the Storage value and cleanup old value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetTimeout (MqContextC_ARGS)
  Tcl: $ctx ConfigSetTimeout 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

◆ tclmqmsgque_MqContextC_ConfigCheckStartAs()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigCheckStartAs ( MqContextC_ARGS )
static

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

Definition at line 1044 of file MqContextC_tcl.c.

1044 {
1047 enum MqStartE data = 0;
1051 goto end;
1052 error:
1054 end:
1056}
#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.

◆ tclmqmsgque_MqContextC_ConfigSetAllDebug()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetAllDebug ( MqContextC_ARGS )
static

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

Definition at line 1059 of file MqContextC_tcl.c.

1059 {
1062 MK_I32 data = 0;
1065 MkErrorC_Check(hdl,MqConfigSetAllDebug (hdl, data));
1067 goto end;
1068 error:
1070 end:
1072}
#define OT_CHECK_NI4(val)
#define OT_retObj_SET_None
#define MkErrorC_Check(mng, PROC)
#define ConfigSetAllDebug_doc
signed int MK_I32
#define MqConfigSetAllDebug(...)

◆ tclmqmsgque_MqContextC_ConfigSetAllTimeout()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetAllTimeout ( MqContextC_ARGS )
static

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

Definition at line 1075 of file MqContextC_tcl.c.

1075 {
1078 MK_TIME_T data = 0;
1081 MqConfigSetAllTimeout (hdl, data);
1083 goto end;
1084 error:
1086 end:
1088}
#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)

◆ tclmqmsgque_MqContextC_ConfigSetBuffersize()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetBuffersize ( MqContextC_ARGS )
static

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

Definition at line 1091 of file MqContextC_tcl.c.

1091 {
1094 MK_I32 data = 0;
1097 MqConfigSetBuffersize (hdl, data);
1099 goto end;
1100 error:
1102 end:
1104}
#define ConfigSetBuffersize_doc
void MqConfigSetBuffersize(MQ_CTX const ctx, MK_I32 data)
set the MqIoConfigS::buffersize value

◆ tclmqmsgque_MqContextC_ConfigSetDaemon()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetDaemon ( MqContextC_ARGS )
static

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

Definition at line 1107 of file MqContextC_tcl.c.

1107 {
1110 MK_STRN pidfile = 0;
1113 MkErrorC_Check(hdl,MqConfigSetDaemon (hdl, pidfile));
1115 goto end;
1116 error:
1118 end:
1120}
#define OT_CHECK_STRN(val)
#define ConfigSetDaemon_doc
const MK_STRB * MK_STRN
#define MqConfigSetDaemon(...)

◆ tclmqmsgque_MqContextC_ConfigSetIdentFrom()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIdentFrom ( MqContextC_ARGS )
static

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

Definition at line 1123 of file MqContextC_tcl.c.

1123 {
1126 enum MqIdentE data = 0;
1129 MqConfigSetIdentFrom (hdl, data);
1131 goto end;
1132 error:
1134 end:
1136}
#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 …

◆ tclmqmsgque_MqContextC_ConfigSetIgnoreExit()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIgnoreExit ( MqContextC_ARGS )
static

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

Definition at line 1139 of file MqContextC_tcl.c.

1139 {
1142 MK_BOOL data = 0;
1145 MqConfigSetIgnoreExit (hdl, data);
1147 goto end;
1148 error:
1150 end:
1152}
#define OT_CHECK_bool(val)
#define ConfigSetIgnoreExit_doc
bool MK_BOOL
void MqConfigSetIgnoreExit(MQ_CTX const ctx, bool data)
set the MqSetupS::ignoreExit value

◆ tclmqmsgque_MqContextC_ConfigSetIoPipe()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIoPipe ( MqContextC_ARGS )
static

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

Definition at line 1155 of file MqContextC_tcl.c.

1155 {
1158 MQ_SOCK_HDL fh = 0;
1161 MkErrorC_Check(hdl,MqConfigSetIoPipe (hdl, fh));
1163 goto end;
1164 error:
1166 end:
1168}
#define ConfigSetIoPipe_doc
#define MqConfigSetIoPipe(...)
int MQ_SOCK_HDL

◆ tclmqmsgque_MqContextC_ConfigSetIoTcp()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIoTcp ( MqContextC_ARGS )
static

Tcl: $ctx ConfigSetIoTcp ?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 1171 of file MqContextC_tcl.c.

1171 {
1174 MK_STRN host = NULL;
1176 MK_STRN port = NULL;
1178 MK_STRN myhost = NULL;
1180 MK_STRN myport = NULL;
1183 MkErrorC_Check(hdl,MqConfigSetIoTcp (hdl, host, port, myhost, myport));
1185 goto end;
1186 error:
1188 end:
1190}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_OPTIONAL(val)
#define ConfigSetIoTcp_doc
#define MqConfigSetIoTcp(...)

◆ tclmqmsgque_MqContextC_ConfigSetIoTcpL()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIoTcpL ( MqContextC_ARGS )
static

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

Definition at line 1193 of file MqContextC_tcl.c.

1193 {
1196 MkBufferListCreateTLS_T(vals,10);
1199 MkErrorC_Check(hdl,MqConfigSetIoTcpL (hdl, vals));
1201 goto end;
1202 error:
1204 end:
1206}
#define ConfigSetIoTcpL_doc
#define MkBufferListCreateTLS_T(name, num)
#define MK_NULL_NO
#define MqConfigSetIoTcpL(...)
#define OT_CHECK_BFL(val, nullB)

◆ tclmqmsgque_MqContextC_ConfigSetIoUds()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIoUds ( MqContextC_ARGS )
static

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

Definition at line 1209 of file MqContextC_tcl.c.

1209 {
1212 MK_STRN file = 0;
1215 MkErrorC_Check(hdl,MqConfigSetIoUds (hdl, file));
1217 goto end;
1218 error:
1220 end:
1222}
#define ConfigSetIoUds_doc
#define MqConfigSetIoUds(...)

◆ tclmqmsgque_MqContextC_ConfigSetIsServer()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIsServer ( MqContextC_ARGS )
static

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

Definition at line 1225 of file MqContextC_tcl.c.

1225 {
1228 MK_BOOL data = 0;
1231 MqConfigSetIsServer (hdl, data);
1233 goto end;
1234 error:
1236 end:
1238}
#define ConfigSetIsServer_doc
void MqConfigSetIsServer(MQ_CTX const ctx, bool data)
set the MqSetupS::isServer value

◆ tclmqmsgque_MqContextC_ConfigSetIsString()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIsString ( MqContextC_ARGS )
static

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

Definition at line 1241 of file MqContextC_tcl.c.

1241 {
1244 MK_BOOL data = 0;
1247 MqConfigSetIsString (hdl, data);
1249 goto end;
1250 error:
1252 end:
1254}
#define ConfigSetIsString_doc
void MqConfigSetIsString(MQ_CTX const ctx, bool data)
set the MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian

◆ tclmqmsgque_MqContextC_ConfigSetName()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetName ( MqContextC_ARGS )
static

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

Definition at line 1257 of file MqContextC_tcl.c.

1257 {
1260 MK_STRN data = 0;
1263 MqConfigSetName (hdl, data);
1265 goto end;
1266 error:
1268 end:
1270}
#define ConfigSetName_doc
#define MqConfigSetName(...)

◆ tclmqmsgque_MqContextC_ConfigSetPkgsize()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetPkgsize ( MqContextC_ARGS )
static

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

Definition at line 1273 of file MqContextC_tcl.c.

1273 {
1276 MK_I32 data = 0;
1279 MqConfigSetPkgsize (hdl, data);
1281 goto end;
1282 error:
1284 end:
1286}
#define ConfigSetPkgsize_doc
void MqConfigSetPkgsize(MQ_CTX const ctx, MK_I32 data)
set the MqIoConfigS::pkgsize value

◆ tclmqmsgque_MqContextC_ConfigSetPostfix()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetPostfix ( MqContextC_ARGS )
static

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

Definition at line 1289 of file MqContextC_tcl.c.

1289 {
1292 MK_STRN data = 0;
1295 MqConfigSetPostfix (hdl, data);
1297 goto end;
1298 error:
1300 end:
1302}
#define ConfigSetPostfix_doc
#define MqConfigSetPostfix(...)

◆ tclmqmsgque_MqContextC_ConfigSetPrefix()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetPrefix ( MqContextC_ARGS )
static

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

Definition at line 1305 of file MqContextC_tcl.c.

1305 {
1308 MK_STRN data = 0;
1311 MqConfigSetPrefix (hdl, data);
1313 goto end;
1314 error:
1316 end:
1318}
#define ConfigSetPrefix_doc
#define MqConfigSetPrefix(...)

◆ tclmqmsgque_MqContextC_ConfigSetStartAs()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetStartAs ( MqContextC_ARGS )
static

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

Definition at line 1321 of file MqContextC_tcl.c.

1321 {
1324 enum MqStartE data = 0;
1327 MkErrorC_Check(hdl,MqConfigSetStartAs (hdl, data));
1329 goto end;
1330 error:
1332 end:
1334}
#define ConfigSetStartAs_doc
enum MkErrorE MqConfigSetStartAs(MQ_CTX const ctx, enum MqStartE data)
set the MqConfigS::startAs value

◆ tclmqmsgque_MqContextC_ConfigSetStartAsString()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetStartAsString ( MqContextC_ARGS )
static

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

Definition at line 1337 of file MqContextC_tcl.c.

1337 {
1340 MK_STRN data = 0;
1345 goto end;
1346 error:
1348 end:
1350}
#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

◆ tclmqmsgque_MqContextC_ConfigSetStorage()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetStorage ( MqContextC_ARGS )
static

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

Definition at line 1353 of file MqContextC_tcl.c.

1353 {
1356 MK_STRN data = 0;
1359 MqConfigSetStorage (hdl, data);
1361 goto end;
1362 error:
1364 end:
1366}
#define ConfigSetStorage_doc
#define MqConfigSetStorage(...)

◆ tclmqmsgque_MqContextC_ConfigSetTimeout()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetTimeout ( MqContextC_ARGS )
static

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

Definition at line 1369 of file MqContextC_tcl.c.

1369 {
1372 MK_TIME_T data = 0;
1375 MqConfigSetTimeout (hdl, data);
1377 goto end;
1378 error:
1380 end:
1382}
#define ConfigSetTimeout_doc
void MqConfigSetTimeout(MQ_CTX const ctx, MK_TIME_T data)
set the MqIoConfigS::timeout value