projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git]
/
src
/
config
/
dbd-config.h
diff --git
a/src/config/dbd-config.h
b/src/config/dbd-config.h
old mode 100755
(executable)
new mode 100644
(file)
index
ed1f50a
..
f24653f
--- a/
src/config/dbd-config.h
+++ b/
src/config/dbd-config.h
@@
-1,6
+1,3
@@
-/* @(#) $Id: ./src/config/dbd-config.h, 2011/09/08 dcid Exp $
- */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
@@
-10,15
+7,11
@@
* Foundation
*/
* Foundation
*/
-
-
#ifndef _DBDCONFIG__H
#define _DBDCONFIG__H
#ifndef _DBDCONFIG__H
#define _DBDCONFIG__H
-
/* Database config structure */
/* Database config structure */
-typedef struct _DBConfig
-{
+typedef struct _DBConfig {
unsigned int db_type;
unsigned int alert_id;
unsigned int server_id;
unsigned int db_type;
unsigned int alert_id;
unsigned int server_id;
@@
-33,13
+26,13
@@
typedef struct _DBConfig
char *sock;
void *conn;
char *sock;
void *conn;
- void *location_hash;
+ OSHash *location_hash;
char **includes;
char **includes;
-}DBConfig;
-
+} DBConfig;
#define MYSQLDB 0x002
#define POSTGDB 0x004
#define MYSQLDB 0x002
#define POSTGDB 0x004
-#endif
+#endif /* _DBDCONFIG__H */
+