diff options
Diffstat (limited to 'win32/mntent.h')
-rw-r--r-- | win32/mntent.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/win32/mntent.h b/win32/mntent.h index 8bdf3d45e..029f18b96 100644 --- a/win32/mntent.h +++ b/win32/mntent.h | |||
@@ -16,6 +16,18 @@ extern FILE *mingw_setmntent(void); | |||
16 | extern struct mntent *getmntent(FILE *stream); | 16 | extern struct mntent *getmntent(FILE *stream); |
17 | extern int endmntent(FILE *stream); | 17 | extern int endmntent(FILE *stream); |
18 | 18 | ||
19 | # if defined(MNTENT_PRIVATE) | ||
20 | struct mntdata { | ||
21 | struct mntent me; | ||
22 | char mnt_fsname[PATH_MAX]; | ||
23 | char mnt_dir[4]; | ||
24 | char mnt_type[100]; | ||
25 | char mnt_opts[4]; | ||
26 | }; | ||
27 | |||
28 | extern int fill_mntdata(struct mntdata *data, int index); | ||
29 | # endif | ||
30 | |||
19 | #define setmntent(f, m) mingw_setmntent() | 31 | #define setmntent(f, m) mingw_setmntent() |
20 | 32 | ||
21 | #endif | 33 | #endif |