You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
6.0 KiB

  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.8"/>
  7. <title>fuse: fuse_chan_ops 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="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">fuse
  21. </div>
  22. </td>
  23. </tr>
  24. </tbody>
  25. </table>
  26. </div>
  27. <!-- end header part -->
  28. <!-- Generated by Doxygen 1.8.8 -->
  29. <div id="navrow1" class="tabs">
  30. <ul class="tablist">
  31. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  32. <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
  33. <li><a href="files.html"><span>Files</span></a></li>
  34. </ul>
  35. </div>
  36. <div id="navrow2" class="tabs2">
  37. <ul class="tablist">
  38. <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
  39. <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
  40. </ul>
  41. </div>
  42. </div><!-- top -->
  43. <div class="header">
  44. <div class="summary">
  45. <a href="#pub-attribs">Data Fields</a> </div>
  46. <div class="headertitle">
  47. <div class="title">fuse_chan_ops Struct Reference</div> </div>
  48. </div><!--header-->
  49. <div class="contents">
  50. <p><code>#include &lt;fuse_lowlevel.h&gt;</code></p>
  51. <table class="memberdecls">
  52. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  53. Data Fields</h2></td></tr>
  54. <tr class="memitem:a622c80d319253941c6f71963261bff39"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__chan__ops.html#a622c80d319253941c6f71963261bff39">receive</a> )(struct fuse_chan **chp, char *buf, size_t size)</td></tr>
  55. <tr class="separator:a622c80d319253941c6f71963261bff39"><td class="memSeparator" colspan="2">&#160;</td></tr>
  56. <tr class="memitem:a5dadbc392d24d80a53c71d50daa0b59c"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__chan__ops.html#a5dadbc392d24d80a53c71d50daa0b59c">send</a> )(struct fuse_chan *ch, const struct iovec iov[], size_t count)</td></tr>
  57. <tr class="separator:a5dadbc392d24d80a53c71d50daa0b59c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  58. <tr class="memitem:a5df2257938552c436142f1c790667f74"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__chan__ops.html#a5df2257938552c436142f1c790667f74">destroy</a> )(struct fuse_chan *ch)</td></tr>
  59. <tr class="separator:a5df2257938552c436142f1c790667f74"><td class="memSeparator" colspan="2">&#160;</td></tr>
  60. </table>
  61. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  62. <div class="textblock"><p>Channel operations</p>
  63. <p>This is used in channel creation </p>
  64. </div><h2 class="groupheader">Field Documentation</h2>
  65. <a class="anchor" id="a5df2257938552c436142f1c790667f74"></a>
  66. <div class="memitem">
  67. <div class="memproto">
  68. <table class="memname">
  69. <tr>
  70. <td class="memname">void(* fuse_chan_ops::destroy)(struct fuse_chan *ch)</td>
  71. </tr>
  72. </table>
  73. </div><div class="memdoc">
  74. <p>Destroy the channel</p>
  75. <dl class="params"><dt>Parameters</dt><dd>
  76. <table class="params">
  77. <tr><td class="paramname">ch</td><td>the channel </td></tr>
  78. </table>
  79. </dd>
  80. </dl>
  81. </div>
  82. </div>
  83. <a class="anchor" id="a622c80d319253941c6f71963261bff39"></a>
  84. <div class="memitem">
  85. <div class="memproto">
  86. <table class="memname">
  87. <tr>
  88. <td class="memname">int(* fuse_chan_ops::receive)(struct fuse_chan **chp, char *buf, size_t size)</td>
  89. </tr>
  90. </table>
  91. </div><div class="memdoc">
  92. <p>Hook for receiving a raw request</p>
  93. <dl class="params"><dt>Parameters</dt><dd>
  94. <table class="params">
  95. <tr><td class="paramname">ch</td><td>pointer to the channel </td></tr>
  96. <tr><td class="paramname">buf</td><td>the buffer to store the request in </td></tr>
  97. <tr><td class="paramname">size</td><td>the size of the buffer </td></tr>
  98. </table>
  99. </dd>
  100. </dl>
  101. <dl class="section return"><dt>Returns</dt><dd>the actual size of the raw request, or -1 on error </dd></dl>
  102. </div>
  103. </div>
  104. <a class="anchor" id="a5dadbc392d24d80a53c71d50daa0b59c"></a>
  105. <div class="memitem">
  106. <div class="memproto">
  107. <table class="memname">
  108. <tr>
  109. <td class="memname">int(* fuse_chan_ops::send)(struct fuse_chan *ch, const struct iovec iov[], size_t count)</td>
  110. </tr>
  111. </table>
  112. </div><div class="memdoc">
  113. <p>Hook for sending a raw reply</p>
  114. <p>A return value of -ENOENT means, that the request was interrupted, and the reply was discarded</p>
  115. <dl class="params"><dt>Parameters</dt><dd>
  116. <table class="params">
  117. <tr><td class="paramname">ch</td><td>the channel </td></tr>
  118. <tr><td class="paramname">iov</td><td>vector of blocks </td></tr>
  119. <tr><td class="paramname">count</td><td>the number of blocks in vector </td></tr>
  120. </table>
  121. </dd>
  122. </dl>
  123. <dl class="section return"><dt>Returns</dt><dd>zero on success, -errno on failure </dd></dl>
  124. </div>
  125. </div>
  126. <hr/>The documentation for this struct was generated from the following file:<ul>
  127. <li>include/<a class="el" href="fuse__lowlevel_8h.html">fuse_lowlevel.h</a></li>
  128. </ul>
  129. </div><!-- contents -->
  130. <!-- start footer part -->
  131. <hr class="footer"/><address class="footer"><small>
  132. Generated on Sat Apr 23 2016 09:43:20 for fuse by &#160;<a href="http://www.doxygen.org/index.html">
  133. <img class="footer" src="doxygen.png" alt="doxygen"/>
  134. </a> 1.8.8
  135. </small></address>
  136. </body>
  137. </html>