Home | History | Annotate | Download | only in tools

Lines Matching refs:out_file

166 static file_info out_file;
838 has_out_file = out_file.name != NULL;
841 if (has_out_file && !strcmp(out_file.name, "-")) {
842 out_file.file = stdout;
843 out_file.name = "stdout";
846 out_file.file = fopen(out_file.name, "w+");
849 if (has_out_file && !out_file.file) {
850 log_error("Could not open file: \"%s\" error: \"%s\"\n", out_file.name,
900 log_info("Output file set to: \"%s\"\n", out_file.name);
927 out_file.name = optarg;
1179 if (!out_file.file) {
1186 rule_map_print(out_file.file, e->r);
1187 fprintf(out_file.file, "\n");
1198 if (out_file.name && strcmp(out_file.name, "stdout") && out_file.file) {
1199 log_info("Closing file: %s\n", out_file.name);
1200 fclose(out_file.file);