MCPcopy Create free account
hub / github.com/cgsecurity/testdisk / ask_structure

Function ask_structure

src/intrface.c:420–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418#endif
419
420list_part_t *ask_structure(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd)
421{
422 if(*current_cmd!=NULL)
423 return ask_structure_cli(disk_car, list_part, verbose, current_cmd);
424#ifdef HAVE_NCURSES
425 return ask_structure_ncurses(disk_car, list_part, verbose);
426#else
427 return list_part;
428#endif
429}

Callers 1

interface_recoveryFunction · 0.85

Calls 2

ask_structure_cliFunction · 0.85
ask_structure_ncursesFunction · 0.85

Tested by

no test coverage detected