<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>libpst.so.4: libpst/libpst.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.9.1 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> <div class="nav"> <a class="el" href="dir_000000.html">libpst</a></div> <h1>libpst.h File Reference</h1><code>#include "<a class="el" href="common_8h-source.html">common.h</a>"</code><br> <p> Include dependency graph for libpst.h:<p><center><img src="libpst_8h__incl.png" border="0" usemap="#libpst.h_map" alt="Include dependency graph"></center> <map name="libpst.h_map"> <area href="common_8h.html" shape="rect" coords="262,84,345,108" alt=""> </map> <p> <a href="libpst_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__entryid.html">pst_entryid</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__index__ll.html">pst_index_ll</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__id2__tree.html">pst_id2_tree</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__desc__tree.html">pst_desc_tree</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__string.html">pst_string</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The string is either utf8 encoded, or it is in the code page specified by the containing mapi object. <a href="structpst__string.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__binary.html">pst_binary</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">a simple wrapper for binary blobs <a href="structpst__binary.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__item__email.html">pst_item_email</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the email related mapi elements. <a href="structpst__item__email.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__item__folder.html">pst_item_folder</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the folder related mapi elements. <a href="structpst__item__folder.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__item__message__store.html">pst_item_message_store</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the message store related mapi elements. <a href="structpst__item__message__store.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__item__contact.html">pst_item_contact</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the contact related mapi elements. <a href="structpst__item__contact.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__item__attach.html">pst_item_attach</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the attachment related mapi elements. <a href="structpst__item__attach.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__item__extra__field.html">pst_item_extra_field</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">linked list of extra header fields <a href="structpst__item__extra__field.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__item__journal.html">pst_item_journal</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the journal related mapi elements. <a href="structpst__item__journal.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__recurrence.html">pst_recurrence</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the recurrence data separated into fields. <a href="structpst__recurrence.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__item__appointment.html">pst_item_appointment</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the appointment related mapi elements. <a href="structpst__item__appointment.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__item.html">pst_item</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the common mapi elements, and pointers to structures for each major mapi item type. <a href="structpst__item.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__x__attrib__ll.html">pst_x_attrib_ll</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Linked list of extended attributes. <a href="structpst__x__attrib__ll.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__block__recorder.html">pst_block_recorder</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">this is only used for internal debugging <a href="structpst__block__recorder.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpst__file.html">pst_file</a></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a0">PST_TYPE_NOTE</a> 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a1">PST_TYPE_SCHEDULE</a> 2</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a2">PST_TYPE_APPOINTMENT</a> 8</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a3">PST_TYPE_CONTACT</a> 9</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a4">PST_TYPE_JOURNAL</a> 10</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a5">PST_TYPE_STICKYNOTE</a> 11</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a6">PST_TYPE_TASK</a> 12</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a7">PST_TYPE_OTHER</a> 13</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a8">PST_TYPE_REPORT</a> 14</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a9">PST_NO_ENCRYPT</a> 0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a10">PST_COMP_ENCRYPT</a> 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a11">PST_ENCRYPT</a> 2</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a12">PST_MAP_ATTRIB</a> (uint32_t)1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a13">PST_MAP_HEADER</a> (uint32_t)2</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a14">PST_ATTRIB_HEADER</a> -1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a15">PST_FREEBUSY_FREE</a> 0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a16">PST_FREEBUSY_TENTATIVE</a> 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a17">PST_FREEBUSY_BUSY</a> 2</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a18">PST_FREEBUSY_OUT_OF_OFFICE</a> 3</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a19">PST_APP_LABEL_NONE</a> 0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a20">PST_APP_LABEL_IMPORTANT</a> 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a21">PST_APP_LABEL_BUSINESS</a> 2</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a22">PST_APP_LABEL_PERSONAL</a> 3</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a23">PST_APP_LABEL_VACATION</a> 4</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a24">PST_APP_LABEL_MUST_ATTEND</a> 5</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a25">PST_APP_LABEL_TRAVEL_REQ</a> 6</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a26">PST_APP_LABEL_NEEDS_PREP</a> 7</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a27">PST_APP_LABEL_BIRTHDAY</a> 8</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a28">PST_APP_LABEL_ANNIVERSARY</a> 9</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a29">PST_APP_LABEL_PHONE_CALL</a> 10</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a30">PST_APP_RECUR_NONE</a> 0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a31">PST_APP_RECUR_DAILY</a> 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a32">PST_APP_RECUR_WEEKLY</a> 2</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a33">PST_APP_RECUR_MONTHLY</a> 3</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a34">PST_APP_RECUR_YEARLY</a> 4</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a35">PST_ATTACH_NONE</a> 0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a36">PST_ATTACH_BY_VALUE</a> 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a37">PST_ATTACH_BY_REF</a> 2</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a38">PST_ATTACH_BY_REF_RESOLV</a> 3</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a39">PST_ATTACH_BY_REF_ONLY</a> 4</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a40">PST_ATTACH_EMBEDDED</a> 5</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a41">PST_ATTACH_OLE</a> 6</td></tr> <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__entryid.html">pst_entryid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a42">pst_entryid</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__index__ll.html">pst_index_ll</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a43">pst_index_ll</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__id2__tree.html">pst_id2_tree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a44">pst_id2_tree</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__desc__tree.html">pst_desc_tree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a45">pst_desc_tree</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__string.html">pst_string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a46">pst_string</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The string is either utf8 encoded, or it is in the code page specified by the containing mapi object. <a href="#a46"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__binary.html">pst_binary</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a47">pst_binary</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">a simple wrapper for binary blobs <a href="#a47"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__item__email.html">pst_item_email</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a48">pst_item_email</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the email related mapi elements. <a href="#a48"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__item__folder.html">pst_item_folder</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a49">pst_item_folder</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the folder related mapi elements. <a href="#a49"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__item__message__store.html">pst_item_message_store</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a50">pst_item_message_store</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the message store related mapi elements. <a href="#a50"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__item__contact.html">pst_item_contact</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a51">pst_item_contact</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the contact related mapi elements. <a href="#a51"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__item__attach.html">pst_item_attach</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a52">pst_item_attach</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the attachment related mapi elements. <a href="#a52"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__item__extra__field.html">pst_item_extra_field</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a53">pst_item_extra_field</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">linked list of extra header fields <a href="#a53"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__item__journal.html">pst_item_journal</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a54">pst_item_journal</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the journal related mapi elements. <a href="#a54"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__recurrence.html">pst_recurrence</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a55">pst_recurrence</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the recurrence data separated into fields. <a href="#a55"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__item__appointment.html">pst_item_appointment</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a56">pst_item_appointment</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the appointment related mapi elements. <a href="#a56"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__item.html">pst_item</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a57">pst_item</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This contains the common mapi elements, and pointers to structures for each major mapi item type. <a href="#a57"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__x__attrib__ll.html">pst_x_attrib_ll</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a58">pst_x_attrib_ll</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Linked list of extended attributes. <a href="#a58"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__block__recorder.html">pst_block_recorder</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a59">pst_block_recorder</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">this is only used for internal debugging <a href="#a59"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpst__file.html">pst_file</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a60">pst_file</a></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a61">pst_open</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf, const char *name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Open a pst file. <a href="#a61"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a62">pst_reopen</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Reopen the pst file after a fork. <a href="#a62"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a63">pst_load_index</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Load the index entries from the pst file. <a href="#a63"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a64">pst_load_extended_attributes</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Load the extended attribute mapping table from the pst file. <a href="#a64"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a65">pst_close</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Close a pst file. <a href="#a65"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structpst__desc__tree.html">pst_desc_tree</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a66">pst_getTopOfFolders</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf, const <a class="el" href="structpst__item.html">pst_item</a> *root)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the top of folders descriptor tree. <a href="#a66"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structpst__binary.html">pst_binary</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a67">pst_attach_to_mem</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf, <a class="el" href="structpst__item__attach.html">pst_item_attach</a> *attach)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Assemble the binary attachment into a single buffer. <a href="#a67"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a68">pst_attach_to_file</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf, <a class="el" href="structpst__item__attach.html">pst_item_attach</a> *attach, FILE *fp)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Write a binary attachment to a file. <a href="#a68"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a69">pst_attach_to_file_base64</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf, <a class="el" href="structpst__item__attach.html">pst_item_attach</a> *attach, FILE *fp)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Write a binary attachment base64 encoded to a file. <a href="#a69"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structpst__desc__tree.html">pst_desc_tree</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a70">pst_getNextDptr</a> (<a class="el" href="structpst__desc__tree.html">pst_desc_tree</a> *d)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Walk the descriptor tree. <a href="#a70"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structpst__item.html">pst_item</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a71">pst_parse_item</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf, <a class="el" href="structpst__desc__tree.html">pst_desc_tree</a> *d_ptr, <a class="el" href="structpst__id2__tree.html">pst_id2_tree</a> *m_head)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Assemble a mapi object from a descriptor pointer. <a href="#a71"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a72">pst_freeItem</a> (<a class="el" href="structpst__item.html">pst_item</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Free the item returned by <a class="el" href="libpst_8h.html#a71">pst_parse_item()</a>. <a href="#a72"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structpst__index__ll.html">pst_index_ll</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a73">pst_getID</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf, uint64_t i_id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Lookup the i_id in the index linked list, and return a pointer to the element. <a href="#a73"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a74">pst_ff_getIDblock_dec</a> (<a class="el" href="structpst__file.html">pst_file</a> *pf, uint64_t i_id, char **buf)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an ID block from the file using pst_ff_getIDblock() and decrypt if necessary. <a href="#a74"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a75">pst_fwrite</a> (const void *ptr, size_t size, size_t nmemb, FILE *stream)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">fwrite with checking for null pointer. <a href="#a75"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a76">pst_rfc2426_escape</a> (char *str, char **result, size_t *resultlen)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add any necessary escape characters for rfc2426 vcard format. <a href="#a76"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a77">pst_rfc2425_datetime_format</a> (const <a class="el" href="structFILETIME.html">FILETIME</a> *ft, int buflen, char *result)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a <a class="el" href="structFILETIME.html">FILETIME</a> into rfc2425 date/time format 1953-10-15T23:10:00Z which is the same as one of the forms in the ISO3601 standard. <a href="#a77"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a78">pst_rfc2445_datetime_format</a> (const <a class="el" href="structFILETIME.html">FILETIME</a> *ft, int buflen, char *result)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a <a class="el" href="structFILETIME.html">FILETIME</a> into rfc2445 date/time format 19531015T231000Z. <a href="#a78"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a79">pst_rfc2445_datetime_format_now</a> (int buflen, char *result)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the current time rfc2445 date/time format 19531015T231000Z. <a href="#a79"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a80">pst_default_charset</a> (<a class="el" href="structpst__item.html">pst_item</a> *item, int buflen, char *result)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the default character set for this item. <a href="#a80"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a81">pst_convert_utf8_null</a> (<a class="el" href="structpst__item.html">pst_item</a> *item, <a class="el" href="structpst__string.html">pst_string</a> *str)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert str to utf8 if possible; null strings are preserved. <a href="#a81"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a82">pst_convert_utf8</a> (<a class="el" href="structpst__item.html">pst_item</a> *item, <a class="el" href="structpst__string.html">pst_string</a> *str)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert str to utf8 if possible; null strings are converted into empty strings. <a href="#a82"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structpst__recurrence.html">pst_recurrence</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a83">pst_convert_recurrence</a> (<a class="el" href="structpst__item__appointment.html">pst_item_appointment</a> *appt)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Decode raw recurrence data into a better structure. <a href="#a83"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="libpst_8h.html#a84">pst_free_recurrence</a> (<a class="el" href="structpst__recurrence.html">pst_recurrence</a> *r)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Free a recurrence structure. <a href="#a84"></a><br></td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="a28" doxytag="libpst.h::PST_APP_LABEL_ANNIVERSARY"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_LABEL_ANNIVERSARY 9 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00064">64</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a27" doxytag="libpst.h::PST_APP_LABEL_BIRTHDAY"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_LABEL_BIRTHDAY 8 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00063">63</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a21" doxytag="libpst.h::PST_APP_LABEL_BUSINESS"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_LABEL_BUSINESS 2 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00057">57</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a20" doxytag="libpst.h::PST_APP_LABEL_IMPORTANT"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_LABEL_IMPORTANT 1 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00056">56</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a24" doxytag="libpst.h::PST_APP_LABEL_MUST_ATTEND"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_LABEL_MUST_ATTEND 5 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00060">60</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a26" doxytag="libpst.h::PST_APP_LABEL_NEEDS_PREP"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_LABEL_NEEDS_PREP 7 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00062">62</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a19" doxytag="libpst.h::PST_APP_LABEL_NONE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_LABEL_NONE 0 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00055">55</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a22" doxytag="libpst.h::PST_APP_LABEL_PERSONAL"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_LABEL_PERSONAL 3 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00058">58</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a29" doxytag="libpst.h::PST_APP_LABEL_PHONE_CALL"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_LABEL_PHONE_CALL 10 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00065">65</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a25" doxytag="libpst.h::PST_APP_LABEL_TRAVEL_REQ"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_LABEL_TRAVEL_REQ 6 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00061">61</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a23" doxytag="libpst.h::PST_APP_LABEL_VACATION"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_LABEL_VACATION 4 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00059">59</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a31" doxytag="libpst.h::PST_APP_RECUR_DAILY"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_RECUR_DAILY 1 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00069">69</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a33" doxytag="libpst.h::PST_APP_RECUR_MONTHLY"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_RECUR_MONTHLY 3 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00071">71</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a30" doxytag="libpst.h::PST_APP_RECUR_NONE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_RECUR_NONE 0 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00068">68</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a32" doxytag="libpst.h::PST_APP_RECUR_WEEKLY"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_RECUR_WEEKLY 2 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00070">70</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a34" doxytag="libpst.h::PST_APP_RECUR_YEARLY"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_APP_RECUR_YEARLY 4 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00072">72</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a37" doxytag="libpst.h::PST_ATTACH_BY_REF"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_ATTACH_BY_REF 2 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00077">77</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a39" doxytag="libpst.h::PST_ATTACH_BY_REF_ONLY"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_ATTACH_BY_REF_ONLY 4 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00079">79</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a38" doxytag="libpst.h::PST_ATTACH_BY_REF_RESOLV"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_ATTACH_BY_REF_RESOLV 3 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00078">78</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a36" doxytag="libpst.h::PST_ATTACH_BY_VALUE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_ATTACH_BY_VALUE 1 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00076">76</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a40" doxytag="libpst.h::PST_ATTACH_EMBEDDED"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_ATTACH_EMBEDDED 5 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00080">80</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a35" doxytag="libpst.h::PST_ATTACH_NONE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_ATTACH_NONE 0 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00075">75</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a41" doxytag="libpst.h::PST_ATTACH_OLE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_ATTACH_OLE 6 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00081">81</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a14" doxytag="libpst.h::PST_ATTRIB_HEADER"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_ATTRIB_HEADER -1 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00046">46</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a10" doxytag="libpst.h::PST_COMP_ENCRYPT"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_COMP_ENCRYPT 1 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00038">38</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a11" doxytag="libpst.h::PST_ENCRYPT"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_ENCRYPT 2 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00039">39</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a17" doxytag="libpst.h::PST_FREEBUSY_BUSY"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_FREEBUSY_BUSY 2 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00051">51</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a15" doxytag="libpst.h::PST_FREEBUSY_FREE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_FREEBUSY_FREE 0 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00049">49</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a18" doxytag="libpst.h::PST_FREEBUSY_OUT_OF_OFFICE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_FREEBUSY_OUT_OF_OFFICE 3 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00052">52</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a16" doxytag="libpst.h::PST_FREEBUSY_TENTATIVE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_FREEBUSY_TENTATIVE 1 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00050">50</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a12" doxytag="libpst.h::PST_MAP_ATTRIB"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_MAP_ATTRIB (uint32_t)1 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00042">42</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a13" doxytag="libpst.h::PST_MAP_HEADER"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_MAP_HEADER (uint32_t)2 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00043">43</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a9" doxytag="libpst.h::PST_NO_ENCRYPT"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_NO_ENCRYPT 0 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00037">37</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a2" doxytag="libpst.h::PST_TYPE_APPOINTMENT"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_TYPE_APPOINTMENT 8 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00028">28</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a3" doxytag="libpst.h::PST_TYPE_CONTACT"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_TYPE_CONTACT 9 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00029">29</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a4" doxytag="libpst.h::PST_TYPE_JOURNAL"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_TYPE_JOURNAL 10 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00030">30</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a0" doxytag="libpst.h::PST_TYPE_NOTE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_TYPE_NOTE 1 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00026">26</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a7" doxytag="libpst.h::PST_TYPE_OTHER"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_TYPE_OTHER 13 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00033">33</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a8" doxytag="libpst.h::PST_TYPE_REPORT"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_TYPE_REPORT 14 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00034">34</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a1" doxytag="libpst.h::PST_TYPE_SCHEDULE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_TYPE_SCHEDULE 2 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00027">27</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a5" doxytag="libpst.h::PST_TYPE_STICKYNOTE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_TYPE_STICKYNOTE 11 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00031">31</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <a class="anchor" name="a6" doxytag="libpst.h::PST_TYPE_TASK"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define PST_TYPE_TASK 12 </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="libpst_8h-source.html#l00032">32</a> of file <a class="el" href="libpst_8h-source.html">libpst.h</a>. </td> </tr> </table> <hr><h2>Typedef Documentation</h2> <a class="anchor" name="a47" doxytag="libpst.h::pst_binary"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__binary.html">pst_binary</a> <a class="el" href="structpst__binary.html">pst_binary</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> a simple wrapper for binary blobs <p> </td> </tr> </table> <a class="anchor" name="a59" doxytag="libpst.h::pst_block_recorder"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__block__recorder.html">pst_block_recorder</a> <a class="el" href="structpst__block__recorder.html">pst_block_recorder</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> this is only used for internal debugging <p> </td> </tr> </table> <a class="anchor" name="a45" doxytag="libpst.h::pst_desc_tree"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__desc__tree.html">pst_desc_tree</a> <a class="el" href="structpst__desc__tree.html">pst_desc_tree</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="a42" doxytag="libpst.h::pst_entryid"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__entryid.html">pst_entryid</a> <a class="el" href="structpst__entryid.html">pst_entryid</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="a60" doxytag="libpst.h::pst_file"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__file.html">pst_file</a> <a class="el" href="structpst__file.html">pst_file</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="a44" doxytag="libpst.h::pst_id2_tree"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__id2__tree.html">pst_id2_tree</a> <a class="el" href="structpst__id2__tree.html">pst_id2_tree</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="a43" doxytag="libpst.h::pst_index_ll"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__index__ll.html">pst_index_ll</a> <a class="el" href="structpst__index__ll.html">pst_index_ll</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="a57" doxytag="libpst.h::pst_item"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__item.html">pst_item</a> <a class="el" href="structpst__item.html">pst_item</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This contains the common mapi elements, and pointers to structures for each major mapi item type. <p> It represents a complete mapi object. </td> </tr> </table> <a class="anchor" name="a56" doxytag="libpst.h::pst_item_appointment"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__item__appointment.html">pst_item_appointment</a> <a class="el" href="structpst__item__appointment.html">pst_item_appointment</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This contains the appointment related mapi elements. <p> </td> </tr> </table> <a class="anchor" name="a52" doxytag="libpst.h::pst_item_attach"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__item__attach.html">pst_item_attach</a> <a class="el" href="structpst__item__attach.html">pst_item_attach</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This contains the attachment related mapi elements. <p> </td> </tr> </table> <a class="anchor" name="a51" doxytag="libpst.h::pst_item_contact"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__item__contact.html">pst_item_contact</a> <a class="el" href="structpst__item__contact.html">pst_item_contact</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This contains the contact related mapi elements. <p> </td> </tr> </table> <a class="anchor" name="a48" doxytag="libpst.h::pst_item_email"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__item__email.html">pst_item_email</a> <a class="el" href="structpst__item__email.html">pst_item_email</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This contains the email related mapi elements. <p> </td> </tr> </table> <a class="anchor" name="a53" doxytag="libpst.h::pst_item_extra_field"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__item__extra__field.html">pst_item_extra_field</a> <a class="el" href="structpst__item__extra__field.html">pst_item_extra_field</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> linked list of extra header fields <p> </td> </tr> </table> <a class="anchor" name="a49" doxytag="libpst.h::pst_item_folder"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__item__folder.html">pst_item_folder</a> <a class="el" href="structpst__item__folder.html">pst_item_folder</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This contains the folder related mapi elements. <p> </td> </tr> </table> <a class="anchor" name="a54" doxytag="libpst.h::pst_item_journal"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__item__journal.html">pst_item_journal</a> <a class="el" href="structpst__item__journal.html">pst_item_journal</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This contains the journal related mapi elements. <p> </td> </tr> </table> <a class="anchor" name="a50" doxytag="libpst.h::pst_item_message_store"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__item__message__store.html">pst_item_message_store</a> <a class="el" href="structpst__item__message__store.html">pst_item_message_store</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This contains the message store related mapi elements. <p> </td> </tr> </table> <a class="anchor" name="a55" doxytag="libpst.h::pst_recurrence"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__recurrence.html">pst_recurrence</a> <a class="el" href="structpst__recurrence.html">pst_recurrence</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This contains the recurrence data separated into fields. <p> <a href="http://www.geocities.com/cainrandom/dev/MAPIRecurrence.html">http://www.geocities.com/cainrandom/dev/MAPIRecurrence.html</a> </td> </tr> </table> <a class="anchor" name="a46" doxytag="libpst.h::pst_string"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__string.html">pst_string</a> <a class="el" href="structpst__string.html">pst_string</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> The string is either utf8 encoded, or it is in the code page specified by the containing mapi object. <p> It can be forced into utf8 by calling <a class="el" href="libpst_8h.html#a82">pst_convert_utf8()</a> or <a class="el" href="libpst_8h.html#a81">pst_convert_utf8_null()</a>. </td> </tr> </table> <a class="anchor" name="a58" doxytag="libpst.h::pst_x_attrib_ll"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="structpst__x__attrib__ll.html">pst_x_attrib_ll</a> <a class="el" href="structpst__x__attrib__ll.html">pst_x_attrib_ll</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Linked list of extended attributes. <p> This is used to convert mapi_id values in the pst file into cannonical mapi_id values to be used in this code. This list is kept in sorted order, where the key is the 'map' field. Some mapi_id values are converted to cannonical mapi_id values (PST_MAP_ATTRIB), and others are converted to a string (PST_ATTRIB_HEADER). </td> </tr> </table> <hr><h2>Function Documentation</h2> <a class="anchor" name="a68" doxytag="libpst.h::pst_attach_to_file"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">size_t pst_attach_to_file </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname" nowrap> <em>pf</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="structpst__item__attach.html">pst_item_attach</a> * </td> <td class="mdname" nowrap> <em>attach</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>FILE * </td> <td class="mdname" nowrap> <em>fp</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Write a binary attachment to a file. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to the <a class="el" href="structpst__file.html">pst_file</a> structure setup by <a class="el" href="libpst_8h.html#a61">pst_open()</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>attach</em> </td><td>pointer to the attachment record </td></tr> <tr><td valign="top"></td><td valign="top"><em>fp</em> </td><td>pointer to an open FILE. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="a69" doxytag="libpst.h::pst_attach_to_file_base64"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">size_t pst_attach_to_file_base64 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname" nowrap> <em>pf</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="structpst__item__attach.html">pst_item_attach</a> * </td> <td class="mdname" nowrap> <em>attach</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>FILE * </td> <td class="mdname" nowrap> <em>fp</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Write a binary attachment base64 encoded to a file. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to the <a class="el" href="structpst__file.html">pst_file</a> structure setup by <a class="el" href="libpst_8h.html#a61">pst_open()</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>attach</em> </td><td>pointer to the attachment record </td></tr> <tr><td valign="top"></td><td valign="top"><em>fp</em> </td><td>pointer to an open FILE. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="a67" doxytag="libpst.h::pst_attach_to_mem"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="structpst__binary.html">pst_binary</a> pst_attach_to_mem </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname" nowrap> <em>pf</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="structpst__item__attach.html">pst_item_attach</a> * </td> <td class="mdname" nowrap> <em>attach</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Assemble the binary attachment into a single buffer. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to the <a class="el" href="structpst__file.html">pst_file</a> structure setup by <a class="el" href="libpst_8h.html#a61">pst_open()</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>attach</em> </td><td>pointer to the attachment record </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>structure containing size of and pointer to the buffer. the caller must free this buffer. </dd></dl> </td> </tr> </table> <a class="anchor" name="a65" doxytag="libpst.h::pst_close"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int pst_close </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname1" valign="top" nowrap> <em>pf</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Close a pst file. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to the <a class="el" href="structpst__file.html">pst_file</a> structure setup by <a class="el" href="libpst_8h.html#a61">pst_open()</a>. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="a83" doxytag="libpst.h::pst_convert_recurrence"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="structpst__recurrence.html">pst_recurrence</a>* pst_convert_recurrence </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__item__appointment.html">pst_item_appointment</a> * </td> <td class="mdname1" valign="top" nowrap> <em>appt</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Decode raw recurrence data into a better structure. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>appt</em> </td><td>pointer to appointment structure </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>pointer to decoded recurrence structure that must be free'd by the caller. </dd></dl> </td> </tr> </table> <a class="anchor" name="a82" doxytag="libpst.h::pst_convert_utf8"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void pst_convert_utf8 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__item.html">pst_item</a> * </td> <td class="mdname" nowrap> <em>item</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="structpst__string.html">pst_string</a> * </td> <td class="mdname" nowrap> <em>str</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Convert str to utf8 if possible; null strings are converted into empty strings. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>item</em> </td><td>pointer to the containing mapi item </td></tr> <tr><td valign="top"></td><td valign="top"><em>str</em> </td><td>pointer to the mapi string of interest </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="a81" doxytag="libpst.h::pst_convert_utf8_null"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void pst_convert_utf8_null </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__item.html">pst_item</a> * </td> <td class="mdname" nowrap> <em>item</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="structpst__string.html">pst_string</a> * </td> <td class="mdname" nowrap> <em>str</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Convert str to utf8 if possible; null strings are preserved. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>item</em> </td><td>pointer to the containing mapi item </td></tr> <tr><td valign="top"></td><td valign="top"><em>str</em> </td><td>pointer to the mapi string of interest </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="a80" doxytag="libpst.h::pst_default_charset"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const char* pst_default_charset </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__item.html">pst_item</a> * </td> <td class="mdname" nowrap> <em>item</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>buflen</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>char * </td> <td class="mdname" nowrap> <em>result</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Get the default character set for this item. <p> This is used to find the charset for <a class="el" href="structpst__string.html">pst_string</a> elements that are not already in utf8 encoding. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>item</em> </td><td>pointer to the mapi item of interest </td></tr> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>buflen</em> </td><td>length of the output buffer </td></tr> <tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>result</em> </td><td>pointer to output buffer, must be at least 30 bytes </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>default character set as a string useable by iconv() </dd></dl> </td> </tr> </table> <a class="anchor" name="a74" doxytag="libpst.h::pst_ff_getIDblock_dec"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">size_t pst_ff_getIDblock_dec </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname" nowrap> <em>pf</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>uint64_t </td> <td class="mdname" nowrap> <em>i_id</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>char ** </td> <td class="mdname" nowrap> <em>buf</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Get an ID block from the file using pst_ff_getIDblock() and decrypt if necessary. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to the <a class="el" href="structpst__file.html">pst_file</a> structure setup by <a class="el" href="libpst_8h.html#a61">pst_open()</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>i_id</em> </td><td>ID of block to retrieve </td></tr> <tr><td valign="top"></td><td valign="top"><em>buf</em> </td><td>reference to pointer to buffer that will contain the data block. If this pointer is non-NULL, it will first be free()d. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>Size of block read into memory </dd></dl> </td> </tr> </table> <a class="anchor" name="a84" doxytag="libpst.h::pst_free_recurrence"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void pst_free_recurrence </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__recurrence.html">pst_recurrence</a> * </td> <td class="mdname1" valign="top" nowrap> <em>r</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Free a recurrence structure. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>r</em> </td><td>input pointer to be freed </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="a72" doxytag="libpst.h::pst_freeItem"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void pst_freeItem </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__item.html">pst_item</a> * </td> <td class="mdname1" valign="top" nowrap> <em>item</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Free the item returned by <a class="el" href="libpst_8h.html#a71">pst_parse_item()</a>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>item</em> </td><td>pointer to item returned from <a class="el" href="libpst_8h.html#a71">pst_parse_item()</a>. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="a75" doxytag="libpst.h::pst_fwrite"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">size_t pst_fwrite </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const void * </td> <td class="mdname" nowrap> <em>ptr</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>size</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>nmemb</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>FILE * </td> <td class="mdname" nowrap> <em>stream</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> fwrite with checking for null pointer. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>ptr</em> </td><td>pointer to the buffer </td></tr> <tr><td valign="top"></td><td valign="top"><em>size</em> </td><td>size of each item </td></tr> <tr><td valign="top"></td><td valign="top"><em>nmemb</em> </td><td>number of items </td></tr> <tr><td valign="top"></td><td valign="top"><em>stream</em> </td><td>output file </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>number of bytes written, zero if ptr==NULL </dd></dl> </td> </tr> </table> <a class="anchor" name="a73" doxytag="libpst.h::pst_getID"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="structpst__index__ll.html">pst_index_ll</a>* pst_getID </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname" nowrap> <em>pf</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>uint64_t </td> <td class="mdname" nowrap> <em>i_id</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Lookup the i_id in the index linked list, and return a pointer to the element. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to the <a class="el" href="structpst__file.html">pst_file</a> structure setup by <a class="el" href="libpst_8h.html#a61">pst_open()</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>i_id</em> </td><td>key for the index linked list </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>pointer to the element, or NULL if not found. </dd></dl> </td> </tr> </table> <a class="anchor" name="a70" doxytag="libpst.h::pst_getNextDptr"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="structpst__desc__tree.html">pst_desc_tree</a>* pst_getNextDptr </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__desc__tree.html">pst_desc_tree</a> * </td> <td class="mdname1" valign="top" nowrap> <em>d</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Walk the descriptor tree. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td>pointer to the current item in the descriptor tree. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>pointer to the next item in the descriptor tree. </dd></dl> </td> </tr> </table> <a class="anchor" name="a66" doxytag="libpst.h::pst_getTopOfFolders"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="structpst__desc__tree.html">pst_desc_tree</a>* pst_getTopOfFolders </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname" nowrap> <em>pf</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="structpst__item.html">pst_item</a> * </td> <td class="mdname" nowrap> <em>root</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Get the top of folders descriptor tree. <p> This is the main descriptor tree that needs to be walked to look at every item in the pst file. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to the <a class="el" href="structpst__file.html">pst_file</a> structure setup by <a class="el" href="libpst_8h.html#a61">pst_open()</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>root</em> </td><td>root item, which can be obtained by pst_parse_item(pf, pf->d_head, NULL). </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="a64" doxytag="libpst.h::pst_load_extended_attributes"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int pst_load_extended_attributes </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname1" valign="top" nowrap> <em>pf</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Load the extended attribute mapping table from the pst file. <p> This should normally be the second call after <a class="el" href="libpst_8h.html#a61">pst_open()</a>. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to the <a class="el" href="structpst__file.html">pst_file</a> structure setup by <a class="el" href="libpst_8h.html#a61">pst_open()</a>. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="a63" doxytag="libpst.h::pst_load_index"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int pst_load_index </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname1" valign="top" nowrap> <em>pf</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Load the index entries from the pst file. <p> This loads both the i_id linked list, and the d_id tree, and should normally be the first call after <a class="el" href="libpst_8h.html#a61">pst_open()</a>. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to the <a class="el" href="structpst__file.html">pst_file</a> structure setup by <a class="el" href="libpst_8h.html#a61">pst_open()</a>. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="a61" doxytag="libpst.h::pst_open"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int pst_open </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname" nowrap> <em>pf</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>name</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Open a pst file. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to uninitialized <a class="el" href="structpst__file.html">pst_file</a> structure. This structure will be filled in by this function. </td></tr> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>name of the file, suitable for fopen(). </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>0 if ok, -1 if error </dd></dl> </td> </tr> </table> <a class="anchor" name="a71" doxytag="libpst.h::pst_parse_item"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="structpst__item.html">pst_item</a>* pst_parse_item </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname" nowrap> <em>pf</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="structpst__desc__tree.html">pst_desc_tree</a> * </td> <td class="mdname" nowrap> <em>d_ptr</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="structpst__id2__tree.html">pst_id2_tree</a> * </td> <td class="mdname" nowrap> <em>m_head</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Assemble a mapi object from a descriptor pointer. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to the <a class="el" href="structpst__file.html">pst_file</a> structure setup by <a class="el" href="libpst_8h.html#a61">pst_open()</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>d_ptr</em> </td><td>pointer to an item in the descriptor tree. </td></tr> <tr><td valign="top"></td><td valign="top"><em>m_head</em> </td><td>normally NULL. This is only used when processing embedded attached rfc822 messages, in which case it is attach->id2_head. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>pointer to the mapi object. Must be free'd by <a class="el" href="libpst_8h.html#a72">pst_freeItem()</a>. </dd></dl> </td> </tr> </table> <a class="anchor" name="a62" doxytag="libpst.h::pst_reopen"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int pst_reopen </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structpst__file.html">pst_file</a> * </td> <td class="mdname1" valign="top" nowrap> <em>pf</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Reopen the pst file after a fork. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pf</em> </td><td>pointer to the <a class="el" href="structpst__file.html">pst_file</a> structure setup by <a class="el" href="libpst_8h.html#a61">pst_open()</a>. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>0 if ok, -1 if error </dd></dl> </td> </tr> </table> <a class="anchor" name="a77" doxytag="libpst.h::pst_rfc2425_datetime_format"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">char* pst_rfc2425_datetime_format </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structFILETIME.html">FILETIME</a> * </td> <td class="mdname" nowrap> <em>ft</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>buflen</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>char * </td> <td class="mdname" nowrap> <em>result</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Convert a <a class="el" href="structFILETIME.html">FILETIME</a> into rfc2425 date/time format 1953-10-15T23:10:00Z which is the same as one of the forms in the ISO3601 standard. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>ft</em> </td><td>time to be converted </td></tr> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>buflen</em> </td><td>length of the output buffer </td></tr> <tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>result</em> </td><td>pointer to output buffer, must be at least 30 bytes </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>time in rfc2425 format </dd></dl> </td> </tr> </table> <a class="anchor" name="a76" doxytag="libpst.h::pst_rfc2426_escape"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">char* pst_rfc2426_escape </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">char * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>char ** </td> <td class="mdname" nowrap> <em>result</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>size_t * </td> <td class="mdname" nowrap> <em>resultlen</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Add any necessary escape characters for rfc2426 vcard format. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>str</em> </td><td>pointer to input string </td></tr> <tr><td valign="top"><tt>[in,out]</tt> </td><td valign="top"><em>result</em> </td><td>pointer to a char* pointer that may be realloc'ed if needed </td></tr> <tr><td valign="top"><tt>[in,out]</tt> </td><td valign="top"><em>resultlen</em> </td><td>size of the result buffer </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>pointer to output string, either the input pointer if there are no characters that need escapes, or a pointer to a possibly realloc'ed result buffer. </dd></dl> </td> </tr> </table> <a class="anchor" name="a78" doxytag="libpst.h::pst_rfc2445_datetime_format"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">char* pst_rfc2445_datetime_format </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structFILETIME.html">FILETIME</a> * </td> <td class="mdname" nowrap> <em>ft</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>buflen</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>char * </td> <td class="mdname" nowrap> <em>result</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Convert a <a class="el" href="structFILETIME.html">FILETIME</a> into rfc2445 date/time format 19531015T231000Z. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>ft</em> </td><td>time to be converted </td></tr> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>buflen</em> </td><td>length of the output buffer </td></tr> <tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>result</em> </td><td>pointer to output buffer, must be at least 30 bytes </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>time in rfc2445 format </dd></dl> </td> </tr> </table> <a class="anchor" name="a79" doxytag="libpst.h::pst_rfc2445_datetime_format_now"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">char* pst_rfc2445_datetime_format_now </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>buflen</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>char * </td> <td class="mdname" nowrap> <em>result</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Convert the current time rfc2445 date/time format 19531015T231000Z. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>buflen</em> </td><td>length of the output buffer </td></tr> <tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>result</em> </td><td>pointer to output buffer, must be at least 30 bytes </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>time in rfc2445 format </dd></dl> </td> </tr> </table> <hr size="1"><address style="align: right;"><small>Generated on Sat Feb 13 11:17:56 2010 for libpst.so.4 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address> </body> </html>