/* @(#) $Id: syscheck.h,v 1.10 2007/05/08 00:13:42 dcid Exp $ */ /* Copyright (C) 2003-2007 Daniel B. Cid * All right reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public * License (version 2) as published by the FSF - Free Software * Foundation */ #ifndef __SYSCHECK_H #define __SYSCHECK_H #include "config/syscheck-config.h" #define MAX_LINE PATH_MAX+256 /* Notify list size */ #define NOTIFY_LIST_SIZE 32 /* Global config */ config syscheck; /** Function Prototypes **/ /* run_check: checks the integrity of the files against the * saved database */ void run_check(); /* start_daemon: Runs run_check periodically. */ void start_daemon(); /* Read the XML config */ int Read_Syscheck_Config(char * cfgfile); /* create the database */ int create_db(); /* int check_db() * Checks database for new files. */ int check_db(); /** void os_winreg_check() * Checks the registry for changes. */ void os_winreg_check(); int notify_agent(char *msg, int send_now); #endif /* EOF */