1 /* gstdioprivate.h - Private GLib stdio functions
3 * Copyright 2017 Руслан Ижбулатов
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this library; if not, see <http://www.gnu.org/licenses/>.
19 #ifndef __G_STDIOPRIVATE_H__
20 #define __G_STDIOPRIVATE_H__
24 #if defined (G_OS_WIN32)
26 struct _GWin32PrivateStat
28 guint32 volume_serial
;
31 guint64 allocated_size
;
46 typedef struct _GWin32PrivateStat GWin32PrivateStat
;
48 int g_win32_stat_utf8 (const gchar
*filename
,
49 GWin32PrivateStat
*buf
);
51 int g_win32_lstat_utf8 (const gchar
*filename
,
52 GWin32PrivateStat
*buf
);
54 int g_win32_readlink_utf8 (const gchar
*filename
,
58 int g_win32_fstat (int fd
,
59 GWin32PrivateStat
*buf
);
65 #endif /* __G_STDIOPRIVATE_H__ */