2 * DOS file system declarations
4 * Copyright 1996 Alexandre Julliard
7 #ifndef __WINE_DOS_FS_H
8 #define __WINE_DOS_FS_H
13 #define MAX_PATHNAME_LEN 1024
15 #define IS_END_OF_NAME(ch) (!(ch) || ((ch) == '/') || ((ch) == '\\'))
17 extern void DOSFS_ToDosDateTime( time_t unixtime, WORD *pDate, WORD *pTime );
18 extern time_t DOSFS_DosDateTimeToUnixTime(WORD,WORD);
19 extern const char *DOSFS_ToDosFCBFormat( const char *name );
20 extern const char *DOSFS_ToDosDTAFormat( const char *name );
21 extern const char *DOSFS_IsDevice( const char *name );
22 extern BOOL32 DOSFS_FindUnixName( const char *path, const char *name,
23 char *buffer, int maxlen,
25 extern const char * DOSFS_GetUnixFileName( const char * name, int check_last );
26 extern const char * DOSFS_GetDosTrueName( const char *name, int unix_format );
27 extern int DOSFS_GetDosFileName( const char *name, char *buffer, int len );
28 extern time_t DOSFS_FileTimeToUnixTime( const FILETIME *ft );
29 extern void DOSFS_UnixTimeToFileTime(time_t unixtime,LPFILETIME ft);
30 extern int DOSFS_FindNext( const char *path, const char *short_mask,
31 const char *long_mask, int drive, BYTE attr,
32 int skip, WIN32_FIND_DATA32A *entry );
34 #endif /* __WINE_DOS_FS_H */