nss: upgrade to release 3.73
[LibreOffice.git] / onlineupdate / source / update / common / win_dirent.h
blobfff13f9e0c9f79e3b9930c5cff710f8ee8606210
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef WINDIRENT_H__
8 #define WINDIRENT_H__
9 #ifdef _WIN32
10 #include <windows.h>
12 struct DIR
14 explicit DIR(const WCHAR* path);
15 ~DIR();
16 HANDLE findHandle;
17 WCHAR name[MAX_PATH];
20 struct dirent
22 dirent();
23 WCHAR d_name[MAX_PATH];
26 DIR* opendir(const WCHAR* path);
27 int closedir(DIR* dir);
28 dirent* readdir(DIR* dir);
30 #endif // WNT
31 #endif // WINDIRENT_H__