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.

112 lines
5.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_module 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_module Struct Reference</div> </div>
  48. </div><!--header-->
  49. <div class="contents">
  50. <p><code>#include &lt;fuse.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:abc7b2bc3480bbb94a4eb9c1d910a0385"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__module.html#abc7b2bc3480bbb94a4eb9c1d910a0385">name</a></td></tr>
  55. <tr class="separator:abc7b2bc3480bbb94a4eb9c1d910a0385"><td class="memSeparator" colspan="2">&#160;</td></tr>
  56. <tr class="memitem:a433d1857217f025aaf561fb95ffadae5"><td class="memItemLeft" align="right" valign="top">struct fuse_fs *(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__module.html#a433d1857217f025aaf561fb95ffadae5">factory</a> )(struct <a class="el" href="structfuse__args.html">fuse_args</a> *args, struct fuse_fs *fs[])</td></tr>
  57. <tr class="separator:a433d1857217f025aaf561fb95ffadae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  58. </table>
  59. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  60. <div class="textblock"><p>Filesystem module</p>
  61. <p>Filesystem modules are registered with the <a class="el" href="fuse_8h.html#af335784cf29289c7583f3312d98d2bcd">FUSE_REGISTER_MODULE()</a> macro.</p>
  62. <p>If the "-omodules=modname:..." option is present, filesystem objects are created and pushed onto the stack with the 'factory' function. </p>
  63. </div><h2 class="groupheader">Field Documentation</h2>
  64. <a class="anchor" id="a433d1857217f025aaf561fb95ffadae5"></a>
  65. <div class="memitem">
  66. <div class="memproto">
  67. <table class="memname">
  68. <tr>
  69. <td class="memname">struct fuse_fs*(* fuse_module::factory)(struct <a class="el" href="structfuse__args.html">fuse_args</a> *args, struct fuse_fs *fs[])</td>
  70. </tr>
  71. </table>
  72. </div><div class="memdoc">
  73. <p>Factory for creating filesystem objects</p>
  74. <p>The function may use and remove options from 'args' that belong to this module.</p>
  75. <p>For now the 'fs' vector always contains exactly one filesystem. This is the filesystem which will be below the newly created filesystem in the stack.</p>
  76. <dl class="params"><dt>Parameters</dt><dd>
  77. <table class="params">
  78. <tr><td class="paramname">args</td><td>the command line arguments </td></tr>
  79. <tr><td class="paramname">fs</td><td>NULL terminated filesystem object vector </td></tr>
  80. </table>
  81. </dd>
  82. </dl>
  83. <dl class="section return"><dt>Returns</dt><dd>the new filesystem object </dd></dl>
  84. </div>
  85. </div>
  86. <a class="anchor" id="abc7b2bc3480bbb94a4eb9c1d910a0385"></a>
  87. <div class="memitem">
  88. <div class="memproto">
  89. <table class="memname">
  90. <tr>
  91. <td class="memname">const char* fuse_module::name</td>
  92. </tr>
  93. </table>
  94. </div><div class="memdoc">
  95. <p>Name of filesystem </p>
  96. </div>
  97. </div>
  98. <hr/>The documentation for this struct was generated from the following file:<ul>
  99. <li>include/<a class="el" href="fuse_8h.html">fuse.h</a></li>
  100. </ul>
  101. </div><!-- contents -->
  102. <!-- start footer part -->
  103. <hr class="footer"/><address class="footer"><small>
  104. Generated on Sat Apr 23 2016 09:43:20 for fuse by &#160;<a href="http://www.doxygen.org/index.html">
  105. <img class="footer" src="doxygen.png" alt="doxygen"/>
  106. </a> 1.8.8
  107. </small></address>
  108. </body>
  109. </html>