From b2c53a9ee5f006a587522f3d169e3c44744e366d Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Tue, 18 Oct 2022 10:29:49 +0200 Subject: [PATCH] fixup! gcoap/fileserver: add event callbacks --- sys/include/net/gcoap/fileserver.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/include/net/gcoap/fileserver.h b/sys/include/net/gcoap/fileserver.h index d7b165930a6e3..f79fb3443a1ac 100644 --- a/sys/include/net/gcoap/fileserver.h +++ b/sys/include/net/gcoap/fileserver.h @@ -100,7 +100,8 @@ typedef enum { GCOAP_FILESERVER_GET_END, /**< file download finished */ GCOAP_FILESERVER_PUT_START, /**< file upload started */ GCOAP_FILESERVER_PUT_END, /**< file upload finished */ - GCOAP_FILESERVER_DELETE, /**< file deletion requested */ + GCOAP_FILESERVER_DELETE, /**< file deletion requested + (called before file is deleted) */ } gcoap_fileserver_event_t; /**