summaryrefslogtreecommitdiffstats
path: root/src/geometry.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-15 13:41:20 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-15 13:41:20 +0200
commitfd9c697a03a5501e326479192dad98e2d6fdb64e (patch)
tree7c5862a7d2408640a11425922f32b66e313cc48f /src/geometry.h
parent38084f56e0fea23249b010f0fc37c20c33871840 (diff)
Split change_geometry() into change_geometry_cli() and change_geometry_ncurses()
Diffstat (limited to 'src/geometry.h')
-rw-r--r--src/geometry.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/geometry.h b/src/geometry.h
index 778df3d..98993c2 100644
--- a/src/geometry.h
+++ b/src/geometry.h
@@ -23,7 +23,9 @@
extern "C" {
#endif
-int change_geometry(disk_t *disk_car, char **current_cmd);
+void set_cylinders_from_size_up(disk_t *disk);
+int change_sector_size(disk_t *disk, const int cyl_modified, const unsigned int sector_size);
+int change_geometry_cli(disk_t *disk, char **current_cmd);
#ifdef __cplusplus
} /* closing brace for extern "C" */