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

Last change on this file since 1631 was 1631, checked in by sandervl, 26 years ago

header changes/additions

File size: 706 bytes
Line 
1/* $Id: file.h,v 1.1 1999-11-08 13:46:16 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
26/* DOS device descriptor */
27typedef struct
28{
29 char *name;
30 int flags;
31} DOS_DEVICE;
32
33#endif /* __WINE_FILE_H */
Note: See TracBrowser for help on using the repository browser.