theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
MqErrorC_C_API

MqErrorS - the class known as err or error is the extension of the kernel-error MkErrorSMore...

+ Collaboration diagram for MqErrorC_C_API:

Topics

 MqErrorC_Class_C_API
 MqErrorS - define the class …
 
 MqErrorC_Class_Define_C_API
 MqErrorS - low level definition, access and cast …
 

Data Structures

struct  MqErrorS
 Extend the MkErrorS with pymqmsgque specific features … More...
 

Functions

void MqErrorEnvReset (MQ_ERR const err)
 reset the MqErrorS::client_protect and the MqErrorS::server_protect
 

access the predefined error from \ref doc_mk_py_MkRuntimeC

#define MqERROR_R(r)
 
#define MqERROR_RT   MqERROR_R(&MQ_RT_REF)
 
#define MqERROR_O(o)
 
#define MqERROR_X(x)
 
#define MqERROR_XN(x)
 
#define MqERROR   MqERROR_R(&MqRuntimeRLS)
 

Detailed Description

MqErrorS - the class known as err or error is the extension of the kernel-error MkErrorS

An error is a singleton, one error per runtime. After splitting the LibMsgque kernel into pymqmsgque and pymqmsgque the error is now splitted betweeen two and possible more packages. The solution was the introduction of the MkErrExtS entension technology.

Macro Definition Documentation

◆ MqERROR

#define MqERROR   MqERROR_R(&MqRuntimeRLS)

Definition at line 2955 of file LibMqMsgque_mq.h.

◆ MqERROR_O

#define MqERROR_O ( o)
Value:
#define MqRT_O(o)
#define MqERROR_R(r)

Definition at line 2952 of file LibMqMsgque_mq.h.

◆ MqERROR_R

#define MqERROR_R ( r)
Value:
((*r).error_mq)

Definition at line 2950 of file LibMqMsgque_mq.h.

◆ MqERROR_RT

#define MqERROR_RT   MqERROR_R(&MQ_RT_REF)

Definition at line 2951 of file LibMqMsgque_mq.h.

◆ MqERROR_X

#define MqERROR_X ( x)
Value:
#define MqRT_X(x)

Definition at line 2953 of file LibMqMsgque_mq.h.

◆ MqERROR_XN

#define MqERROR_XN ( x)
Value:
#define MqRT_XN(x)

Definition at line 2954 of file LibMqMsgque_mq.h.

Function Documentation

◆ MqErrorEnvReset()

void MqErrorEnvReset ( MQ_ERR const err)

reset the MqErrorS::client_protect and the MqErrorS::server_protect

void
{
err->client_protect = protectINIT;
err->server_protect = protectINIT;
}
Parameters
[in]errthe MkErrorS instance to work on - the default-error is automatically created on startup. (NULL allowed)