aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/disk/util.h
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-04-19 08:13:00 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-04-19 08:13:00 -0700
commita47eec26c8e5b269852fde63b9e3767ed76c1f47 (patch)
treed80eed5d325c6f181036ba485ad94d6d9590eba2 /com32/gplinclude/disk/util.h
parent796ac719ba031943201c5fc3cf740dea50315414 (diff)
downloadsyslinux-a47eec26c8e5b269852fde63b9e3767ed76c1f47.tar.gz
syslinux-a47eec26c8e5b269852fde63b9e3767ed76c1f47.tar.xz
syslinux-a47eec26c8e5b269852fde63b9e3767ed76c1f47.zip
gpllib: Add disk library
This library features read and write operations, as well as geometry detection. It will prevent duplicating code between several modules (e.g. hdt and chain.c32). Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/gplinclude/disk/util.h')
-rw-r--r--com32/gplinclude/disk/util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/com32/gplinclude/disk/util.h b/com32/gplinclude/disk/util.h
new file mode 100644
index 00000000..5a76e0c4
--- /dev/null
+++ b/com32/gplinclude/disk/util.h
@@ -0,0 +1,9 @@
+#ifndef _UTIL_H_
+#define _UTIL_H_
+
+#include <com32.h>
+
+int int13_retry(const com32sys_t *inreg, com32sys_t *outreg);
+void get_error(const int, char**);
+
+#endif /* _UTIL_H_ */