1 /* @(#) $Id: syscheck.h,v 1.16 2009/06/30 17:08:19 dcid Exp $ */
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 3) 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 new files.
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 /** Sends syscheck message.
70 int send_syscheck_msg(char *msg);
71 int send_rootcheck_msg(char *msg);