theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_Signal_TCL_API

MkErrorC - various functions to set and check a 'signal' on a MkErrorSMore...

+ Collaboration diagram for MkErrorC_Signal_TCL_API:

Functions

static OT_ProcRet tclmkkernel_MkErrorC_IsABORT (MkErrorC_ARGS)
  Tcl: bool [$err IsABORT] C-API
check on ABORT signal …
 
static OT_ProcRet tclmkkernel_MkErrorC_IsEXIT (MkErrorC_ARGS)
  Tcl: bool [$err IsEXIT] C-API
check on APPLICATION-EXIT error …
 
static OT_ProcRet tclmkkernel_MkErrorC_IsSOCKET (MkErrorC_ARGS)
  Tcl: bool [$err IsSOCKET] C-API
check on SOCKET-DOWN error …
 
static OT_ProcRet tclmkkernel_MkErrorC_IsTIMEOUT (MkErrorC_ARGS)
  Tcl: bool [$err IsTIMEOUT] C-API
check on TIMEOUT error …
 
static OT_ProcRet tclmkkernel_MkErrorC_SetABORT (MkErrorC_ARGS)
  Tcl: $err SetABORT ?detail:string="UNKNOWN"? ?callfunc:string="MK_NULL"? C-API
send the ABORT signal to the calling stack…
 
static OT_ProcRet tclmkkernel_MkErrorC_SetCONTINUE (MkErrorC_ARGS)
  Tcl: $err SetCONTINUE C-API
signal end of processing in an MqMqEventIF callback …
 
static OT_ProcRet tclmkkernel_MkErrorC_SetCode (MkErrorC_ARGS)
  Tcl: $err SetCode code:MkErrorE C-API
set the MkErrorS::code value …
 
static OT_ProcRet tclmkkernel_MkErrorC_SetEXIT (MkErrorC_ARGS)
  Tcl: $err SetEXIT ?callfunc:string="MK_NULL"? C-API
finish the current callback, return to toplevel and MqExit the application …
 
static OT_ProcRet tclmkkernel_MkErrorC_SetSOCKET (MkErrorC_ARGS)
  Tcl: $err SetSOCKET ?detail:string="UNKNOWN"? ?callfunc:string="MK_NULL"? C-API
create SOCKET-DOWN error …
 

Detailed Description

MkErrorC - various functions to set and check a 'signal' on a MkErrorS

Function Documentation

◆ tclmkkernel_MkErrorC_IsABORT()

static OT_ProcRet tclmkkernel_MkErrorC_IsABORT ( MkErrorC_ARGS )
static

Tcl: bool [$err IsABORT] C-API
check on ABORT signal …

Definition at line 639 of file MkErrorC_tcl.c.

639 {
644 goto end;
645 error:
647 end:
649}
#define OT_retObj_SET_BOL(nat)
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define IsABORT_doc
#define OT_SETUP_hdl
bool MkErrorIsABORT(MK_ERRN const err)
check on ABORT signal …

◆ tclmkkernel_MkErrorC_IsEXIT()

static OT_ProcRet tclmkkernel_MkErrorC_IsEXIT ( MkErrorC_ARGS )
static

Tcl: bool [$err IsEXIT] C-API
check on APPLICATION-EXIT error …

Definition at line 652 of file MkErrorC_tcl.c.

652 {
657 goto end;
658 error:
660 end:
662}
#define IsEXIT_doc
bool MkErrorIsEXIT(MK_ERR const err)
check on APPLICATION-EXIT error …

◆ tclmkkernel_MkErrorC_IsSOCKET()

static OT_ProcRet tclmkkernel_MkErrorC_IsSOCKET ( MkErrorC_ARGS )
static

Tcl: bool [$err IsSOCKET] C-API
check on SOCKET-DOWN error …

Definition at line 665 of file MkErrorC_tcl.c.

665 {
670 goto end;
671 error:
673 end:
675}
#define IsSOCKET_doc
bool MkErrorIsSOCKET(MK_ERRN const err)
check on SOCKET-DOWN error …

◆ tclmkkernel_MkErrorC_IsTIMEOUT()

static OT_ProcRet tclmkkernel_MkErrorC_IsTIMEOUT ( MkErrorC_ARGS )
static

Tcl: bool [$err IsTIMEOUT] C-API
check on TIMEOUT error …

Definition at line 678 of file MkErrorC_tcl.c.

678 {
683 goto end;
684 error:
686 end:
688}
#define IsTIMEOUT_doc
bool MkErrorIsTIMEOUT(MK_ERRN const err)
check on TIMEOUT error …

◆ tclmkkernel_MkErrorC_SetABORT()

static OT_ProcRet tclmkkernel_MkErrorC_SetABORT ( MkErrorC_ARGS )
static

Tcl: $err SetABORT ?detail:string="UNKNOWN"? ?callfunc:string="MK_NULL"? C-API
send the ABORT signal to the calling stack…

Definition at line 691 of file MkErrorC_tcl.c.

691 {
694 MK_STRN detail = "UNKNOWN";
696 MK_STRN callfunc = NULL;
699 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
700 MkErrorC_Check(hdl,MkErrorSetABORT (hdl, detail, callfunc));
702 goto end;
703 error:
705 end:
708}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_FRAME_CLEANUP
#define OT_retObj_SET_None
#define OT_GET_CALL_PROC
#define OT_CHECK_OPTIONAL(val)
#define MkErrorC_Check(mng, PROC)
#define OT_CHECK_STRN(val)
#define SetABORT_doc
#define MkErrorSetABORT(...)
const MK_STRB * MK_STRN
constant string pointer data-type
static bool MkSysStringIsNULL(MK_STRN str)
test if string is NULL or EMPTY …

◆ tclmkkernel_MkErrorC_SetCode()

static OT_ProcRet tclmkkernel_MkErrorC_SetCode ( MkErrorC_ARGS )
static

Tcl: $err SetCode code:MkErrorE C-API
set the MkErrorS::code value …

Definition at line 725 of file MkErrorC_tcl.c.

725 {
728 enum MkErrorE code = 0;
731 MkErrorSetCode (hdl, code);
733 goto end;
734 error:
736 end:
738}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_CHECK_ENUM(ename, val)
#define SetCode_doc
#define MkErrorSetCode(...)
MkErrorE
collection for the different error-codes …

◆ tclmkkernel_MkErrorC_SetCONTINUE()

static OT_ProcRet tclmkkernel_MkErrorC_SetCONTINUE ( MkErrorC_ARGS )
static

Tcl: $err SetCONTINUE C-API
signal end of processing in an MqMqEventIF callback …

Definition at line 711 of file MkErrorC_tcl.c.

711 {
715 MkErrorSetCONTINUE (hdl);
717 goto end;
718 error:
720 end:
722}
#define SetCONTINUE_doc
#define MkErrorSetCONTINUE(...)

◆ tclmkkernel_MkErrorC_SetEXIT()

static OT_ProcRet tclmkkernel_MkErrorC_SetEXIT ( MkErrorC_ARGS )
static

Tcl: $err SetEXIT ?callfunc:string="MK_NULL"? C-API
finish the current callback, return to toplevel and MqExit the application …

Definition at line 741 of file MkErrorC_tcl.c.

741 {
744 MK_STRN callfunc = NULL;
747 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
748 MkErrorC_Check(hdl,MkErrorSetEXIT (hdl, callfunc));
750 goto end;
751 error:
753 end:
756}
#define SetEXIT_doc
#define MkErrorSetEXIT(...)

◆ tclmkkernel_MkErrorC_SetSOCKET()

static OT_ProcRet tclmkkernel_MkErrorC_SetSOCKET ( MkErrorC_ARGS )
static

Tcl: $err SetSOCKET ?detail:string="UNKNOWN"? ?callfunc:string="MK_NULL"? C-API
create SOCKET-DOWN error …

Definition at line 759 of file MkErrorC_tcl.c.

759 {
762 MK_STRN detail = "UNKNOWN";
764 MK_STRN callfunc = NULL;
767 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
768 MkErrorC_Check(hdl,MkErrorSetSOCKET (hdl, detail, callfunc));
770 goto end;
771 error:
773 end:
776}
#define SetSOCKET_doc
#define MkErrorSetSOCKET(...)