summaryrefslogtreecommitdiffstats
path: root/src/partmac.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/partmac.h
parent56e1c29b2c0614b0b3230946d72e1eaf37618bcc (diff)
Split ncurses text interface from functions
Diffstat (limited to 'src/partmac.h')
-rw-r--r--src/partmac.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/partmac.h b/src/partmac.h
index bdfdcb0..58b90f5 100644
--- a/src/partmac.h
+++ b/src/partmac.h
@@ -20,6 +20,10 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define BLOCK0_SIGNATURE 0x4552 /* Signature value. */
@@ -88,4 +92,9 @@ struct dpme {
};
typedef struct dpme mac_DPME;
+int test_structure_mac(list_part_t *list_part);
+list_part_t *add_partition_mac_cli(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd);
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif