Lines Matching refs:out_file
168 static file_info out_file; variable
917 has_out_file = out_file.name != NULL; in init()
920 if (has_out_file && !strcmp(out_file.name, "-")) { in init()
921 out_file.file = stdout; in init()
922 out_file.name = "stdout"; in init()
925 out_file.file = fopen(out_file.name, "w+"); in init()
928 if (has_out_file && !out_file.file) { in init()
929 log_error("Could not open file: \"%s\" error: \"%s\"\n", out_file.name, in init()
978 log_info("Output file set to: \"%s\"\n", out_file.name); in init()
1005 out_file.name = optarg; in handle_options()
1265 if (!out_file.file) { in output()
1272 rule_map_print(out_file.file, e->r); in output()
1273 fprintf(out_file.file, "\n"); in output()
1284 if (out_file.name && strcmp(out_file.name, "stdout") && out_file.file) { in cleanup()
1285 log_info("Closing file: %s\n", out_file.name); in cleanup()
1286 fclose(out_file.file); in cleanup()