theLink 10.0
Loading...
Searching...
No Matches
MqDumpC_TOR_TCL_API

MqDumpC - various functions to create, initialize and destroy a dumpMore...

+ Collaboration diagram for MqDumpC_TOR_TCL_API:

Functions

static OT_ProcRet tclmqmsgque_MqDumpC_CTOR (CONSTR_ARGS)
  Tcl: (constructor,static) MqDumpC [MqDumpC CTOR ctx:MqContextC ?dumpP_inout:MqDumpC="MK_NULL"?] C-API
create a MqDumpC as export of the ctx-read-data-package
 
static OT_ProcRet tclmqmsgque_MqDumpC_Error (OtClass_ARGS)
  Tcl: (constructor,static) MqDumpC [MqDumpC Error error:MqContextC ?dumpP_inout:MqDumpC="MK_NULL"?] C-API
export the context->error into the dump-package
 
static OT_ProcRet tclmqmsgque_MqDumpC_Export (OtClass_ARGS)
  Tcl: (constructor,static) MqDumpC [MqDumpC Export ctx:MqContextC ?dumpP_inout:MqDumpC="MK_NULL"?] C-API
create a MqDumpC as export of the ctx-read-data-package
 
static OT_ProcRet tclmqmsgque_MqDumpC_BinSet (OtClass_ARGS)
  Tcl: (constructor,static) MqDumpC [MqDumpC BinSet data:binary] C-API
create an MqDumpS object from binary data
 
static OT_ProcRet tclmqmsgque_MqDumpC_BinGet (MqDumpC_ARGS)
  Tcl: binary [$dump BinGet] C-API
export the binary data from an MqDumpS object
 
static OT_ProcRet tclmqmsgque_MqDumpC_Import (MqDumpC_ARGS)
  Tcl: $dump Import ctx:MqContextC C-API
import the dump-package into the ctx-read-data-package
 

Detailed Description

MqDumpC - various functions to create, initialize and destroy a dump

Function Documentation

◆ tclmqmsgque_MqDumpC_BinGet()

static OT_ProcRet tclmqmsgque_MqDumpC_BinGet ( MqDumpC_ARGS )
static

Tcl: binary [$dump BinGet] C-API
export the binary data from an MqDumpS object

Definition at line 378 of file MqDumpC_tcl.c.

378 {
382 MkBinaryR retVal = MqDumpBinGet (hdl);
384 goto end;
385 error:
387 end:
389}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_GET__ME_REF_MkBinaryR(b)
#define OT_retObj_RETURN
#define OT_retObj_SET(val)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
Definition MqDumpC_tcl.c:59
#define BinGet_doc
#define error
Definition high_lng.h:339
MkBinaryR MqDumpBinGet(MQ_DMPN const dump)
export the binary data from an MqDumpS object

◆ tclmqmsgque_MqDumpC_BinSet()

static OT_ProcRet tclmqmsgque_MqDumpC_BinSet ( OtClass_ARGS )
static

Tcl: (constructor,static) MqDumpC [MqDumpC BinSet data:binary] C-API
create an MqDumpS object from binary data

Definition at line 359 of file MqDumpC_tcl.c.

359 {
362 MkBinaryR data = {0};
365 MQ_DMP dmp_out;
367 OT_retObj_SET_DMP(dmp_out);
368 goto end;
369 error:
371 end:
373}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_CHECK__ME_REF_MkBinaryR(val)
#define MkErrorC_Check(mng, PROC)
#define OT_retObj_SET_DMP(nat)
#define OT_SETUP_hdl_static_constr
Definition MqDumpC_tcl.c:49
#define BinSet_doc
#define MK_ERROR_FORMAT
#define MqDumpBinSet(...)
MqDumpC - the class known as dmp or dump is used to export a tclmqmsgque data package as binary …

◆ tclmqmsgque_MqDumpC_CTOR()

static OT_ProcRet tclmqmsgque_MqDumpC_CTOR ( CONSTR_ARGS )
static

Tcl: (constructor,static) MqDumpC [MqDumpC CTOR ctx:MqContextC ?dumpP_inout:MqDumpC="MK_NULL"?] C-API
create a MqDumpC as export of the ctx-read-data-package

Definition at line 302 of file MqDumpC_tcl.c.

302 {
305 MQ_CTX ctx = 0;
307 MQ_DMP dumpP_inout = NULL;
309 MkErrorC_Check(ctx,MqDumpExport (ctx, &dumpP_inout));
310 OT_CONSTRUCTOR_POST(dumpP_inout)
311 OT_retObj_CONSTR(dumpP_inout);
312 goto end;
313 error:
315 end:
317}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_CHECK_OPTIONAL(val)
#define OT_retObj_CONSTR(x)
#define OT_CONSTRUCTOR_POST(x)
#define OT_SETUP_hdl_constr
Definition MqDumpC_tcl.c:64
#define CTOR_doc
#define MK_NULL_NO
#define MK_NULL_YES
#define MqDumpExport(...)
#define OT_CHECK_CTX(val, nullB)
#define OT_CHECK_DMP(val, nullB)
PUBLIC data structure for the tclmqmsgque-specific-data

◆ tclmqmsgque_MqDumpC_Error()

static OT_ProcRet tclmqmsgque_MqDumpC_Error ( OtClass_ARGS )
static

Tcl: (constructor,static) MqDumpC [MqDumpC Error error:MqContextC ?dumpP_inout:MqDumpC="MK_NULL"?] C-API
export the context->error into the dump-package

Definition at line 320 of file MqDumpC_tcl.c.

320 {
323 MQ_CTX error = 0;
325 MQ_DMP dumpP_inout = NULL;
328 MkErrorC_Check(error,MqDumpError (error, &dumpP_inout));
329 OT_retObj_SET_DMP(dumpP_inout);
330 goto end;
331 error:
333 end:
335}
#define OT_SETUP_VARARGS(min, max, d)
#define Error_doc
#define MqDumpError(...)

◆ tclmqmsgque_MqDumpC_Export()

static OT_ProcRet tclmqmsgque_MqDumpC_Export ( OtClass_ARGS )
static

Tcl: (constructor,static) MqDumpC [MqDumpC Export ctx:MqContextC ?dumpP_inout:MqDumpC="MK_NULL"?] C-API
create a MqDumpC as export of the ctx-read-data-package

Definition at line 338 of file MqDumpC_tcl.c.

338 {
341 MQ_CTX ctx = 0;
343 MQ_DMP dumpP_inout = NULL;
346 MkErrorC_Check(ctx,MqDumpExport (ctx, &dumpP_inout));
347 OT_CONSTRUCTOR_POST(dumpP_inout)
348 OT_retObj_SET_DMP(dumpP_inout);
349 goto end;
350 error:
352 end:
354}
#define Export_doc

◆ tclmqmsgque_MqDumpC_Import()

static OT_ProcRet tclmqmsgque_MqDumpC_Import ( MqDumpC_ARGS )
static

Tcl: $dump Import ctx:MqContextC C-API
import the dump-package into the ctx-read-data-package

Definition at line 392 of file MqDumpC_tcl.c.

392 {
395 MQ_CTX ctx = 0;
398 MkErrorC_Check(hdl,MqDumpImport (hdl, ctx));
400 goto end;
401 error:
403 end:
405}
#define OT_retObj_SET_None
#define Import_doc
#define MqDumpImport(...)