structlws__extension.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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_extension 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__extension.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_extension Struct Reference<div class="ingroups"><a class="el" href="group__extensions.html">Extensions</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:a1e5018c883d85176f5c2152176843f9e"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlws__extension.html#a1e5018c883d85176f5c2152176843f9e">name</a></td></tr>
  83. <tr class="separator:a1e5018c883d85176f5c2152176843f9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:afa21f3b3c8c2c9212a276c52b680c3af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__extensions.html#gaae7169b2cd346b34fa33d0250db2afd0">lws_extension_callback_function</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlws__extension.html#afa21f3b3c8c2c9212a276c52b680c3af">callback</a></td></tr>
  85. <tr class="separator:afa21f3b3c8c2c9212a276c52b680c3af"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. <tr class="memitem:a36b06c213aedb02bf9a402651751855b"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlws__extension.html#a36b06c213aedb02bf9a402651751855b">client_offer</a></td></tr>
  87. <tr class="separator:a36b06c213aedb02bf9a402651751855b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. </table>
  89. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  90. <div class="textblock"><p>struct <a class="el" href="structlws__extension.html">lws_extension</a> - An extension we support </p>
  91. </div><h2 class="groupheader">Field Documentation</h2>
  92. <a class="anchor" id="afa21f3b3c8c2c9212a276c52b680c3af"></a>
  93. <div class="memitem">
  94. <div class="memproto">
  95. <table class="memname">
  96. <tr>
  97. <td class="memname"><a class="el" href="group__extensions.html#gaae7169b2cd346b34fa33d0250db2afd0">lws_extension_callback_function</a>* lws_extension::callback</td>
  98. </tr>
  99. </table>
  100. </div><div class="memdoc">
  101. <p>Service callback </p>
  102. </div>
  103. </div>
  104. <a class="anchor" id="a36b06c213aedb02bf9a402651751855b"></a>
  105. <div class="memitem">
  106. <div class="memproto">
  107. <table class="memname">
  108. <tr>
  109. <td class="memname">const char* lws_extension::client_offer</td>
  110. </tr>
  111. </table>
  112. </div><div class="memdoc">
  113. <p>String containing exts and options client offers </p>
  114. </div>
  115. </div>
  116. <a class="anchor" id="a1e5018c883d85176f5c2152176843f9e"></a>
  117. <div class="memitem">
  118. <div class="memproto">
  119. <table class="memname">
  120. <tr>
  121. <td class="memname">const char* lws_extension::name</td>
  122. </tr>
  123. </table>
  124. </div><div class="memdoc">
  125. <p>Formal extension name, eg, "permessage-deflate" </p>
  126. </div>
  127. </div>
  128. <hr/>The documentation for this struct was generated from the following file:<ul>
  129. <li>lib/<a class="el" href="libwebsockets_8h_source.html">libwebsockets.h</a></li>
  130. </ul>
  131. </div><!-- contents -->
  132. </div><!-- doc-content -->
  133. <!-- start footer part -->
  134. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  135. <ul>
  136. <li class="navelem"><a class="el" href="structlws__extension.html">lws_extension</a></li>
  137. <li class="footer">Generated by
  138. <a href="http://www.doxygen.org/index.html">
  139. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  140. </ul>
  141. </div>
  142. </body>
  143. </html>