udf_time.h

Go to the documentation of this file.
00001 /*  
00002     $Id: udf__time_8h-source.html,v 1.2 2006/10/27 11:16:42 rocky Exp $
00003     Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
00004 
00005     This program is free software; you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation; either version 2 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License
00016     along with this program; if not, write to the Free Software
00017     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 */
00019 
00027 #ifndef UDF_TIME_H
00028 #define UDF_TIME_H 
00029 
00030 #include <time.h>
00031 
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif /* __cplusplus */
00035 
00039   time_t udf_get_access_time(const udf_dirent_t *p_udf_dirent);
00040 
00044   time_t udf_get_attribute_time(const udf_dirent_t *p_udf_dirent);
00045 
00049   time_t udf_get_modification_time(const udf_dirent_t *p_udf_dirent);
00050 
00054   udf_timestamp_t *udf_get_access_timestamp(const udf_dirent_t *p_udf_dirent);
00055 
00059   udf_timestamp_t *udf_get_modification_timestamp(const udf_dirent_t 
00060                                                   *p_udf_dirent);
00061 
00065   udf_timestamp_t *udf_get_attr_timestamp(const udf_dirent_t *p_udf_dirent);
00066 
00070   time_t *udf_stamp_to_time(time_t *dest, long int *dest_usec, 
00071                           const udf_timestamp_t src);
00072 
00073   udf_timestamp_t *udf_timespec_to_stamp(const struct timespec ts,
00074                                          udf_timestamp_t *dest);
00075 
00076 #ifdef __cplusplus
00077 }
00078 #endif /* __cplusplus */
00079 
00080 #endif /*UDF_TIME_H*/

Generated on Fri Oct 27 06:38:08 2006 for libcdio by  doxygen 1.4.6