X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fconfig%2Fdbd-config.h;h=f24653f36f3f5825d02c139d7f4d83bc9d35a8c4;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=2a3d29ab5dfa003a1c1b041ec2690ef7e46fbdba;hpb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;p=ossec-hids.git diff --git a/src/config/dbd-config.h b/src/config/dbd-config.h old mode 100755 new mode 100644 index 2a3d29a..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. * @@ -10,15 +7,11 @@ * Foundation */ - - #ifndef _DBDCONFIG__H -#define _DBDONFIG__H - +#define _DBDCONFIG__H /* Database config structure */ -typedef struct _DBConfig -{ +typedef struct _DBConfig { unsigned int db_type; unsigned int alert_id; unsigned int server_id; @@ -33,13 +26,13 @@ typedef struct _DBConfig char *sock; void *conn; - void *location_hash; + OSHash *location_hash; char **includes; -}DBConfig; - +} DBConfig; #define MYSQLDB 0x002 #define POSTGDB 0x004 -#endif +#endif /* _DBDCONFIG__H */ +