libcdio  0.82
udf_time.h
Go to the documentation of this file.
00001 /*  
00002     $Id: udf_time.h,v 1.5 2008/03/25 15:59:09 karl Exp $
00003 
00004     Copyright (C) 2005, 2008 Rocky Bernstein <rocky@gnu.org>
00005 
00006     This program is free software: you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation, either version 3 of the License, or
00009     (at your option) any later version.
00010 
00011     This program is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014     GNU General Public License for more details.
00015 
00016     You should have received a copy of the GNU General Public License
00017     along with this program.  If not, see <http://www.gnu.org/licenses/>.
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 for libcdio by doxygen 1.7.6.1