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

Function menu_disk

src/tdiskop.c:192–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190#endif
191
192int menu_disk(disk_t *disk_car, const int verbose,int dump_ind, const int saveheader, char **current_cmd)
193{
194 if(*current_cmd!=NULL)
195 return menu_disk_cli(disk_car, verbose, dump_ind, saveheader, current_cmd);
196#ifdef HAVE_NCURSES
197 return menu_disk_ncurses(disk_car, verbose, dump_ind, saveheader, current_cmd);
198#else
199 return 0;
200#endif
201}

Callers 2

Calls 2

menu_disk_cliFunction · 0.85
menu_disk_ncursesFunction · 0.85

Tested by

no test coverage detected