From a9abaddf5ca5887050410ab091f6dce1b281ae03 Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 10 May 2017 20:52:34 +0200 Subject: [PATCH] Added FSAsyncCallback --- fs_defs.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fs_defs.h b/fs_defs.h index 89de8b1..6db7fa4 100644 --- a/fs_defs.h +++ b/fs_defs.h @@ -52,6 +52,14 @@ typedef struct char name[FS_MAX_ENTNAME_SIZE]; } FSDirEntry; +typedef void (*FSAsyncCallback)(void *pClient, void *pCmd, int result, void *context); +typedef struct +{ + FSAsyncCallback userCallback; + void *userContext; + void *ioMsgQueue; +} FSAsyncParams; + #ifdef __cplusplus }