summaryrefslogtreecommitdiffstats
path: root/src/addpart.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-02-02 15:14:59 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2014-02-02 15:14:59 +0100
commit880f9a2d4016c90ed5fdcf297619dfb52a1a72a7 (patch)
treef07cc5345c6bd24b1655b64f309cdeb52065ed2b /src/addpart.c
parent5620526c2759ed193fbdac5af37537dfb404da65 (diff)
TestDisk: add 'addpart' in CLI command
Diffstat (limited to 'src/addpart.c')
-rw-r--r--src/addpart.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/addpart.c b/src/addpart.c
index a365413..0db0e3c 100644
--- a/src/addpart.c
+++ b/src/addpart.c
@@ -29,6 +29,7 @@
#include "common.h"
#include "parti386.h"
#include "partgpt.h"
+#include "parthumax.h"
#include "partmac.h"
#include "partsun.h"
#include "partxbox.h"
@@ -36,6 +37,7 @@
extern const arch_fnct_t arch_gpt;
extern const arch_fnct_t arch_i386;
+extern const arch_fnct_t arch_humax;
extern const arch_fnct_t arch_mac;
extern const arch_fnct_t arch_sun;
extern const arch_fnct_t arch_xbox;
@@ -48,6 +50,8 @@ list_part_t *add_partition_cli(disk_t *disk, list_part_t *list_part, char **curr
return add_partition_gpt_cli(disk, list_part, current_cmd);
else if(disk->arch==&arch_i386)
return add_partition_i386_cli(disk, list_part, current_cmd);
+ else if(disk->arch==&arch_humax)
+ return add_partition_humax_cli(disk, list_part, current_cmd);
else if(disk->arch==&arch_mac)
return add_partition_mac_cli(disk, list_part, current_cmd);
else if(disk->arch==&arch_sun)