MkBufferListC - define the class … More...
Collaboration diagram for MkBufferListC_Class_C_API:Topics | |
| MkBufferListC_Class_Define_C_API | |
| MkBufferListC - low level definition, access and cast … | |
Typedefs | |
| typedef struct MkBufferListS * | MK_BFL |
class-shortcut for struct MkBufferListS *, all shortcut using the XX_YYY syntax (only for public API) … | |
| typedef const struct MkBufferListS * | MK_BFLN |
class-shortcut for const struct MkBufferListS *, all const shortcut using the XX_YYYC syntax (only for public API) … | |
| typedef struct MkBufferListS | MK_BFLR |
reference-shortcut for struct MkBufferListS, all shortcut using the XX_YYYR syntax (only for public API) … | |
| typedef struct MkBufferListS * | MK_BAC |
| a list of 'buffer' as last argument in function … | |
| typedef const struct MkBufferListS * | 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 | MkBufferListInstances_RT (MK_RT mkrt) |
| get head-instance from linked-list of MkBufferListS type … | |
| static MK_BFL | MkBufferListNext (MK_BFL const bfl) |
| get next instance from linked-list of MkBufferListS type | |
| static MK_BFL | 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 | 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 | 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 | MkBufferListGetNull (void) |
Null-Slot - return a MkBufferListC typed NULL instance … | |
MkBufferListC - Export - function | |
| MK_BFL | MkBufferListHandleResolveP (MK_RT mkrt, MK_HDL const netHdl) |
| Non-inline replacement for MkBufferListHandleResolve … | |
| MK_HDL | MkBufferListHandleGetP (MK_RT mkrt, MK_BFL const bfl) |
| Non-inline replacement for MkBufferListHandleGet … | |
MkBufferListC - Introspection - function | |
| MK_BFL | MkBufferListNextP (MK_BFL const bfl) |
| Non-inline replacement for MkBufferListNext … | |
| MK_BFL | MkBufferListPrevP (MK_BFL const bfl) |
| Non-inline replacement for MkBufferListPrev … | |
| MK_BFL | MkBufferListInstancesP (MK_RT mkrt) |
| Non-inline replacement for MkBufferListInstances … | |
MkBufferListC - Misc - function | |
| MK_BFL | MkBufferListGetNullP (void) |
| Non-inline replacement for MkBufferListGetNull … | |
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 477 of file kernel_overload_mk.h.
| #define MkBufferListHandleGet_NULL | ( | ... | ) |
Definition at line 476 of file kernel_overload_mk.h.
| #define MkBufferListHandleResolve | ( | ... | ) |
Definition at line 473 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 281 of file MkBufferListC_def_mk.h.
| #define MkBufferListHandleResolve_NULL | ( | ... | ) |
Definition at line 472 of file kernel_overload_mk.h.
| #define MkBufferListInstances | ( | ) |
Definition at line 488 of file kernel_overload_mk.h.
| #define MkBufferListInstances_NULL | ( | ) |
Definition at line 487 of file kernel_overload_mk.h.
| typedef struct MkBufferListS* MK_BAC |
a list of 'buffer' as last argument in function …
Definition at line 1661 of file LibMkKernel_mk.h.
| typedef const struct MkBufferListS* MK_BACN |
const - a list of 'buffer' as last argument in function …
Definition at line 1666 of file LibMkKernel_mk.h.
| typedef struct MkBufferListS* MK_BFL |
class-shortcut for struct MkBufferListS *, all shortcut using the XX_YYY syntax (only for public API) …
Definition at line 1548 of file LibMkKernel_mk.h.
| typedef const struct MkBufferListS* MK_BFLN |
class-shortcut for const struct MkBufferListS *, all const shortcut using the XX_YYYC syntax (only for public API) …
Definition at line 1551 of file LibMkKernel_mk.h.
| typedef struct MkBufferListS MK_BFLR |
reference-shortcut for struct MkBufferListS, all shortcut using the XX_YYYR syntax (only for public API) …
Definition at line 1554 of file LibMkKernel_mk.h.
|
inlinestatic |
Null-Slot - return a MkBufferListC typed NULL instance …
Definition at line 306 of file MkBufferListC_def_mk.h.
| MK_BFL MkBufferListGetNullP | ( | void | ) |
Non-inline replacement for MkBufferListGetNull …
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 248 of file MkBufferListC_def_mk.h.
Non-inline replacement for MkBufferListHandleGet …
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 265 of file MkBufferListC_def_mk.h.
Non-inline replacement for MkBufferListHandleResolve …
get head-instance from linked-list of MkBufferListS type …
The head-instance is the last instance created.
Definition at line 13182 of file LibMkKernel_mk.h.
Non-inline replacement for MkBufferListInstances …
get next instance from linked-list of MkBufferListS type
Definition at line 13189 of file LibMkKernel_mk.h.
Non-inline replacement for MkBufferListNext …
get previous instance from linked-list of MkBufferListS type
Definition at line 13196 of file LibMkKernel_mk.h.
Non-inline replacement for MkBufferListPrev …