3 /* Copyright (C) 2009 Trend Micro Inc.
6 * This program is a free software; you can redistribute it
7 * and/or modify it under the terms of the GNU General Public
8 * License (version 2) as published by the FSF - Free Software
17 #include "config/syscheck-config.h"
18 #define MAX_LINE PATH_MAX+256
20 /* Notify list size */
21 #define NOTIFY_LIST_SIZE 32
28 /** Function Prototypes **/
30 /* run_check: checks the integrity of the files against the
36 /* start_daemon: Runs run_check periodically.
41 /* Read the XML config */
42 int Read_Syscheck_Config(char * cfgfile);
45 /* create the database */
50 * Checks database for changes.
54 /** void os_winreg_check()
55 * Checks the registry for changes.
57 void os_winreg_check();
59 /* starts real time */
62 /* Adds a directory to real time monitoring. */
63 int realtime_adddir(char *dir);
65 /* Process real time queue. */
66 int realtime_process();
68 /* Process the content of the file changes. */
69 char *seechanges_addfile(char *filename);
71 /* get checksum changes. */
72 int c_read_file(char *file_name, char *oldsum, char *newsum);
74 /** Sends syscheck message.
76 int send_syscheck_msg(char *msg);
77 int send_rootcheck_msg(char *msg);