summaryrefslogtreecommitdiffstats
path: root/src/addpartn.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-15 17:53:26 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-15 17:53:26 +0200
commit816032140813972e230863a002b4acd1b15d2bcf (patch)
tree9c2b26ea8c5680b6127217c7c3933fb8f5c30252 /src/addpartn.h
parent2dd9cec608a056ded9df373610854918f492a339 (diff)
split add_partition() into add_partition_cli() and add_partition_ncurses()
Diffstat (limited to 'src/addpartn.h')
-rw-r--r--src/addpartn.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/addpartn.h b/src/addpartn.h
new file mode 100644
index 0000000..e0638c1
--- /dev/null
+++ b/src/addpartn.h
@@ -0,0 +1,23 @@
+/*
+
+ File: addpartn.h
+
+ Copyright (C) 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.
+
+ */
+
+list_part_t *add_partition_ncurses(disk_t *disk, list_part_t *list_part);