MkBufferListC - define the class … More...
Topics | |
MkBufferListC_Class_Define_C_API | |
MkBufferListC - low level definition, access and cast … | |
Typedefs | |
typedef struct MkBufferListS * | libmkkernel::MK_BFL |
class-shortcut for struct MkBufferListS * , all shortcut using the XX_YYY syntax (only for public API) … | |
typedef const struct MkBufferListS * | libmkkernel::MK_BFLN |
class-shortcut for const struct MkBufferListS * , all const shortcut using the XX_YYYC syntax (only for public API) … | |
typedef struct MkBufferListS | libmkkernel::MK_BFLR |
reference-shortcut for struct MkBufferListS , all shortcut using the XX_YYYR syntax (only for public API) … | |
typedef struct MkBufferListS * | libmkkernel::MK_BAC |
a list of 'buffer' as last argument in function … | |
typedef const struct MkBufferListS * | libmkkernel::MK_BACN |
const - a list of 'buffer' as last argument in function … | |
MkBufferListC - Introspection - inline - access to all instances created by class starting with the last one | |
static MK_BFL | libmkkernel::MkBufferListInstances_RT (MK_RT mkrt) |
get head-instance from linked-list of MkBufferListS type … | |
static MK_BFL | libmkkernel::MkBufferListNext (MK_BFL const bfl) |
get next instance from linked-list of MkBufferListS type | |
static MK_BFL | libmkkernel::MkBufferListPrev (MK_BFL const bfl) |
get previous instance from linked-list of MkBufferListS type | |
MkBufferListC - Export - inline - interact with an external software | |
static MK_HDL | libmkkernel::MkBufferListHandleGet_RT (MK_RT mkrt, MK_BFL const bfl) |
Handle-Get-Slot - returns a export-hdl to the MkBufferListC useable for external storage | |
static MK_BFL | libmkkernel::MkBufferListHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a MkBufferListC from netHdl or MK_NULL if invalid… | |
#define | MkBufferListHandleResolve_e(netHdl) |
wrapper for MkBufferListHandleResolve with error-handline | |
MkBufferListC - Misc - function - unspecified functions to perform different tasks | |
static MK_BFL | libmkkernel::MkBufferListGetNull (void) |
Null-Slot - return a MkBufferListC typed NULL instance … | |
MkBufferListC - Export - overload | |
#define | MkBufferListHandleResolve_NULL(...) |
#define | MkBufferListHandleResolve(...) |
#define | MkBufferListHandleGet_NULL(...) |
#define | MkBufferListHandleGet(...) |
MkBufferListC - Introspection - overload | |
#define | MkBufferListInstances_NULL() |
#define | MkBufferListInstances() |
MkBufferListC - define the class …
#define MkBufferListHandleGet | ( | ... | ) |
Definition at line 480 of file kernel_overload_mk.h.
#define MkBufferListHandleGet_NULL | ( | ... | ) |
Definition at line 479 of file kernel_overload_mk.h.
#define MkBufferListHandleResolve | ( | ... | ) |
Definition at line 476 of file kernel_overload_mk.h.
#define MkBufferListHandleResolve_e | ( | netHdl | ) |
wrapper for MkBufferListHandleResolve with error-handline
[in] | netHdl | The handle previously returned by MkObjectHandleGet. |
MK_NULL
with an error set.0
than MK_NULL
is returned and the upper-code decide how to deal with it.MK_NULL
if the netHdl is invalid or the underlying object has already been deleted.MK_NULL
is returned than an error-message is created and a jump to the label error is done.Definition at line 284 of file MkBufferListC_def_mk.h.
#define MkBufferListHandleResolve_NULL | ( | ... | ) |
Definition at line 475 of file kernel_overload_mk.h.
#define MkBufferListInstances | ( | ) |
Definition at line 491 of file kernel_overload_mk.h.
#define MkBufferListInstances_NULL | ( | ) |
Definition at line 490 of file kernel_overload_mk.h.
typedef struct MkBufferListS* libmkkernel::MK_BAC |
a list of 'buffer' as last argument in function …
Definition at line 1579 of file LibMkKernel_mk.h.
typedef const struct MkBufferListS* libmkkernel::MK_BACN |
const - a list of 'buffer' as last argument in function …
Definition at line 1584 of file LibMkKernel_mk.h.
typedef struct MkBufferListS* libmkkernel::MK_BFL |
class-shortcut for struct MkBufferListS *
, all shortcut using the XX_YYY
syntax (only for public API) …
Definition at line 1466 of file LibMkKernel_mk.h.
typedef const struct MkBufferListS* libmkkernel::MK_BFLN |
class-shortcut for const struct MkBufferListS *
, all const shortcut using the XX_YYYC
syntax (only for public API) …
Definition at line 1469 of file LibMkKernel_mk.h.
typedef struct MkBufferListS libmkkernel::MK_BFLR |
reference-shortcut for struct MkBufferListS
, all shortcut using the XX_YYYR
syntax (only for public API) …
Definition at line 1472 of file LibMkKernel_mk.h.
|
inlinestatic |
Null-Slot - return a MkBufferListC typed NULL
instance …
Definition at line 309 of file MkBufferListC_def_mk.h.
Handle-Get-Slot - returns a export-hdl to the MkBufferListC useable for external storage
The export-hdl is a reference to an instance that can be stored in software and converted back into an instance using the MkBufferListHandleResolve.
By default, the export-hdl is initialized to "0", which is equivalent to does not exist. This function returns a non-zero and unique export-hdl that is recreated if necessary.
The export-hdl is only valid until the Programming-Language-Micro-Kernel (PLMK) ends.
example: The export-hdl is used in rpc to identify an object across the network.
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | bfl | the MkBufferListS instance to work on |
Definition at line 251 of file MkBufferListC_def_mk.h.
|
inlinestatic |
Handle-Resolve-Slot - return a MkBufferListC from netHdl or MK_NULL
if invalid…
The MkBufferListHandleResolve undo the MkBufferListHandleGet and is intended to export a unique identifer into external code not belonging to the Programming-Language-Micro-Kernel (PLMK).
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | netHdl | handle former exported with MkBufferListHandleGet |
MK_NULL
if netHdl is invalid Definition at line 268 of file MkBufferListC_def_mk.h.
get head-instance from linked-list of MkBufferListS type …
The head-instance is the last instance created.
Definition at line 12666 of file LibMkKernel_mk.h.
get next instance from linked-list of MkBufferListS type
Definition at line 12673 of file LibMkKernel_mk.h.
get previous instance from linked-list of MkBufferListS type
Definition at line 12680 of file LibMkKernel_mk.h.