summaryrefslogtreecommitdiffstats
path: root/src/hdwin32.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-04-11 11:45:06 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-04-11 11:45:06 +0200
commitb62aab4cde8ec4b2296b40ab05014ee3e9c01854 (patch)
treeff0d8fa7651a23dda50d395248bcd234dd8cfd71 /src/hdwin32.h
parentef4cf90c9405b38b39ec1b033cd17e5a0f4eb65e (diff)
Reorganize how disk geometry, size and sector size is gathered
Diffstat (limited to 'src/hdwin32.h')
-rw-r--r--src/hdwin32.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/hdwin32.h b/src/hdwin32.h
new file mode 100644
index 0000000..f4c066e
--- /dev/null
+++ b/src/hdwin32.h
@@ -0,0 +1,27 @@
+/*
+
+ File: hdwin32.h
+
+ Copyright (C) 2008 Christophe GRENIER <grenier@cgsecurity.org>
+
+ This software is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write the Free Software Foundation, Inc., 51
+ Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ */
+#ifndef _HDWIN32_H
+#define _HDWIN32_H
+#if defined(__CYGWIN__) || defined(__MINGW32__)
+void file_win32_disk_get_model(HANDLE handle, disk_t *dev, const int verbose);
+#endif
+#endif