Imported Upstream version 2.7
[ossec-hids.git] / src / syscheckd / syscheck.h
index 53f5989..df51f0e 100755 (executable)
@@ -1,14 +1,15 @@
-/* @(#) $Id: syscheck.h,v 1.16 2009/06/30 17:08:19 dcid Exp $ */
+/* @(#) $Id: ./src/syscheckd/syscheck.h, 2011/09/08 dcid Exp $
+ */
 
 /* 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
  */
-       
+
 
 #ifndef __SYSCHECK_H
 
@@ -46,14 +47,14 @@ 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.
- */  
+ */
 void os_winreg_check();
 
 /* starts real time */
@@ -65,6 +66,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);