Lines Matching refs:file_path_gz
295 char * file_path_gz, * file_path_test;
412 file_path_gz = malloc(sizeof(char) * (strlen(GeoIPDBFileName[GEOIP_COUNTRY_EDITION]) + 4));
413 if (file_path_gz == NULL)
415 strcpy(file_path_gz,GeoIPDBFileName[GEOIP_COUNTRY_EDITION]);
416 strcat(file_path_gz,".gz");
418 GeoIP_printf(f, SavingGzip, file_path_gz);
420 comp_fh = fopen(file_path_gz, "wb");
423 free(file_path_gz);
442 gz_fh = gzopen(file_path_gz, "rb");
474 unlink(file_path_gz);
475 free(file_path_gz);
555 char * file_path_gz, * file_path_test;
839 file_path_gz = malloc(sizeof(char) * (strlen(geoipfilename) + 4));
841 if (file_path_gz == NULL)
843 strcpy(file_path_gz,geoipfilename);
844 strcat(file_path_gz,".gz");
846 GeoIP_printf(f, SavingGzip, file_path_gz );
848 comp_fh = fopen(file_path_gz, "wb");
851 free(file_path_gz);
864 GeoIP_printf(f, "download data to a gz file named %s \n",file_path_gz);
871 free(file_path_gz);
879 free(file_path_gz);
884 gz_fh = gzopen(file_path_gz, "rb");
889 free(file_path_gz);
903 unlink(file_path_gz);
904 free(file_path_gz);