projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16ee4b6
)
fops: add path_prefix member
author
Andy Green
<andy@warmcat.com>
Wed, 1 Mar 2017 00:56:25 +0000
(08:56 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 1 Mar 2017 02:01:53 +0000
(10:01 +0800)
lib/libwebsockets.h
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.h
b/lib/libwebsockets.h
index
b1e5d9f
..
a9ee567
100644
(file)
--- 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 */