<!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/timeconv.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>timeconv.h File Reference</h1><code>#include "<a class="el" href="common_8h-source.html">common.h</a>"</code><br> <p> Include dependency graph for timeconv.h:<p><center><img src="timeconv_8h__incl.png" border="0" usemap="#timeconv.h_map" alt="Include dependency graph"></center> <map name="timeconv.h_map"> <area href="common_8h.html" shape="rect" coords="262,84,345,108" alt=""> </map> <p> <a href="timeconv_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>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="timeconv_8h.html#a0">pst_fileTimeToAscii</a> (const <a class="el" href="structFILETIME.html">FILETIME</a> *filetime, char *result)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a <a class="el" href="structFILETIME.html">FILETIME</a> to ascii printable local time. <a href="#a0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timeconv_8h.html#a1">pst_fileTimeToStructTM</a> (const <a class="el" href="structFILETIME.html">FILETIME</a> *filetime, struct tm *result)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a <a class="el" href="structFILETIME.html">FILETIME</a> to unix struct tm. <a href="#a1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="timeconv_8h.html#a2">pst_fileTimeToUnixTime</a> (const <a class="el" href="structFILETIME.html">FILETIME</a> *filetime)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a <a class="el" href="structFILETIME.html">FILETIME</a> to unix time_t value. <a href="#a2"></a><br></td></tr> </table> <hr><h2>Function Documentation</h2> <a class="anchor" name="a0" doxytag="timeconv.h::pst_fileTimeToAscii"></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_fileTimeToAscii </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>filetime</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> to ascii printable local time. <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>filetime</em> </td><td>time structure to be converted </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>result pointer to the output buffer </dd></dl> </td> </tr> </table> <a class="anchor" name="a1" doxytag="timeconv.h::pst_fileTimeToStructTM"></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_fileTimeToStructTM </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>filetime</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>struct tm * </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> to unix struct tm. <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>filetime</em> </td><td>time structure to be converted </td></tr> <tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>result</em> </td><td>pointer to output struct tm </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="a2" doxytag="timeconv.h::pst_fileTimeToUnixTime"></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">time_t pst_fileTimeToUnixTime </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="mdname1" valign="top" nowrap> <em>filetime</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> Convert a <a class="el" href="structFILETIME.html">FILETIME</a> to unix time_t value. <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>filetime</em> </td><td>time structure to be converted </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>result time_t value </dd></dl> </td> </tr> </table> <hr size="1"><address style="align: right;"><small>Generated on Sun Sep 20 11:20:24 2009 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>