structlws__plugin__capability.html 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.11"/>
  7. <title>libwebsockets: lws_plugin_capability Struct Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="resize.js"></script>
  13. <script type="text/javascript" src="navtreedata.js"></script>
  14. <script type="text/javascript" src="navtree.js"></script>
  15. <script type="text/javascript">
  16. $(document).ready(initResizable);
  17. $(window).load(resizeHeight);
  18. </script>
  19. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  23. <div id="titlearea">
  24. <table cellspacing="0" cellpadding="0">
  25. <tbody>
  26. <tr style="height: 56px;">
  27. <td id="projectlogo"><img alt="Logo" src="libwebsockets.org-logo.png"/></td>
  28. <td id="projectalign" style="padding-left: 0.5em;">
  29. <div id="projectname">libwebsockets
  30. </div>
  31. <div id="projectbrief">Lightweight C library for HTML5 websockets</div>
  32. </td>
  33. </tr>
  34. </tbody>
  35. </table>
  36. </div>
  37. <!-- end header part -->
  38. <!-- Generated by Doxygen 1.8.11 -->
  39. <div id="navrow1" class="tabs">
  40. <ul class="tablist">
  41. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  42. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  43. <li><a href="modules.html"><span>Modules</span></a></li>
  44. <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
  45. <li><a href="files.html"><span>Files</span></a></li>
  46. </ul>
  47. </div>
  48. <div id="navrow2" class="tabs2">
  49. <ul class="tablist">
  50. <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
  51. <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
  52. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  53. <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
  54. </ul>
  55. </div>
  56. </div><!-- top -->
  57. <div id="side-nav" class="ui-resizable side-nav-resizable">
  58. <div id="nav-tree">
  59. <div id="nav-tree-contents">
  60. <div id="nav-sync" class="sync"></div>
  61. </div>
  62. </div>
  63. <div id="splitbar" style="-moz-user-select:none;"
  64. class="ui-resizable-handle">
  65. </div>
  66. </div>
  67. <script type="text/javascript">
  68. $(document).ready(function(){initNavTree('structlws__plugin__capability.html','');});
  69. </script>
  70. <div id="doc-content">
  71. <div class="header">
  72. <div class="summary">
  73. <a href="#pub-attribs">Data Fields</a> </div>
  74. <div class="headertitle">
  75. <div class="title">lws_plugin_capability Struct Reference<div class="ingroups"><a class="el" href="group__Protocols-and-Plugins.html">Protocols and Plugins</a></div></div> </div>
  76. </div><!--header-->
  77. <div class="contents">
  78. <p><code>#include &lt;<a class="el" href="libwebsockets_8h_source.html">libwebsockets.h</a>&gt;</code></p>
  79. <table class="memberdecls">
  80. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  81. Data Fields</h2></td></tr>
  82. <tr class="memitem:a523c7cde6f15bba345f56493dcf6b32a"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlws__plugin__capability.html#a523c7cde6f15bba345f56493dcf6b32a">api_magic</a></td></tr>
  83. <tr class="separator:a523c7cde6f15bba345f56493dcf6b32a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:a6a4d9d01e770f378ddadc77b37522033"><td class="memItemLeft" align="right" valign="top">const struct <a class="el" href="structlws__protocols.html">lws_protocols</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlws__plugin__capability.html#a6a4d9d01e770f378ddadc77b37522033">protocols</a></td></tr>
  85. <tr class="separator:a6a4d9d01e770f378ddadc77b37522033"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. <tr class="memitem:ae38f7cf1246b9ca3af3cbf9d46b7090f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlws__plugin__capability.html#ae38f7cf1246b9ca3af3cbf9d46b7090f">count_protocols</a></td></tr>
  87. <tr class="separator:ae38f7cf1246b9ca3af3cbf9d46b7090f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:a7936f0eb93d79dea76b903d0f8a5f623"><td class="memItemLeft" align="right" valign="top">const struct <a class="el" href="structlws__extension.html">lws_extension</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlws__plugin__capability.html#a7936f0eb93d79dea76b903d0f8a5f623">extensions</a></td></tr>
  89. <tr class="separator:a7936f0eb93d79dea76b903d0f8a5f623"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:abcf51db969522fdda9aaf902e65739d3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlws__plugin__capability.html#abcf51db969522fdda9aaf902e65739d3">count_extensions</a></td></tr>
  91. <tr class="separator:abcf51db969522fdda9aaf902e65739d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. </table>
  93. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  94. <div class="textblock"><p>struct <a class="el" href="structlws__plugin__capability.html">lws_plugin_capability</a> - how a plugin introduces itself to lws </p>
  95. </div><h2 class="groupheader">Field Documentation</h2>
  96. <a class="anchor" id="a523c7cde6f15bba345f56493dcf6b32a"></a>
  97. <div class="memitem">
  98. <div class="memproto">
  99. <table class="memname">
  100. <tr>
  101. <td class="memname">unsigned int lws_plugin_capability::api_magic</td>
  102. </tr>
  103. </table>
  104. </div><div class="memdoc">
  105. <p>caller fills this in, plugin fills rest </p>
  106. </div>
  107. </div>
  108. <a class="anchor" id="abcf51db969522fdda9aaf902e65739d3"></a>
  109. <div class="memitem">
  110. <div class="memproto">
  111. <table class="memname">
  112. <tr>
  113. <td class="memname">int lws_plugin_capability::count_extensions</td>
  114. </tr>
  115. </table>
  116. </div><div class="memdoc">
  117. <p>how many extensions </p>
  118. </div>
  119. </div>
  120. <a class="anchor" id="ae38f7cf1246b9ca3af3cbf9d46b7090f"></a>
  121. <div class="memitem">
  122. <div class="memproto">
  123. <table class="memname">
  124. <tr>
  125. <td class="memname">int lws_plugin_capability::count_protocols</td>
  126. </tr>
  127. </table>
  128. </div><div class="memdoc">
  129. <p>how many protocols </p>
  130. </div>
  131. </div>
  132. <a class="anchor" id="a7936f0eb93d79dea76b903d0f8a5f623"></a>
  133. <div class="memitem">
  134. <div class="memproto">
  135. <table class="memname">
  136. <tr>
  137. <td class="memname">const struct <a class="el" href="structlws__extension.html">lws_extension</a>* lws_plugin_capability::extensions</td>
  138. </tr>
  139. </table>
  140. </div><div class="memdoc">
  141. <p>array of extensions provided by plugin </p>
  142. </div>
  143. </div>
  144. <a class="anchor" id="a6a4d9d01e770f378ddadc77b37522033"></a>
  145. <div class="memitem">
  146. <div class="memproto">
  147. <table class="memname">
  148. <tr>
  149. <td class="memname">const struct <a class="el" href="structlws__protocols.html">lws_protocols</a>* lws_plugin_capability::protocols</td>
  150. </tr>
  151. </table>
  152. </div><div class="memdoc">
  153. <p>array of supported protocols provided by plugin </p>
  154. </div>
  155. </div>
  156. <hr/>The documentation for this struct was generated from the following file:<ul>
  157. <li>lib/<a class="el" href="libwebsockets_8h_source.html">libwebsockets.h</a></li>
  158. </ul>
  159. </div><!-- contents -->
  160. </div><!-- doc-content -->
  161. <!-- start footer part -->
  162. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  163. <ul>
  164. <li class="navelem"><a class="el" href="structlws__plugin__capability.html">lws_plugin_capability</a></li>
  165. <li class="footer">Generated by
  166. <a href="http://www.doxygen.org/index.html">
  167. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  168. </ul>
  169. </div>
  170. </body>
  171. </html>