--- a/src/server/safs/service.h Fri May 30 12:18:15 2025 +0200 +++ b/src/server/safs/service.h Fri May 30 14:11:56 2025 +0200 @@ -67,6 +67,14 @@ WSBool write_inprogress; WSBool error; } AsyncSendRange; + +typedef struct IndexEntry { + char *name; + char *size_str; + char *lastmodified; + size_t size; + WSBool isdir; +} IndexEntry; int send_file(pblock *pb, Session *sn, Request *rq);