1
0

structjose__io__t.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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.13"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>José: jose_io_t Struct Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">José
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.13 -->
  33. <script type="text/javascript">
  34. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  35. </script>
  36. <script type="text/javascript" src="menudata.js"></script>
  37. <script type="text/javascript" src="menu.js"></script>
  38. <script type="text/javascript">
  39. $(function() {
  40. initMenu('',true,false,'search.php','Search');
  41. $(document).ready(function() { init_search(); });
  42. });
  43. </script>
  44. <div id="main-nav"></div>
  45. <!-- window showing the filter options -->
  46. <div id="MSearchSelectWindow"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. onkeydown="return searchBox.OnSearchSelectKey(event)">
  50. </div>
  51. <!-- iframe showing the search results (closed by default) -->
  52. <div id="MSearchResultsWindow">
  53. <iframe src="javascript:void(0)" frameborder="0"
  54. name="MSearchResults" id="MSearchResults">
  55. </iframe>
  56. </div>
  57. </div><!-- top -->
  58. <div class="header">
  59. <div class="summary">
  60. <a href="#pub-attribs">Data Fields</a> </div>
  61. <div class="headertitle">
  62. <div class="title">jose_io_t Struct Reference<div class="ingroups"><a class="el" href="group__jose__io.html">IO</a></div></div> </div>
  63. </div><!--header-->
  64. <div class="contents">
  65. <p>The interface for chained IO.
  66. <a href="structjose__io__t.html#details">More...</a></p>
  67. <table class="memberdecls">
  68. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  69. Data Fields</h2></td></tr>
  70. <tr class="memitem:afa8ec8ac8802fd2600466b9477730cfe"><td class="memItemLeft" align="right" valign="top">bool(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structjose__io__t.html#afa8ec8ac8802fd2600466b9477730cfe">feed</a> )(<a class="el" href="structjose__io__t.html">jose_io_t</a> *io, const void *in, size_t len)</td></tr>
  71. <tr class="memdesc:afa8ec8ac8802fd2600466b9477730cfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pushes data into the IO chain. <a href="#afa8ec8ac8802fd2600466b9477730cfe">More...</a><br /></td></tr>
  72. <tr class="separator:afa8ec8ac8802fd2600466b9477730cfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  73. <tr class="memitem:a76d1eac0d05d3604c16686b08bd80aa0"><td class="memItemLeft" align="right" valign="top">bool(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structjose__io__t.html#a76d1eac0d05d3604c16686b08bd80aa0">done</a> )(<a class="el" href="structjose__io__t.html">jose_io_t</a> *io)</td></tr>
  74. <tr class="memdesc:a76d1eac0d05d3604c16686b08bd80aa0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Completes the IO chain. <a href="#a76d1eac0d05d3604c16686b08bd80aa0">More...</a><br /></td></tr>
  75. <tr class="separator:a76d1eac0d05d3604c16686b08bd80aa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  76. </table>
  77. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  78. <div class="textblock"><p>The interface for chained IO. </p>
  79. <dl class="section see"><dt>See also</dt><dd><a class="el" href="group__jose__io.html#gaa3f3eb70079093e1244ffe516fd1627f" title="Creates a new IO object which collects data into a dynamic buffer. ">jose_io_malloc()</a> </dd>
  80. <dd>
  81. <a class="el" href="group__jose__io.html#gaf9372e0f4d1c3d6ece6c38f31ea7c48c" title="Creates a new IO object which collects data into a static buffer. ">jose_io_buffer()</a> </dd>
  82. <dd>
  83. <a class="el" href="group__jose__io.html#gaa249153384969267f4d3f8d9691e2bef" title="Creates a new IO object which writes data into a FILE. ">jose_io_file()</a> </dd>
  84. <dd>
  85. <a class="el" href="group__jose__io.html#ga6ea7adf304754afee8b6ec33597991f7" title="Creates a new IO object which multiplexes data into multiple IO objects. ">jose_io_multiplex()</a> </dd>
  86. <dd>
  87. <a class="el" href="group__jose__b64.html#gad72c180de43c9da3456bdb0d166092ff" title="Creates a new IO object which performs URL-safe Base64 encoding. ">jose_b64_enc_io()</a> </dd>
  88. <dd>
  89. <a class="el" href="group__jose__b64.html#ga8e16b78e3713aacb5bdcdc16730a3a98" title="Creates a new IO object which performs URL-safe Base64 decoding. ">jose_b64_dec_io()</a> </dd>
  90. <dd>
  91. <a class="el" href="group__jose__jws.html#ga73152ceaf852dd2d897154fb250a7860" title="Creates one or more signatures in a JWS object using streaming. ">jose_jws_sig_io()</a> </dd>
  92. <dd>
  93. <a class="el" href="group__jose__jws.html#ga35a5d3c37101fc127933f3c856b46cc8" title="Verifies signatures of one or more JWKs in a JWS object using streaming. ">jose_jws_ver_io()</a> </dd>
  94. <dd>
  95. <a class="el" href="group__jose__jwe.html#gacd3c7703b57c524bc2683f2c0d0db4b8" title="Unwraps and decrypts ciphertext using streaming. ">jose_jwe_dec_io()</a> </dd>
  96. <dd>
  97. <a class="el" href="group__jose__jwe.html#gaf22bbcd02627f938be28fa4b1778e29c" title="Decrypts ciphertext with the CEK using streaming. ">jose_jwe_dec_cek_io()</a> </dd>
  98. <dd>
  99. <a class="el" href="group__jose__jwe.html#ga27e44e2144dc81b778158163661b7f9f" title="Wraps and encrypts plaintext using streaming. ">jose_jwe_enc_io()</a> </dd>
  100. <dd>
  101. <a class="el" href="group__jose__jwe.html#gae484a56237a35f5c18038a1b24952f0a" title="Encrypts plaintext with the CEK using streaming. ">jose_jwe_enc_cek_io()</a> </dd></dl>
  102. </div><h2 class="groupheader">Field Documentation</h2>
  103. <a id="afa8ec8ac8802fd2600466b9477730cfe"></a>
  104. <h2 class="memtitle"><span class="permalink"><a href="#afa8ec8ac8802fd2600466b9477730cfe">&#9670;&nbsp;</a></span>feed</h2>
  105. <div class="memitem">
  106. <div class="memproto">
  107. <table class="memname">
  108. <tr>
  109. <td class="memname">bool(* jose_io_t::feed) (<a class="el" href="structjose__io__t.html">jose_io_t</a> *io, const void *in, size_t len)</td>
  110. </tr>
  111. </table>
  112. </div><div class="memdoc">
  113. <p>Pushes data into the IO chain. </p>
  114. <dl class="params"><dt>Parameters</dt><dd>
  115. <table class="params">
  116. <tr><td class="paramname">io</td><td>The <a class="el" href="structjose__io__t.html" title="The interface for chained IO. ">jose_io_t</a> entity you are using. </td></tr>
  117. <tr><td class="paramname">in</td><td>The input buffer. </td></tr>
  118. <tr><td class="paramname">len</td><td>The length of the data in the input buffer. </td></tr>
  119. </table>
  120. </dd>
  121. </dl>
  122. <dl class="section return"><dt>Returns</dt><dd>Returns true if all data was consumed, otherwise false. </dd></dl>
  123. </div>
  124. </div>
  125. <a id="a76d1eac0d05d3604c16686b08bd80aa0"></a>
  126. <h2 class="memtitle"><span class="permalink"><a href="#a76d1eac0d05d3604c16686b08bd80aa0">&#9670;&nbsp;</a></span>done</h2>
  127. <div class="memitem">
  128. <div class="memproto">
  129. <table class="memname">
  130. <tr>
  131. <td class="memname">bool(* jose_io_t::done) (<a class="el" href="structjose__io__t.html">jose_io_t</a> *io)</td>
  132. </tr>
  133. </table>
  134. </div><div class="memdoc">
  135. <p>Completes the IO chain. </p>
  136. <p>Any data stored in internal buffers will be flushed.</p>
  137. <dl class="params"><dt>Parameters</dt><dd>
  138. <table class="params">
  139. <tr><td class="paramname">io</td><td>The <a class="el" href="structjose__io__t.html" title="The interface for chained IO. ">jose_io_t</a> entity you are using. </td></tr>
  140. </table>
  141. </dd>
  142. </dl>
  143. <dl class="section return"><dt>Returns</dt><dd>Returns true if flushing was successful, otherwise false. </dd></dl>
  144. </div>
  145. </div>
  146. </div><!-- contents -->
  147. <!-- start footer part -->
  148. <hr class="footer"/><address class="footer"><small>
  149. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  150. <img class="footer" src="doxygen.png" alt="doxygen"/>
  151. </a> 1.8.13
  152. </small></address>
  153. </body>
  154. </html>