winhttp, wininet: Load i2d_X509 from libcrypto.so.
[wine] / include / msvcrt / sys / utime.h
1 /*
2  * Path and directory definitions
3  *
4  * Copyright 2000 Francois Gouget.
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library 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 GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20 #ifndef __WINE_SYS_UTIME_H
21 #define __WINE_SYS_UTIME_H
22
23 #include <crtdefs.h>
24
25 #include <pshpack8.h>
26
27 #ifndef _UTIMBUF_DEFINED
28 #define _UTIMBUF_DEFINED
29 struct _utimbuf
30 {
31     time_t actime;
32     time_t modtime;
33 };
34 #endif /* _UTIMBUF_DEFINED */
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 int __cdecl _futime(int,struct _utimbuf*);
41 int __cdecl _utime(const char*,struct _utimbuf*);
42 int __cdecl _wutime(const wchar_t*,struct _utimbuf*);
43
44 #ifdef __cplusplus
45 }
46 #endif
47
48
49 #define utimbuf _utimbuf
50
51 static inline int utime(const char* path, struct _utimbuf* buf) { return _utime(path, buf); }
52
53 #include <poppack.h>
54
55 #endif /* __WINE_SYS_UTIME_H */