libcdio
0.83
Main Page
Data Structures
Files
File List
Globals
include
cdio
udf_time.h
Go to the documentation of this file.
1
/*
2
$Id: udf_time.h,v 1.5 2008/03/25 15:59:09 karl Exp $
3
4
Copyright (C) 2005, 2008 Rocky Bernstein <rocky@gnu.org>
5
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
27
#ifndef UDF_TIME_H
28
#define UDF_TIME_H
29
30
#include <time.h>
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
/* __cplusplus */
35
39
time_t
udf_get_access_time
(
const
udf_dirent_t
*p_udf_dirent);
40
44
time_t
udf_get_attribute_time
(
const
udf_dirent_t
*p_udf_dirent);
45
49
time_t
udf_get_modification_time
(
const
udf_dirent_t
*p_udf_dirent);
50
54
udf_timestamp_t
*
udf_get_access_timestamp
(
const
udf_dirent_t
*p_udf_dirent);
55
59
udf_timestamp_t
*
udf_get_modification_timestamp
(
const
udf_dirent_t
60
*p_udf_dirent);
61
65
udf_timestamp_t
*
udf_get_attr_timestamp
(
const
udf_dirent_t
*p_udf_dirent);
66
70
time_t *
udf_stamp_to_time
(time_t *dest,
long
int
*dest_usec,
71
const
udf_timestamp_t
src);
72
73
udf_timestamp_t
*
udf_timespec_to_stamp
(
const
struct
timespec ts,
74
udf_timestamp_t
*dest);
75
76
#ifdef __cplusplus
77
}
78
#endif
/* __cplusplus */
79
80
#endif
/*UDF_TIME_H*/
Generated for libcdio by
1.8.1.1