ccmkkernel 9.0
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Variables
MkKernel_Type_C_API

a collection of common used data types and definitions … More...

+ Collaboration diagram for MkKernel_Type_C_API:

Classes

struct  libmkkernel::MK_STRN_A
 array of libmkkernel::MK_STRN values … More...
 

Macros

#define MK_ALFA   '@'
 MK_ALFA the command-line separator between server and client …
 
#define MK_ALFA_STR   ((MkStringR){1,"@"})
 MK_ALFA the command-line separator as string …
 
#define bool2str(_bool)   (_bool?"true":"false")
 
#define MK_FORMAT_N   "%i"
 

Typedefs

typedef unsigned char libmkkernel::MK_BOL
 1 byte boolean data-type
 
typedef signed char libmkkernel::MK_BYT
 1 byte byte data-type
 
typedef signed short libmkkernel::MK_SRT
 2 byte short data-type
 
typedef signed int libmkkernel::MK_INT
 4 byte integer data-type
 
typedef float libmkkernel::MK_FLT
 4 byte float data-type
 
typedef int64_t libmkkernel::MK_WID
 8 byte wide integer data-type
 
typedef long libmkkernel::MK_SIZE
 
typedef long long libmkkernel::MK_LLG
 min 8 byte long long
 
typedef double libmkkernel::MK_DBL
 8 byte double data-type
 
typedef long libmkkernel::MK_LONG
 4/8 byte long data-type
 
typedef bool libmkkernel::MK_BOOL
 real bool data-type
 
typedef union MkBufferAtomU libmkkernel::MK_ATO
 8 byte atom data-type
 
typedef int32_t libmkkernel::MK_NUM
 array size data-type ('num' items in array …
 
typedef int libmkkernel::MK_DBG
 debug-level data-type …
 
typedef void libmkkernel::MK_PTRB
 pointer type data-type
 
typedef char libmkkernel::MK_STRB
 string type data-type
 
typedef unsigned char libmkkernel::MK_BINB
 byte-array type data-type
 
typedef unsigned char libmkkernel::MK_LSTB
 list type data-type
 
typedef MK_PTRBlibmkkernel::MK_PTR
 generic pointer data-type
 
typedef const MK_PTRBlibmkkernel::MK_PTRN
 const generic pointer data-type
 
typedef MK_PTRBlibmkkernel::MK_CCP
 class constructor/destructor data type
 
typedef MK_PTRBlibmkkernel::MK_CBP
 generic pointer to call-back data
 
typedef MK_STRBlibmkkernel::MK_STR
 string pointer data-type
 
typedef MK_PTRBlibmkkernel::MK_MNG
 managed object pointer, datatype will be checked on runtime
 
typedef const MK_PTRBlibmkkernel::MK_MNGN
 const - a managed object pointer, datatype will be checked on runtime
 
typedef MK_PTRB const * libmkkernel::MK_EXP
 exception object pointer
 
typedef MK_PTRBlibmkkernel::MK_MXP
 MkExceptionC object pointer.
 
typedef const MK_STRBlibmkkernel::MK_STRN
 constant string pointer data-type
 
typedef MK_BINBlibmkkernel::MK_BIN
 byte-array pointer data-type
 
typedef MK_BINB const * libmkkernel::MK_BINN
 const byte-array pointer data-type
 
typedef MK_LSTBlibmkkernel::MK_LST
 list pointer data-type
 
typedef MK_STRB const * libmkkernel::MK_FST
 const format string pointer data-type
 
typedef unsigned int libmkkernel::MK_SIG
 signature datatype
 

Variables

MK_UNUSED static const MK_STRN_A libmkkernel::MK_STRN_A_NULL = (MK_STRN_A) {0,0}
 

OS wide MK_TIME_T

timeout in seconds as "integer" value

typedef time_t libmkkernel::MK_TIME_T
 
#define MK_FORMAT_TIME   "%li"
 
#define MK_TIME   ((MK_TIME_T)time(NULL))
 
#define MK_TIME_MAX   (365*24*60*60)
 one year
 

helper type for target language implementation

typedef void * libmkkernel::MK_NAT_OBJECT
 
typedef void * libmkkernel::MK_NAT_LIST
 

unsigned integer data-type

typedef uint64_t libmkkernel::MK_USW
 
typedef unsigned int libmkkernel::MK_USI
 
typedef unsigned short libmkkernel::MK_USS
 
typedef unsigned char libmkkernel::MK_USB
 
typedef unsigned long long libmkkernel::MK_UXN
 
typedef unsigned long libmkkernel::MK_ULN
 

MkTypeC


typedef struct MkTypeSlibmkkernel::MK_TYP
 class-shortcut for struct MkTypeS *, all shortcut using the XX_YYY syntax (only for public API) …
 
typedef const struct MkTypeSlibmkkernel::MK_TYPN
 class-shortcut for const struct MkTypeS *, all const shortcut using the XX_YYYC syntax (only for public API) …
 
typedef struct MkTypeS libmkkernel::MK_TYPR
 reference-shortcut for struct MkTypeS, all shortcut using the XX_YYYR syntax (only for public API) …
 
#define META_TIMEOUT_REF   900
 

Detailed Description

a collection of common used data types and definitions …

Macro Definition Documentation

◆ bool2str

#define bool2str (   _bool)    (_bool?"true":"false")

Definition at line 2671 of file kernel_mk.h.

◆ META_TIMEOUT_REF

#define META_TIMEOUT_REF   900

Definition at line 194 of file kernel_mk.h.

◆ MK_ALFA

#define MK_ALFA   '@'

MK_ALFA the command-line separator between server and client …

Definition at line 2626 of file kernel_mk.h.

◆ MK_ALFA_STR

#define MK_ALFA_STR   ((MkStringR){1,"@"})

MK_ALFA the command-line separator as string …

Definition at line 2628 of file kernel_mk.h.

◆ MK_FORMAT_N

#define MK_FORMAT_N   "%i"

Definition at line 2680 of file kernel_mk.h.

◆ MK_FORMAT_TIME

#define MK_FORMAT_TIME   "%li"

Definition at line 2691 of file kernel_mk.h.

◆ MK_TIME

#define MK_TIME   ((MK_TIME_T)time(NULL))

Definition at line 2692 of file kernel_mk.h.

◆ MK_TIME_MAX

#define MK_TIME_MAX   (365*24*60*60)

one year

Definition at line 2693 of file kernel_mk.h.

Typedef Documentation

◆ MK_ATO

8 byte atom data-type

Definition at line 2674 of file kernel_mk.h.

◆ MK_BIN

byte-array pointer data-type

Definition at line 2756 of file kernel_mk.h.

◆ MK_BINB

typedef unsigned char libmkkernel::MK_BINB

byte-array type data-type

Definition at line 2706 of file kernel_mk.h.

◆ MK_BINN

typedef MK_BINB const* libmkkernel::MK_BINN

const byte-array pointer data-type

Definition at line 2759 of file kernel_mk.h.

◆ MK_BOL

typedef unsigned char libmkkernel::MK_BOL

1 byte boolean data-type

Definition at line 2632 of file kernel_mk.h.

◆ MK_BOOL

typedef bool libmkkernel::MK_BOOL

real bool data-type

Definition at line 2670 of file kernel_mk.h.

◆ MK_BYT

typedef signed char libmkkernel::MK_BYT

1 byte byte data-type

Definition at line 2636 of file kernel_mk.h.

◆ MK_CBP

generic pointer to call-back data

Definition at line 2722 of file kernel_mk.h.

◆ MK_CCP

class constructor/destructor data type

Definition at line 2719 of file kernel_mk.h.

◆ MK_DBG

typedef int libmkkernel::MK_DBG

debug-level data-type …

Definition at line 2684 of file kernel_mk.h.

◆ MK_DBL

typedef double libmkkernel::MK_DBL

8 byte double data-type

Definition at line 2663 of file kernel_mk.h.

◆ MK_EXP

typedef MK_PTRB const* libmkkernel::MK_EXP

exception object pointer

Definition at line 2734 of file kernel_mk.h.

◆ MK_FLT

typedef float libmkkernel::MK_FLT

4 byte float data-type

Definition at line 2645 of file kernel_mk.h.

◆ MK_FST

typedef MK_STRB const* libmkkernel::MK_FST

const format string pointer data-type

Definition at line 2765 of file kernel_mk.h.

◆ MK_INT

typedef signed int libmkkernel::MK_INT

4 byte integer data-type

Definition at line 2642 of file kernel_mk.h.

◆ MK_LLG

typedef long long libmkkernel::MK_LLG

min 8 byte long long

Definition at line 2660 of file kernel_mk.h.

◆ MK_LONG

typedef long libmkkernel::MK_LONG

4/8 byte long data-type

Definition at line 2666 of file kernel_mk.h.

◆ MK_LST

list pointer data-type

Definition at line 2762 of file kernel_mk.h.

◆ MK_LSTB

typedef unsigned char libmkkernel::MK_LSTB

list type data-type

Definition at line 2709 of file kernel_mk.h.

◆ MK_MNG

managed object pointer, datatype will be checked on runtime

Definition at line 2728 of file kernel_mk.h.

◆ MK_MNGN

typedef const MK_PTRB* libmkkernel::MK_MNGN

const - a managed object pointer, datatype will be checked on runtime

Definition at line 2731 of file kernel_mk.h.

◆ MK_MXP

MkExceptionC object pointer.

Definition at line 2737 of file kernel_mk.h.

◆ MK_NAT_LIST

typedef void* libmkkernel::MK_NAT_LIST

Definition at line 2772 of file kernel_mk.h.

◆ MK_NAT_OBJECT

Definition at line 2770 of file kernel_mk.h.

◆ MK_NUM

typedef int32_t libmkkernel::MK_NUM

array size data-type ('num' items in array …

Attention
-> need signed integer in pBusReadNextWord -> need int because of pSwapI in pReadHDR

Definition at line 2679 of file kernel_mk.h.

◆ MK_PTR

generic pointer data-type

Definition at line 2713 of file kernel_mk.h.

◆ MK_PTRB

typedef void libmkkernel::MK_PTRB

pointer type data-type

Definition at line 2700 of file kernel_mk.h.

◆ MK_PTRN

typedef const MK_PTRB* libmkkernel::MK_PTRN

const generic pointer data-type

Definition at line 2716 of file kernel_mk.h.

◆ MK_SIG

typedef unsigned int libmkkernel::MK_SIG

signature datatype

Definition at line 2793 of file kernel_mk.h.

◆ MK_SIZE

typedef long libmkkernel::MK_SIZE

Definition at line 2656 of file kernel_mk.h.

◆ MK_SRT

typedef signed short libmkkernel::MK_SRT

2 byte short data-type

Definition at line 2639 of file kernel_mk.h.

◆ MK_STR

string pointer data-type

Definition at line 2725 of file kernel_mk.h.

◆ MK_STRB

typedef char libmkkernel::MK_STRB

string type data-type

Definition at line 2703 of file kernel_mk.h.

◆ MK_STRN

typedef const MK_STRB* libmkkernel::MK_STRN

constant string pointer data-type

internal hdl used in uplevel-programming-language-shell to store a pointer:

Definition at line 2745 of file kernel_mk.h.

◆ MK_TIME_T

typedef time_t libmkkernel::MK_TIME_T

Definition at line 2690 of file kernel_mk.h.

◆ MK_TYP

typedef struct MkTypeS* libmkkernel::MK_TYP

class-shortcut for struct MkTypeS *, all shortcut using the XX_YYY syntax (only for public API) …

Definition at line 3069 of file kernel_mk.h.

◆ MK_TYPN

typedef const struct MkTypeS* libmkkernel::MK_TYPN

class-shortcut for const struct MkTypeS *, all const shortcut using the XX_YYYC syntax (only for public API) …

Definition at line 3072 of file kernel_mk.h.

◆ MK_TYPR

typedef struct MkTypeS libmkkernel::MK_TYPR

reference-shortcut for struct MkTypeS, all shortcut using the XX_YYYR syntax (only for public API) …

Definition at line 3075 of file kernel_mk.h.

◆ MK_ULN

typedef unsigned long libmkkernel::MK_ULN

Definition at line 2788 of file kernel_mk.h.

◆ MK_USB

typedef unsigned char libmkkernel::MK_USB

Definition at line 2784 of file kernel_mk.h.

◆ MK_USI

typedef unsigned int libmkkernel::MK_USI

Definition at line 2780 of file kernel_mk.h.

◆ MK_USS

typedef unsigned short libmkkernel::MK_USS

Definition at line 2782 of file kernel_mk.h.

◆ MK_USW

typedef uint64_t libmkkernel::MK_USW

Definition at line 2778 of file kernel_mk.h.

◆ MK_UXN

typedef unsigned long long libmkkernel::MK_UXN

Definition at line 2786 of file kernel_mk.h.

◆ MK_WID

typedef int64_t libmkkernel::MK_WID

8 byte wide integer data-type

Definition at line 2652 of file kernel_mk.h.

Variable Documentation

◆ MK_STRN_A_NULL

MK_UNUSED static const MK_STRN_A libmkkernel::MK_STRN_A_NULL = (MK_STRN_A) {0,0}
static

Definition at line 2753 of file kernel_mk.h.