theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ConfigApi_Get_TCL_API

MqContextC - various function to 'get' the configuration-data from a contextMore...

+ Collaboration diagram for MqContextC_ConfigApi_Get_TCL_API:

Functions

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStartAsNum (MqContextC_ARGS)
  Tcl: MqStartE [$ctx ConfigGetStartAs] C-API
return the MqConfigS::startAs value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStatusIsNum (MqContextC_ARGS)
  Tcl: MqStatusIsEF [$ctx ConfigGetStatusIs] C-API
return the MqContextS::statusIs value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoTcpL (MqContextC_ARGS)
  Tcl: MkBufferListC [$ctx ConfigGetIoTcpL] C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetBuffersize (MqContextC_ARGS)
  Tcl: int32 [$ctx ConfigGetBuffersize] C-API
get the minimum of the read/send buffersize of the socket
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIdentFrom (MqContextC_ARGS)
  Tcl: MqIdentE [$ctx ConfigGetIdentFrom] C-API
get the MqConfigS::identFrom
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoPipe (MqContextC_ARGS)
  Tcl: int32 [$ctx ConfigGetIoPipe] C-API
return the MqIoPipeConfigS
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoUds (MqContextC_ARGS)
  Tcl: string [$ctx ConfigGetIoUds] C-API
return the MqIoUdsConfigS
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIsParent (MqContextC_ARGS)
  Tcl: bool [$ctx ConfigGetIsParent] C-API
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is "MK_NULL"
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIsServer (MqContextC_ARGS)
  Tcl: bool [$ctx ConfigGetIsServer] C-API
does the context object is a server ?
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIsString (MqContextC_ARGS)
  Tcl: bool [$ctx ConfigGetIsString] C-API
does the context object is using the string-mode ?
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetName (MqContextC_ARGS)
  Tcl: string [$ctx ConfigGetName] C-API
get the name of the context object
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetPkgsize (MqContextC_ARGS)
  Tcl: int32 [$ctx ConfigGetPkgsize] C-API
get the maximun size of a BDY package
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetPostfix (MqContextC_ARGS)
  Tcl: string [$ctx ConfigGetPostfix] C-API
get the MqConfigS::dispPostfix
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetPrefix (MqContextC_ARGS)
  Tcl: string [$ctx ConfigGetPrefix] C-API
get the MqConfigS::dispPrefix
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStartAs (MqContextC_ARGS)
  Tcl: MqStartE [$ctx ConfigGetStartAs] C-API
return the MqConfigS::startAs value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStatusIs (MqContextC_ARGS)
  Tcl: MqStatusIsEF [$ctx ConfigGetStatusIs] C-API
return the MqContextS::statusIs value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStorage (MqContextC_ARGS)
  Tcl: string [$ctx ConfigGetStorage] C-API
get the storage of the context object
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetTimeout (MqContextC_ARGS)
  Tcl: MkTimeoutE|int32 [$ctx ConfigGetTimeout] C-API
get the timeout value of the context object
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetConfigFile (MqContextC_ARGS)
  Tcl: $ctx ConfigSetConfigFile filename:string C-API
set the config-file and parse for well-known config-items
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoTcp (MqContextC_ARGS)
  Tcl: {host:string port:string myhost:string myport:string} [$ctx ConfigGetIoTcp] C-API
get the configuration-data of the tcp-client-server-link
 

Detailed Description

MqContextC - various function to 'get' the configuration-data from a context

Function Documentation

◆ tclmqmsgque_MqContextC_ConfigGetBuffersize()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetBuffersize ( MqContextC_ARGS )
static

Tcl: int32 [$ctx ConfigGetBuffersize] C-API
get the minimum of the read/send buffersize of the socket

Definition at line 696 of file MqContextC_tcl.c.

696 {
701 goto end;
702 error:
704 end:
706}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_SET_I32(nat)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
#define ConfigGetBuffersize_doc
#define error
Definition high_lng.h:339
static MK_I32 MqConfigGetBuffersize(MQ_CTXN const ctx)
get the minimum of the read/send buffersize of the socket

◆ tclmqmsgque_MqContextC_ConfigGetIdentFrom()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIdentFrom ( MqContextC_ARGS )
static

Tcl: MqIdentE [$ctx ConfigGetIdentFrom] C-API
get the MqConfigS::identFrom

Definition at line 709 of file MqContextC_tcl.c.

709 {
714 goto end;
715 error:
717 end:
719}
#define OT_retObj_SET(val)
#define OT_NEW_Mq_enum_OBJ(typ, val)
#define ConfigGetIdentFrom_doc
static enum MqIdentE MqConfigGetIdentFrom(MQ_CTX const ctx)
get the MqConfigS::identFrom

◆ tclmqmsgque_MqContextC_ConfigGetIoPipe()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoPipe ( MqContextC_ARGS )
static

Tcl: int32 [$ctx ConfigGetIoPipe] C-API
return the MqIoPipeConfigS

Definition at line 722 of file MqContextC_tcl.c.

722 {
727 goto end;
728 error:
730 end:
732}
#define ConfigGetIoPipe_doc
static MQ_SOCK_HDL MqConfigGetIoPipe(MQ_CTX const ctx)
return the MqIoPipeConfigS

◆ tclmqmsgque_MqContextC_ConfigGetIoTcp()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoTcp ( MqContextC_ARGS )
static

Tcl: {host:string port:string myhost:string myport:string} [$ctx ConfigGetIoTcp] C-API
get the configuration-data of the tcp-client-server-link

Definition at line 909 of file MqContextC_tcl.c.

909 {
913 MK_STRN host_out;
914 MK_STRN port_out;
915 MK_STRN myhost_out;
916 MK_STRN myport_out;
917 MkErrorC_Check(hdl,MqConfigGetIoTcp (hdl, &host_out, &port_out, &myhost_out, &myport_out));
921 OT_retObj_APPEND(OT_TMP_STR_OBJ(myhost_out));
922 OT_retObj_APPEND(OT_TMP_STR_OBJ(myport_out));
923 goto end;
924 error:
926 end:
928}
#define OT_retObj_SET_List
#define OT_retObj_APPEND(var)
#define OT_TMP_STR_OBJ(val)
#define MkErrorC_Check(mng, PROC)
#define ConfigGetIoTcp_doc
const MK_STRB * MK_STRN
enum MkErrorE MqConfigGetIoTcp(MQ_CTX const ctx, MK_STRN *host_out, MK_STRN *port_out, MK_STRN *myhost_out, MK_STRN *myport_out)
get the configuration-data of the tcp-client-server-link …

◆ tclmqmsgque_MqContextC_ConfigGetIoTcpL()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoTcpL ( MqContextC_ARGS )
static

Tcl: MkBufferListC [$ctx ConfigGetIoTcpL] C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC

Definition at line 679 of file MqContextC_tcl.c.

679 {
683 MK_BFL vals_out;
684 MkErrorC_Check(hdl,MqConfigGetIoTcpL (hdl, &vals_out));
685 OT_retObj_SET_BFL(vals_out);
686 goto end;
687 error:
689 end:
691}
#define OT_retObj_SET_BFL(nat)
#define ConfigGetIoTcpL_doc
#define MqConfigGetIoTcpL(...)

◆ tclmqmsgque_MqContextC_ConfigGetIoUds()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoUds ( MqContextC_ARGS )
static

Tcl: string [$ctx ConfigGetIoUds] C-API
return the MqIoUdsConfigS

Definition at line 735 of file MqContextC_tcl.c.

735 {
740 goto end;
741 error:
743 end:
745}
#define OT_retObj_SET_STR(nat)
#define ConfigGetIoUds_doc
static MK_STRN MqConfigGetIoUds(MQ_CTXN const ctx)
return the MqIoUdsConfigS

◆ tclmqmsgque_MqContextC_ConfigGetIsParent()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIsParent ( MqContextC_ARGS )
static

Tcl: bool [$ctx ConfigGetIsParent] C-API
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is "MK_NULL"

Definition at line 748 of file MqContextC_tcl.c.

748 {
753 goto end;
754 error:
756 end:
758}
#define OT_retObj_SET_BOL(nat)
#define ConfigGetIsParent_doc
static bool MqConfigGetIsParent(MQ_CTX const ctx)
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is "MK...

◆ tclmqmsgque_MqContextC_ConfigGetIsServer()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIsServer ( MqContextC_ARGS )
static

Tcl: bool [$ctx ConfigGetIsServer] C-API
does the context object is a server ?

Definition at line 761 of file MqContextC_tcl.c.

761 {
766 goto end;
767 error:
769 end:
771}
#define ConfigGetIsServer_doc
static bool MqConfigGetIsServer(MQ_CTX const ctx)
does the context object is a server ?

◆ tclmqmsgque_MqContextC_ConfigGetIsString()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIsString ( MqContextC_ARGS )
static

Tcl: bool [$ctx ConfigGetIsString] C-API
does the context object is using the string-mode ?

Definition at line 774 of file MqContextC_tcl.c.

774 {
779 goto end;
780 error:
782 end:
784}
#define ConfigGetIsString_doc
static bool MqConfigGetIsString(MQ_CTX const ctx)
does the context object is using the string-mode ?

◆ tclmqmsgque_MqContextC_ConfigGetName()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetName ( MqContextC_ARGS )
static

Tcl: string [$ctx ConfigGetName] C-API
get the name of the context object

Definition at line 787 of file MqContextC_tcl.c.

787 {
792 goto end;
793 error:
795 end:
797}
#define ConfigGetName_doc
static MK_STRN MqConfigGetName(MQ_CTXN const ctx)
get the name of the context object

◆ tclmqmsgque_MqContextC_ConfigGetPkgsize()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetPkgsize ( MqContextC_ARGS )
static

Tcl: int32 [$ctx ConfigGetPkgsize] C-API
get the maximun size of a BDY package

Definition at line 800 of file MqContextC_tcl.c.

800 {
805 goto end;
806 error:
808 end:
810}
#define ConfigGetPkgsize_doc
static MK_I32 MqConfigGetPkgsize(MQ_CTXN const ctx)
get the maximun size of a BDY package

◆ tclmqmsgque_MqContextC_ConfigGetPostfix()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetPostfix ( MqContextC_ARGS )
static

Tcl: string [$ctx ConfigGetPostfix] C-API
get the MqConfigS::dispPostfix

Definition at line 813 of file MqContextC_tcl.c.

813 {
818 goto end;
819 error:
821 end:
823}
#define ConfigGetPostfix_doc
static MK_STRN MqConfigGetPostfix(MQ_CTXN const ctx)
get the MqConfigS::dispPostfix

◆ tclmqmsgque_MqContextC_ConfigGetPrefix()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetPrefix ( MqContextC_ARGS )
static

Tcl: string [$ctx ConfigGetPrefix] C-API
get the MqConfigS::dispPrefix

Definition at line 826 of file MqContextC_tcl.c.

826 {
831 goto end;
832 error:
834 end:
836}
#define ConfigGetPrefix_doc
static MK_STRN MqConfigGetPrefix(MQ_CTXN const ctx)
get the MqConfigS::dispPrefix

◆ tclmqmsgque_MqContextC_ConfigGetStartAs()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStartAs ( MqContextC_ARGS )
static

Tcl: MqStartE [$ctx ConfigGetStartAs] C-API
return the MqConfigS::startAs value

Definition at line 839 of file MqContextC_tcl.c.

839 {
844 goto end;
845 error:
847 end:
849}
#define ConfigGetStartAs_doc
static enum MqStartE MqConfigGetStartAs(MQ_CTX const ctx)
return the MqConfigS::startAs value

◆ tclmqmsgque_MqContextC_ConfigGetStartAsNum()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStartAsNum ( MqContextC_ARGS )
static

Tcl: MqStartE [$ctx ConfigGetStartAs] C-API
return the MqConfigS::startAs value

Definition at line 444 of file MqContextC_tcl.c.

444 {
446 OT_SETUP_NOARG("int [$ctx ConfigGetStartAsNum]");
448 OT_retObj_SET(Tcl_NewIntObj(MqConfigGetStartAs (hdl)));
449 goto end;
450 error:
452 end:
454}

◆ tclmqmsgque_MqContextC_ConfigGetStatusIs()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStatusIs ( MqContextC_ARGS )
static

Tcl: MqStatusIsEF [$ctx ConfigGetStatusIs] C-API
return the MqContextS::statusIs value

Definition at line 852 of file MqContextC_tcl.c.

852 {
857 goto end;
858 error:
860 end:
862}
#define ConfigGetStatusIs_doc
static enum MqStatusIsEF MqConfigGetStatusIs(MQ_CTX const ctx)
return the MqContextS::statusIs value

◆ tclmqmsgque_MqContextC_ConfigGetStatusIsNum()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStatusIsNum ( MqContextC_ARGS )
static

Tcl: MqStatusIsEF [$ctx ConfigGetStatusIs] C-API
return the MqContextS::statusIs value

Definition at line 458 of file MqContextC_tcl.c.

458 {
460 OT_SETUP_NOARG("int [$ctx ConfigGetStatusIsNum]");
462 OT_retObj_SET(Tcl_NewIntObj(MqConfigGetStatusIs (hdl)));
463 goto end;
464 error:
466 end:
468}

◆ tclmqmsgque_MqContextC_ConfigGetStorage()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStorage ( MqContextC_ARGS )
static

Tcl: string [$ctx ConfigGetStorage] C-API
get the storage of the context object

Definition at line 865 of file MqContextC_tcl.c.

865 {
870 goto end;
871 error:
873 end:
875}
#define ConfigGetStorage_doc
static MK_STRN MqConfigGetStorage(MQ_CTXN const ctx)
get the storage of the context object

◆ tclmqmsgque_MqContextC_ConfigGetTimeout()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetTimeout ( MqContextC_ARGS )
static

Tcl: MkTimeoutE|int32 [$ctx ConfigGetTimeout] C-API
get the timeout value of the context object

Definition at line 878 of file MqContextC_tcl.c.

878 {
883 goto end;
884 error:
886 end:
888}
#define OT_retObj_SET_LONG(nat)
#define ConfigGetTimeout_doc
static MK_TIME_T MqConfigGetTimeout(MQ_CTXN const ctx)
get the timeout value of the context object

◆ tclmqmsgque_MqContextC_ConfigSetConfigFile()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetConfigFile ( MqContextC_ARGS )
static

Tcl: $ctx ConfigSetConfigFile filename:string C-API
set the config-file and parse for well-known config-items

Definition at line 891 of file MqContextC_tcl.c.

891 {
894 MK_STRN filename = 0;
897 MkErrorC_Check(hdl,MqConfigSetConfigFile (hdl, filename));
899 goto end;
900 error:
902 end:
904}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_CHECK_STRN(val)
#define ConfigSetConfigFile_doc
#define MqConfigSetConfigFile(...)