projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.5.1
[ossec-hids.git]
/
src
/
syscheckd
/
syscheck.h
diff --git
a/src/syscheckd/syscheck.h
b/src/syscheckd/syscheck.h
index
53f5989
..
1827b83
100755
(executable)
--- 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
/* 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
*/
* Foundation
*/
@@
-46,10
+46,10
@@
int Read_Syscheck_Config(char * cfgfile);
int create_db();
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()
* Checks the registry for changes.
@@
-65,6
+65,12
@@
int realtime_adddir(char *dir);
/* Process real time queue. */
int realtime_process();
/* 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);
/** Sends syscheck message.
*/
int send_syscheck_msg(char *msg);