summaryrefslogtreecommitdiffstats
path: root/src/partxbox.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-01-14 22:13:47 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-01-14 22:13:47 +0100
commit1650fe5b8b6cea638c280df13605aea816718a00 (patch)
treefed11bd9361236aba47157d859607c109db05814 /src/partxbox.h
parent56e1c29b2c0614b0b3230946d72e1eaf37618bcc (diff)
Split ncurses text interface from functions
Diffstat (limited to 'src/partxbox.h')
-rw-r--r--src/partxbox.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/partxbox.h b/src/partxbox.h
index e1c2cb2..b0d0d63 100644
--- a/src/partxbox.h
+++ b/src/partxbox.h
@@ -20,6 +20,9 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
struct xbox_partition
{
@@ -27,3 +30,9 @@ struct xbox_partition
char magic[4];
uint32_t bootnbr;
} __attribute__ ((__packed__));
+
+list_part_t *add_partition_xbox_cli(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd);
+
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif