source: trunk/include/win/file.h@ 10367

Last change on this file since 10367 was 9009, checked in by sandervl, 23 years ago

update

File size: 754 bytes
Line 
1/* $Id: file.h,v 1.2 2002-08-16 09:55:24 sandervl Exp $ */
2/*
3 * File handling declarations
4 *
5 * Copyright 1996 Alexandre Julliard
6 */
7
8#ifndef __WINE_FILE_H
9#define __WINE_FILE_H
10
11#include <time.h> /* time_t */
12#include "winbase.h"
13
14#define MAX_PATHNAME_LEN 1024
15
16/* Definition of a full DOS file name */
17typedef struct
18{
19 char long_name[MAX_PATHNAME_LEN]; /* Long pathname in Unix format */
20 char short_name[MAX_PATHNAME_LEN]; /* Short pathname in DOS 8.3 format */
21 int drive;
22} DOS_FULL_NAME;
23
24#define IS_END_OF_NAME(ch) (!(ch) || ((ch) == '/') || ((ch) == '\\'))
25#define INVALID_DOS_CHARS "*?<>|\"+=,;[] \345"
26
27/* DOS device descriptor */
28typedef struct
29{
30 char *name;
31 int flags;
32} DOS_DEVICE;
33
34#endif /* __WINE_FILE_H */
Note: See TracBrowser for help on using the repository browser.