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" / >
2016-11-14 18:12:31 +08:00
< meta name = "generator" content = "Doxygen 1.8.12" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2016-06-20 17:05:31 +08:00
< 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);
< / 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 -->
2016-11-14 18:12:31 +08:00
<!-- Generated by Doxygen 1.8.12 -->
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
$(function() {
initMenu('',false,false,'search.php','Search');
});
< / script >
< div id = "main-nav" > < / div >
2016-06-20 17:05:31 +08:00
< / 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 >
2016-11-14 18:12:31 +08:00
< a id = "ga31eca18e50cb4357480f2fcad36ff437" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga31eca18e50cb4357480f2fcad36ff437" > § < / a > < / span > lws_mount_protocols< / h2 >
2016-06-20 17:05:31 +08:00
< 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" >
2016-11-14 18:12:31 +08:00
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < a id = "gga31eca18e50cb4357480f2fcad36ff437a1e9f0842b0e85db50fe648ed4ba9a4b0" > < / a > LWSMPRO_HTTP  < / td > < td class = "fielddoc" > < p > not supported yet < / p >
2016-06-20 17:05:31 +08:00
< / td > < / tr >
2016-11-14 18:12:31 +08:00
< tr > < td class = "fieldname" > < a id = "gga31eca18e50cb4357480f2fcad36ff437afbd10eb4777517ed1f6bfdcf3b9ea1d1" > < / a > LWSMPRO_HTTPS  < / td > < td class = "fielddoc" > < p > not supported yet < / p >
2016-06-20 17:05:31 +08:00
< / td > < / tr >
2016-11-14 18:12:31 +08:00
< tr > < td class = "fieldname" > < a id = "gga31eca18e50cb4357480f2fcad36ff437a42f2361cfe76cd287fa8fcfc502357e2" > < / a > LWSMPRO_FILE  < / td > < td class = "fielddoc" > < p > serve from filesystem directory < / p >
2016-06-20 17:05:31 +08:00
< / td > < / tr >
2016-11-14 18:12:31 +08:00
< tr > < td class = "fieldname" > < a id = "gga31eca18e50cb4357480f2fcad36ff437a13ab58b01ac6e05f595977f1e0f0db69" > < / a > LWSMPRO_CGI  < / td > < td class = "fielddoc" > < p > pass to CGI to handle < / p >
2016-06-20 17:05:31 +08:00
< / td > < / tr >
2016-11-14 18:12:31 +08:00
< tr > < td class = "fieldname" > < a id = "gga31eca18e50cb4357480f2fcad36ff437aec137a2434851bd856ceebfb697b9970" > < / a > LWSMPRO_REDIR_HTTP  < / td > < td class = "fielddoc" > < p > redirect to < a href = "http://" > http://< / a > url < / p >
2016-06-20 17:05:31 +08:00
< / td > < / tr >
2016-11-14 18:12:31 +08:00
< tr > < td class = "fieldname" > < a id = "gga31eca18e50cb4357480f2fcad36ff437a8894d16316863077dfe530963ca59f67" > < / a > LWSMPRO_REDIR_HTTPS  < / td > < td class = "fielddoc" > < p > redirect to < a href = "https://" > https://< / a > url < / p >
2016-06-20 17:05:31 +08:00
< / td > < / tr >
2016-11-14 18:12:31 +08:00
< tr > < td class = "fieldname" > < a id = "gga31eca18e50cb4357480f2fcad36ff437a946a88cf9c852eed2c0317f4115d19da" > < / a > LWSMPRO_CALLBACK  < / td > < td class = "fielddoc" > < p > hand by named protocol's callback < / p >
2016-06-20 17:05:31 +08:00
< / td > < / tr >
< / table >
2017-02-06 10:04:04 +08:00
< div class = "fragment" > < div class = "line" > < a name = "l02007" > < / a > < span class = "lineno" > 2007< / span >   {< / div > < div class = "line" > < a name = "l02008" > < / a > < span class = "lineno" > 2008< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a1e9f0842b0e85db50fe648ed4ba9a4b0" > LWSMPRO_HTTP< / a > = 0, < / div > < div class = "line" > < a name = "l02009" > < / a > < span class = "lineno" > 2009< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437afbd10eb4777517ed1f6bfdcf3b9ea1d1" > LWSMPRO_HTTPS< / a > = 1, < / div > < div class = "line" > < a name = "l02010" > < / a > < span class = "lineno" > 2010< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a42f2361cfe76cd287fa8fcfc502357e2" > LWSMPRO_FILE< / a > = 2, < / div > < div class = "line" > < a name = "l02011" > < / a > < span class = "lineno" > 2011< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a13ab58b01ac6e05f595977f1e0f0db69" > LWSMPRO_CGI< / a > = 3, < / div > < div class = "line" > < a name = "l02012" > < / a > < span class = "lineno" > 2012< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437aec137a2434851bd856ceebfb697b9970" > LWSMPRO_REDIR_HTTP< / a > = 4, < / div > < div class = "line" > < a name = "l02013" > < / a > < span class = "lineno" > 2013< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a8894d16316863077dfe530963ca59f67" > LWSMPRO_REDIR_HTTPS< / a > = 5, < / div > < div class = "line" > < a name = "l02014" > < / a > < span class = "lineno" > 2014< / span >   < a class = "code" href = "group__vhost-mounts.html#gga31eca18e50cb4357480f2fcad36ff437a946a88cf9c852eed2c0317f4115d19da" > LWSMPRO_CALLBACK< / a > = 6, < / div > < div class = "line" > < a name = "l02015" > < / a > < span class = "lineno" > 2015< / 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:2011< / 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:2009< / 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:2010< / 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:2012< / 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:2013< / 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:2008< / 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:2014< / 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" >
2016-11-14 18:12:31 +08:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.8.12 < / li >
2016-06-20 17:05:31 +08:00
< / ul >
< / div >
< / body >
< / html >