From ec17a98d42d8f90d8cbefb01943562a63f2e74d5 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 17 Nov 2019 14:27:09 +0000 Subject: Actually clean up the filesystem when ending a session This requires storing the client path in the wpactrl_t, which uses memory, GOD I HATE THAT STUPID IPC MECHANISM --- src/include/bcnm/wpactrl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/bcnm/wpactrl.h b/src/include/bcnm/wpactrl.h index 102c063..a81385e 100644 --- a/src/include/bcnm/wpactrl.h +++ b/src/include/bcnm/wpactrl.h @@ -47,8 +47,9 @@ struct wpactrl_s size_t datahead ; stralloc data ; stralloc filters ; + stralloc clientpath ; } ; -#define WPACTRL_ZERO { -1, -1, 0, TAIN_ZERO, 0, STRALLOC_ZERO, STRALLOC_ZERO } +#define WPACTRL_ZERO { -1, -1, 0, TAIN_ZERO, 0, STRALLOC_ZERO, STRALLOC_ZERO, STRALLOC_ZERO } #define WPACTRL_OPTION_NOFILTER 0x0001U -- cgit v1.3.1