From ec2aa0959673ba6e3d90053db16fefa81dac3a15 Mon Sep 17 00:00:00 2001 From: anth64 Date: Mon, 3 Nov 2025 21:44:33 +0100 Subject: [PATCH] add stk file event enum and definition for stk poll --- include/stk.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/stk.h b/include/stk.h index f93177a..b507f6a 100644 --- a/include/stk.h +++ b/include/stk.h @@ -11,10 +11,18 @@ extern "C" { #endif +typedef enum { + STK_FILE_CREATED, + STK_FILE_MODIFIED, + STK_FILE_DELETED, + STK_FILE_RENAMED +} stk_file_event_t; + int stk_init(const char *mod_dir); int stk_shutdown(void); - size_t stk_module_count(void); +size_t stk_poll(void); + #ifdef __cplusplus } #endif