Lines Matching full:dout
953 FILE *fin = NULL, *dout; in retrieve() local
1058 dout = dataconn(name, st.st_size, "w"); in retrieve()
1059 if (dout == NULL) in retrieve()
1061 set_buffer_size(fileno(dout), 0); in retrieve()
1062 send_data(fin, dout); in retrieve()
1063 fclose(dout); in retrieve()
2186 FILE *dout; in list_file() local
2187 dout = dataconn(file, -1, "w"); in list_file()
2188 if (dout == NULL) in list_file()
2190 set_buffer_size(fileno(dout), 0); in list_file()
2191 if(builtin_ls(dout, file) == 0) in list_file()
2195 fclose(dout); in list_file()
2214 FILE *dout = NULL; in send_file_list() local
2267 if (dout == NULL) { in send_file_list()
2268 dout = dataconn("file list", (off_t)-1, "w"); in send_file_list()
2269 if (dout == NULL) in send_file_list()
2275 sec_write(fileno(dout), buf, strlen(buf)); in send_file_list()
2303 if (dout == NULL) { in send_file_list()
2304 dout = dataconn("file list", (off_t)-1, "w"); in send_file_list()
2305 if (dout == NULL) in send_file_list()
2315 sec_write(fileno(dout), buf, strlen(buf)); in send_file_list()
2321 if (dout == NULL) in send_file_list()
2323 else if (ferror(dout) != 0) in send_file_list()
2330 if (dout != NULL){ in send_file_list()
2331 sec_write(fileno(dout), buf, 0); /* XXX flush */ in send_file_list()
2333 fclose(dout); in send_file_list()