From dd9713497bfc9e27f9b1ff3181d34ee241f05ec8 Mon Sep 17 00:00:00 2001 From: nodist Date: Tue, 30 Jun 2026 16:13:39 -0400 Subject: match internal kpl status --- docs/application/interface.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'docs/application/interface.md') 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; -- cgit v1.2.3