Lines Matching refs:true_path
106 static char * true_path = NULL; /* used for store csocks host key path */ variable
1051 true_path = malloc(len_path + len_file + 1); in parse_host_file()
1052 if (!true_path){ in parse_host_file()
1057 bzero(true_path, len_path + len_file + 1); in parse_host_file()
1058 bcopy (home_path, true_path, len_path); in parse_host_file()
1059 true_path[len_path]='/'; in parse_host_file()
1060 bcopy (CSOCKS_HOST_KEY_FILE, &(true_path[len_path + 1]), len_file); in parse_host_file()
1063 if (! (file = fopen (true_path, "r"))){ in parse_host_file()
1064 fprintf(stderr, "parse_host_file - INFO - File %s dosen't exist, create it.\n", true_path); in parse_host_file()
1065 if (! (file = fopen (true_path, "w+"))){ in parse_host_file()
1066 fprintf (stderr,"ERROR - parse_host_file - cannot create file %s.. \n",true_path); in parse_host_file()
1128 if (! (file = fopen (true_path, "a"))){ in csocks_add_host_to_file()
1129 fprintf (stderr,"ERROR - add_host_to_file - cannot open file %s.. \n",true_path); in csocks_add_host_to_file()