| please find how I am using httrack
httrackp* opt = hts_create_opt();
CHAIN_FUNCTION(opt, end, httrack_wrapper_end_431, NULL);
CHAIN_FUNCTION(opt, check_link, httrack_wrapper_check_431, NULL);
CHAIN_FUNCTION(opt, check_html, httrack_wrapper_checkhtml_431, NULL);
CHAIN_FUNCTION(opt, linkdetected, httrack_wrapper_linkdetected_431, NULL);
/* Then, launch the mirror */
int ret = hts_main2(argc, argv, opt);
/* Clear option state */
hts_free_opt(opt);
hts_uninit();
| |