Lines Matching refs:vfile
92 int config_dir(char *name, char *dir, char *vfile) in config_dir() argument
100 if (dogrep(OSSECCONF, vfile)) { in config_dir()
102 name, vfile); in config_dir()
127 "</ossec_config>\r\n\r\n", vfile); in config_dir()
138 int config_iis(char *name, char *file, char *vfile) in config_iis() argument
148 if (dogrep(OSSECCONF, vfile)) { in config_iis()
150 name, vfile); in config_iis()
154 printf("%s: Adding IIS log file to be monitored: '%s'.\n", name, vfile); in config_iis()
171 "</ossec_config>\r\n\r\n", vfile); in config_iis()
218 char vfile[OS_MAXSTR + 1]; in main() local
227 snprintf(vfile, in main()
233 config_iis(argv[0], lfile, vfile); in main()
241 snprintf(vfile, in main()
247 if (config_iis(argv[0], lfile, vfile) == 0) { in main()
251 config_dir(argv[0], lfile, vfile); in main()
260 snprintf(vfile, in main()
264 if (config_iis(argv[0], lfile, vfile) == 0) { in main()
268 config_dir(argv[0], lfile, vfile); in main()
277 snprintf(vfile, in main()
281 if (config_iis(argv[0], lfile, vfile) == 0) { in main()
285 config_dir(argv[0], lfile, vfile); in main()