/*
** 2015 November 30
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*************************************************************************
** This file contains declarations for most of the opendir() family of
** POSIX functions on Win32 using the MSVCRT.
*/
/*
** We need several data types from the Windows SDK header.
*/
/*
** We need several support functions from the SQLite core.
*/
/*
** We need several things from the ANSI and MSVCRT headers.
*/
/*
** We may need several defines that should have been in "sys/stat.h".
*/
/*
** We may need to provide the "mode_t" type.
*/
typedef unsigned short mode_t;
/*
** We may need to provide the "ino_t" type.
*/
typedef unsigned short ino_t;
/*
** We need to define "NAME_MAX" if it was not present in "limits.h".
*/
/*
** We need to define "NULL_INTPTR_T" and "BAD_INTPTR_T".
*/
/*
** We need to provide the necessary structures and related types.
*/
typedef struct DIRENT DIRENT;
typedef DIRENT *LPDIRENT;
;
typedef struct DIR DIR;
typedef DIR *LPDIR;
;
/*
** Provide a macro, for use by the implementation, to determine if a
** particular directory entry should be skipped over when searching for
** the next directory entry that should be returned by the readdir() or
** readdir_r() functions.
*/
/*
** Provide the function prototype for the POSIX compatible getenv()
** function. This function is not thread-safe.
*/
extern const char *;
/*
** Finally, we can provide the function prototypes for the opendir(),
** readdir(), readdir_r(), and closedir() POSIX functions.
*/
extern LPDIR ;
extern LPDIRENT ;
extern INT ;
extern INT ;
/* defined(WIN32) && defined(_MSC_VER) */