summaryrefslogtreecommitdiffstats
path: root/src/geometryn.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/geometryn.h
parent38084f56e0fea23249b010f0fc37c20c33871840 (diff)
Split change_geometry() into change_geometry_cli() and change_geometry_ncurses()
Diffstat (limited to 'src/geometryn.h')
-rw-r--r--src/geometryn.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/geometryn.h b/src/geometryn.h
new file mode 100644
index 0000000..4440aa9
--- /dev/null
+++ b/src/geometryn.h
@@ -0,0 +1,30 @@
+/*
+
+ File: geometryn.h
+
+ Copyright (C) 1998-2013 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.
+
+ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int change_geometry_ncurses(disk_t *disk);
+
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif