| Hi,
I am using httrack-3.41.22 in linux (Ubuntu). I have modified the example
program given in the httrack website as follows.
EXTERNAL_FUNCTION int hts_plug(httrackp *opt, const char* argv) {
/* To make sure this function is called, I am Just creating a file */
FILE *fp = fopen("/tmp/mytouch1.file","w");
close(fp);
..............
..............
..............
return 1; /* success */
}
I used the following command to compile
$ gcc -I /usr/local/include/httrack/ -O -g3 -shared -o mylibrary.so
myexample.c
It created a mylibrary.so without any errors.
And I want to plug the module using the commandline.
$ httrack --wrapper mylibrary <http://www.google.co.in>
But I found the program was not calling the external function.
Can any one tell me where I am wrong ?
-Jp
| |