X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fsyscheckd%2Fsyscheck.h;fp=src%2Fsyscheckd%2Fsyscheck.h;h=1827b83dd628305dc52d6b70cfd7b4a4f13b53e1;hp=53f5989de8657764825c5f509b4d1755d9300288;hb=a62b46c229549212d536867b7e5e24d7576ebe8b;hpb=d623b82886b9b5fbba3fa27c3bfac51f3f8af108 diff --git a/src/syscheckd/syscheck.h b/src/syscheckd/syscheck.h index 53f5989..1827b83 100755 --- a/src/syscheckd/syscheck.h +++ b/src/syscheckd/syscheck.h @@ -1,11 +1,11 @@ -/* @(#) $Id: syscheck.h,v 1.16 2009/06/30 17:08:19 dcid Exp $ */ +/* @(#) $Id$ */ /* Copyright (C) 2009 Trend Micro Inc. * 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 3) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * Foundation */ @@ -46,10 +46,10 @@ int Read_Syscheck_Config(char * cfgfile); int create_db(); -/* int check_db() - * Checks database for new files. +/* int run_dbcheck() + * Checks database for changes. */ -int check_db(); +int run_dbcheck(); /** void os_winreg_check() * Checks the registry for changes. @@ -65,6 +65,12 @@ int realtime_adddir(char *dir); /* Process real time queue. */ int realtime_process(); +/* Process the content of the file changes. */ +char *seechanges_addfile(char *filename); + +/* get checksum changes. */ +int c_read_file(char *file_name, char *oldsum, char *newsum); + /** Sends syscheck message. */ int send_syscheck_msg(char *msg);