add new context arg to libwebsockets_serve_http_file
Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/lib/parsers.c b/lib/parsers.c
index 4da1cff..3d2139c 100644
--- a/lib/parsers.c
+++ b/lib/parsers.c
@@ -1979,6 +1979,7 @@
/**
* libwebsockets_serve_http_file() - Send a file back to the client using http
+ * @context: libwebsockets context
* @wsi: Websocket instance (available from user callback)
* @file: The file to issue over http
* @content_type: The http content type, eg, text/html
diff --git a/libwebsockets-api-doc.html b/libwebsockets-api-doc.html
index ed43e09..927573a 100644
--- a/libwebsockets-api-doc.html
+++ b/libwebsockets-api-doc.html
@@ -417,6 +417,8 @@
<i>const char *</i> <b>content_type</b>)
<h3>Arguments</h3>
<dl>
+<dt><b>context</b>
+<dd>libwebsockets context
<dt><b>wsi</b>
<dd>Websocket instance (available from user callback)
<dt><b>file</b>