winspool.h: Add missing declarations.
[wine] / include / msvcrt / dos.h
1 /*
2  * DOS definitions
3  *
4  * Derived from the mingw header written by Colin Peters.
5  * Modified for Wine use by Jon Griffiths and Francois Gouget.
6  * This file is in the public domain.
7  */
8 #ifndef __WINE_DOS_H
9 #define __WINE_DOS_H
10 #ifndef __WINE_USE_MSVCRT
11 #define __WINE_USE_MSVCRT
12 #endif
13
14 /* The following are also defined in io.h */
15 #define _A_NORMAL 0x00000000
16 #define _A_RDONLY 0x00000001
17 #define _A_HIDDEN 0x00000002
18 #define _A_SYSTEM 0x00000004
19 #define _A_VOLID  0x00000008
20 #define _A_SUBDIR 0x00000010
21 #define _A_ARCH   0x00000020
22
23 #ifndef _DISKFREE_T_DEFINED
24 #define _DISKFREE_T_DEFINED
25 struct _diskfree_t {
26   unsigned int total_clusters;
27   unsigned int avail_clusters;
28   unsigned int sectors_per_cluster;
29   unsigned int bytes_per_sector;
30 };
31 #endif /* _DISKFREE_T_DEFINED */
32
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 unsigned int _getdiskfree(unsigned int, struct _diskfree_t *);
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44
45 #define diskfree_t _diskfree_t
46
47 #endif /* __WINE_DOS_H */