From 8bb3dffc86387c02ac5d7d0ebfc8378b4c51170a Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 1 Mar 2017 08:56:25 +0800 Subject: [PATCH] fops: add path_prefix member --- lib/libwebsockets.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index b1e5d9f5d..a9ee56776 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -4288,6 +4288,8 @@ struct lws_plat_file_ops { int (*LWS_FOP_WRITE)(lws_fop_fd_t fop_fd, lws_filepos_t *amount, uint8_t *buf, lws_filepos_t len); /**< Write to file, on exit *amount is set to amount actually written */ + const char *path_prefix; + /**< Optional, NULL or filesystem namespace prefix matching this fops */ /* Add new things just above here ---^ * This is part of the ABI, don't needlessly break compatibility */