2016-06-20 17:05:31 +08:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.11" / >
< title > libwebsockets: Vhost mounts and options< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< script type = "text/javascript" >
$(document).ready(initResizable);
$(window).load(resizeHeight);
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "libwebsockets.org-logo.png" / > < / td >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > libwebsockets
< / div >
< div id = "projectbrief" > Lightweight C library for HTML5 websockets< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li class = "current" > < a href = "modules.html" > < span > Modules< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Data  Structures< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
$(document).ready(function(){initNavTree('group__vhost-mounts.html','');});
< / script >
< div id = "doc-content" >
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Data Structures< / a > |
< a href = "#enum-members" > Enumerations< / a > < / div >
< div class = "headertitle" >
< div class = "title" > Vhost mounts and options< div class = "ingroups" > < a class = "el" href = "group__context-and-vhost.html" > Context-and-vhost< / a > < / div > < / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Data Structures< / h2 > < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structlws__protocol__vhost__options.html" > lws_protocol_vhost_options< / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structlws__http__mount.html" > lws_http_mount< / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "enum-members" > < / a >
Enumerations< / h2 > < / td > < / tr >
< tr class = "memitem:ga31eca18e50cb4357480f2fcad36ff437" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__vhost-mounts.html#ga31eca18e50cb4357480f2fcad36ff437" > lws_mount_protocols< / a > { < br / >
    < a class = "el" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a1e9f0842b0e85db50fe648ed4ba9a4b0" > LWSMPRO_HTTP< / a > = 0,
< a class = "el" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437afbd10eb4777517ed1f6bfdcf3b9ea1d1" > LWSMPRO_HTTPS< / a > = 1,
< a class = "el" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a42f2361cfe76cd287fa8fcfc502357e2" > LWSMPRO_FILE< / a > = 2,
< a class = "el" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a13ab58b01ac6e05f595977f1e0f0db69" > LWSMPRO_CGI< / a > = 3,
< br / >
    < a class = "el" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437aec137a2434851bd856ceebfb697b9970" > LWSMPRO_REDIR_HTTP< / a > = 4,
< a class = "el" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a8894d16316863077dfe530963ca59f67" > LWSMPRO_REDIR_HTTPS< / a > = 5,
< a class = "el" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a946a88cf9c852eed2c0317f4115d19da" > LWSMPRO_CALLBACK< / a > = 6
< br / >
}< / td > < / tr >
< tr class = "separator:ga31eca18e50cb4357480f2fcad36ff437" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< h2 > Vhost mounts and options< / h2 >
< h2 class = "groupheader" > Enumeration Type Documentation< / h2 >
< a class = "anchor" id = "ga31eca18e50cb4357480f2fcad36ff437" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "group__vhost-mounts.html#ga31eca18e50cb4357480f2fcad36ff437" > lws_mount_protocols< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > < code > #include < < a class = "el" href = "libwebsockets_8h.html" > lib/libwebsockets.h< / a > > < / code > < / p >
< p > enum lws_mount_protocols This specifies the mount protocol for a mountpoint, whether it is to be served from a filesystem, or it is a cgi etc. < / p >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < a class = "anchor" id = "gga31eca18e50cb4357480f2fcad36ff437a1e9f0842b0e85db50fe648ed4ba9a4b0" > < / a > LWSMPRO_HTTP  < / td > < td class = "fielddoc" >
< p > not supported yet < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < a class = "anchor" id = "gga31eca18e50cb4357480f2fcad36ff437afbd10eb4777517ed1f6bfdcf3b9ea1d1" > < / a > LWSMPRO_HTTPS  < / td > < td class = "fielddoc" >
< p > not supported yet < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < a class = "anchor" id = "gga31eca18e50cb4357480f2fcad36ff437a42f2361cfe76cd287fa8fcfc502357e2" > < / a > LWSMPRO_FILE  < / td > < td class = "fielddoc" >
< p > serve from filesystem directory < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < a class = "anchor" id = "gga31eca18e50cb4357480f2fcad36ff437a13ab58b01ac6e05f595977f1e0f0db69" > < / a > LWSMPRO_CGI  < / td > < td class = "fielddoc" >
< p > pass to CGI to handle < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < a class = "anchor" id = "gga31eca18e50cb4357480f2fcad36ff437aec137a2434851bd856ceebfb697b9970" > < / a > LWSMPRO_REDIR_HTTP  < / td > < td class = "fielddoc" >
< p > redirect to < a href = "http://" > http://< / a > url < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < a class = "anchor" id = "gga31eca18e50cb4357480f2fcad36ff437a8894d16316863077dfe530963ca59f67" > < / a > LWSMPRO_REDIR_HTTPS  < / td > < td class = "fielddoc" >
< p > redirect to < a href = "https://" > https://< / a > url < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < a class = "anchor" id = "gga31eca18e50cb4357480f2fcad36ff437a946a88cf9c852eed2c0317f4115d19da" > < / a > LWSMPRO_CALLBACK  < / td > < td class = "fielddoc" >
< p > hand by named protocol's callback < / p >
< / td > < / tr >
< / table >
2016-10-05 13:49:46 +08:00
< div class = "fragment" > < div class = "line" > < a name = "l01911" > < / a > < span class = "lineno" > 1911< / span >   {< / div > < div class = "line" > < a name = "l01912" > < / a > < span class = "lineno" > 1912< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a1e9f0842b0e85db50fe648ed4ba9a4b0" > LWSMPRO_HTTP< / a > = 0, < / div > < div class = "line" > < a name = "l01913" > < / a > < span class = "lineno" > 1913< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437afbd10eb4777517ed1f6bfdcf3b9ea1d1" > LWSMPRO_HTTPS< / a > = 1, < / div > < div class = "line" > < a name = "l01914" > < / a > < span class = "lineno" > 1914< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a42f2361cfe76cd287fa8fcfc502357e2" > LWSMPRO_FILE< / a > = 2, < / div > < div class = "line" > < a name = "l01915" > < / a > < span class = "lineno" > 1915< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a13ab58b01ac6e05f595977f1e0f0db69" > LWSMPRO_CGI< / a > = 3, < / div > < div class = "line" > < a name = "l01916" > < / a > < span class = "lineno" > 1916< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437aec137a2434851bd856ceebfb697b9970" > LWSMPRO_REDIR_HTTP< / a > = 4, < / div > < div class = "line" > < a name = "l01917" > < / a > < span class = "lineno" > 1917< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a8894d16316863077dfe530963ca59f67" > LWSMPRO_REDIR_HTTPS< / a > = 5, < / div > < div class = "line" > < a name = "l01918" > < / a > < span class = "lineno" > 1918< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a946a88cf9c852eed2c0317f4115d19da" > LWSMPRO_CALLBACK< / a > = 6, < / div > < div class = "line" > < a name = "l01919" > < / a > < span class = "lineno" > 1919< / span >   };< / div > < div class = "ttc" id = "group__vhost-mounts_html_gga31eca18e50cb4357480f2fcad36ff437a13ab58b01ac6e05f595977f1e0f0db69" > < div class = "ttname" > < a href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a13ab58b01ac6e05f595977f1e0f0db69" > LWSMPRO_CGI< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > libwebsockets.h:1915< / div > < / div >
< div class = "ttc" id = "group__vhost-mounts_html_gga31eca18e50cb4357480f2fcad36ff437afbd10eb4777517ed1f6bfdcf3b9ea1d1" > < div class = "ttname" > < a href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437afbd10eb4777517ed1f6bfdcf3b9ea1d1" > LWSMPRO_HTTPS< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > libwebsockets.h:1913< / div > < / div >
< div class = "ttc" id = "group__vhost-mounts_html_gga31eca18e50cb4357480f2fcad36ff437a42f2361cfe76cd287fa8fcfc502357e2" > < div class = "ttname" > < a href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a42f2361cfe76cd287fa8fcfc502357e2" > LWSMPRO_FILE< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > libwebsockets.h:1914< / div > < / div >
< div class = "ttc" id = "group__vhost-mounts_html_gga31eca18e50cb4357480f2fcad36ff437aec137a2434851bd856ceebfb697b9970" > < div class = "ttname" > < a href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437aec137a2434851bd856ceebfb697b9970" > LWSMPRO_REDIR_HTTP< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > libwebsockets.h:1916< / div > < / div >
< div class = "ttc" id = "group__vhost-mounts_html_gga31eca18e50cb4357480f2fcad36ff437a8894d16316863077dfe530963ca59f67" > < div class = "ttname" > < a href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a8894d16316863077dfe530963ca59f67" > LWSMPRO_REDIR_HTTPS< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > libwebsockets.h:1917< / div > < / div >
< div class = "ttc" id = "group__vhost-mounts_html_gga31eca18e50cb4357480f2fcad36ff437a1e9f0842b0e85db50fe648ed4ba9a4b0" > < div class = "ttname" > < a href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a1e9f0842b0e85db50fe648ed4ba9a4b0" > LWSMPRO_HTTP< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > libwebsockets.h:1912< / div > < / div >
< div class = "ttc" id = "group__vhost-mounts_html_gga31eca18e50cb4357480f2fcad36ff437a946a88cf9c852eed2c0317f4115d19da" > < div class = "ttname" > < a href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a946a88cf9c852eed2c0317f4115d19da" > LWSMPRO_CALLBACK< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > libwebsockets.h:1918< / div > < / div >
2016-06-20 17:05:31 +08:00
< / div > <!-- fragment -->
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "footer" > Generated by
< a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.8.11 < / li >
< / ul >
< / div >
< / body >
< / html >