diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-30 16:13:39 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-30 16:13:39 -0400 |
| commit | dd9713497bfc9e27f9b1ff3181d34ee241f05ec8 (patch) | |
| tree | d5060412fb69387778d863ffaf7a4a47d9ea848e /docs/application/interface.md | |
| parent | cf9285b1dbdf687630076149413f16e5d4af82e8 (diff) | |
match internal kpl status
Diffstat (limited to 'docs/application/interface.md')
| -rw-r--r-- | docs/application/interface.md | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/application/interface.md b/docs/application/interface.md index 5acfba7..e1c947a 100644 --- a/docs/application/interface.md +++ b/docs/application/interface.md @@ -41,10 +41,26 @@ typedef struct { kpl_interface *interflace; } kpl_class; +typedef enum : uint8_t { + KPL_STATUS_ERROR, + KPL_STATUS_VALUE, + KPL_STATUS_NULL, + KPL_STATUS_DONE +} kpl_status; + typedef struct { - any value, info; + any value; + kpl_status status; } kpl_result; +kpl_result kpl_result_error(error *er); + +kpl_result kpl_result_value(any value); + +kpl_result kpl_result_null(void); + +kpl_result kpl_result_done(void); + typdef struct { uint16_t slab_index, array_index; } kpl_ptr; |
