<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libmtp: LIBMTP_folder_struct Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>LIBMTP_folder_struct Struct Reference<br/> <small> [<a class="el" href="group__structar.html">libmtp data structures</a>]</small> </h1><!-- doxytag: class="LIBMTP_folder_struct" --> <p><code>#include <<a class="el" href="libmtp_8h_source.html">libmtp.h</a>></code></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__folder__struct.html#a01cc1f244c7af1ea71f9f4feb015d034">folder_id</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__folder__struct.html#a86d5a8990f20c2d298cae9a6ab9c6f52">parent_id</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__folder__struct.html#aed4feacc92138d292fbc030a213a7392">storage_id</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__folder__struct.html#ab75c793c818e9258e9f953589c435c20">name</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structLIBMTP__folder__struct.html">LIBMTP_folder_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__folder__struct.html#a0f17c5efb1dca0428d6282aa5d634c39">sibling</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structLIBMTP__folder__struct.html">LIBMTP_folder_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__folder__struct.html#a62cb2380be7cf422b4994081e6d1794a">child</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>MTP Folder structure </p> <dl><dt><b>Examples: </b></dt><dd> <p><a class="el" href="delfile_8c-example.html#_a1">delfile.c</a>, <a class="el" href="folders_8c-example.html#_a0">folders.c</a>, <a class="el" href="getfile_8c-example.html#_a0">getfile.c</a>, <a class="el" href="newfolder_8c-example.html#_a0">newfolder.c</a>, <a class="el" href="sendfile_8c-example.html#_a0">sendfile.c</a>, and <a class="el" href="sendtr_8c-example.html#_a0">sendtr.c</a>.</p> </dd> </dl><hr/><h2>Field Documentation</h2> <a class="anchor" id="a62cb2380be7cf422b4994081e6d1794a"></a><!-- doxytag: member="LIBMTP_folder_struct::child" ref="a62cb2380be7cf422b4994081e6d1794a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structLIBMTP__folder__struct.html">LIBMTP_folder_t</a>* <a class="el" href="structLIBMTP__folder__struct.html#a62cb2380be7cf422b4994081e6d1794a">LIBMTP_folder_struct::child</a></td> </tr> </table> </div> <div class="memdoc"> <p>Child folder or NULL if no children </p> <dl><dt><b>Examples: </b></dt><dd><a class="el" href="folders_8c-example.html#a3">folders.c</a>.</dd> </dl> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l06480">LIBMTP_destroy_folder_t()</a>, <a class="el" href="libmtp_8c_source.html#l06511">LIBMTP_Find_Folder()</a>, and <a class="el" href="libmtp_8c_source.html#l06579">LIBMTP_Get_Folder_List()</a>.</p> </div> </div> <a class="anchor" id="a01cc1f244c7af1ea71f9f4feb015d034"></a><!-- doxytag: member="LIBMTP_folder_struct::folder_id" ref="a01cc1f244c7af1ea71f9f4feb015d034" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32_t <a class="el" href="structLIBMTP__folder__struct.html#a01cc1f244c7af1ea71f9f4feb015d034">LIBMTP_folder_struct::folder_id</a></td> </tr> </table> </div> <div class="memdoc"> <p>Unique folder ID </p> <dl><dt><b>Examples: </b></dt><dd><a class="el" href="folders_8c-example.html#a1">folders.c</a>.</dd> </dl> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l06511">LIBMTP_Find_Folder()</a>, <a class="el" href="libmtp_8c_source.html#l06579">LIBMTP_Get_Folder_List()</a>, <a class="el" href="libmtp_8c_source.html#l06457">LIBMTP_new_folder_t()</a>, and <a class="el" href="libmtp_8c_source.html#l06275">LIBMTP_Set_Folder_Name()</a>.</p> </div> </div> <a class="anchor" id="ab75c793c818e9258e9f953589c435c20"></a><!-- doxytag: member="LIBMTP_folder_struct::name" ref="ab75c793c818e9258e9f953589c435c20" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* <a class="el" href="structLIBMTP__folder__struct.html#ab75c793c818e9258e9f953589c435c20">LIBMTP_folder_struct::name</a></td> </tr> </table> </div> <div class="memdoc"> <p>Name of folder </p> <dl><dt><b>Examples: </b></dt><dd><a class="el" href="folders_8c-example.html#a2">folders.c</a>.</dd> </dl> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l06480">LIBMTP_destroy_folder_t()</a>, <a class="el" href="libmtp_8c_source.html#l06579">LIBMTP_Get_Folder_List()</a>, and <a class="el" href="libmtp_8c_source.html#l06275">LIBMTP_Set_Folder_Name()</a>.</p> </div> </div> <a class="anchor" id="a86d5a8990f20c2d298cae9a6ab9c6f52"></a><!-- doxytag: member="LIBMTP_folder_struct::parent_id" ref="a86d5a8990f20c2d298cae9a6ab9c6f52" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32_t <a class="el" href="structLIBMTP__folder__struct.html#a86d5a8990f20c2d298cae9a6ab9c6f52">LIBMTP_folder_struct::parent_id</a></td> </tr> </table> </div> <div class="memdoc"> <p>ID of parent folder </p> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l06579">LIBMTP_Get_Folder_List()</a>.</p> </div> </div> <a class="anchor" id="a0f17c5efb1dca0428d6282aa5d634c39"></a><!-- doxytag: member="LIBMTP_folder_struct::sibling" ref="a0f17c5efb1dca0428d6282aa5d634c39" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structLIBMTP__folder__struct.html">LIBMTP_folder_t</a>* <a class="el" href="structLIBMTP__folder__struct.html#a0f17c5efb1dca0428d6282aa5d634c39">LIBMTP_folder_struct::sibling</a></td> </tr> </table> </div> <div class="memdoc"> <p>Next folder at same level or NULL if no more </p> <dl><dt><b>Examples: </b></dt><dd><a class="el" href="folders_8c-example.html#a4">folders.c</a>.</dd> </dl> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l06480">LIBMTP_destroy_folder_t()</a>, <a class="el" href="libmtp_8c_source.html#l06511">LIBMTP_Find_Folder()</a>, and <a class="el" href="libmtp_8c_source.html#l06579">LIBMTP_Get_Folder_List()</a>.</p> </div> </div> <a class="anchor" id="aed4feacc92138d292fbc030a213a7392"></a><!-- doxytag: member="LIBMTP_folder_struct::storage_id" ref="aed4feacc92138d292fbc030a213a7392" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32_t <a class="el" href="structLIBMTP__folder__struct.html#aed4feacc92138d292fbc030a213a7392">LIBMTP_folder_struct::storage_id</a></td> </tr> </table> </div> <div class="memdoc"> <p>ID of storage holding this folder </p> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l06579">LIBMTP_Get_Folder_List()</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>/home/mandrake/rpm/BUILD/libmtp-1.0.2/src/<a class="el" href="libmtp_8h_source.html">libmtp.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> </body> </html>