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