X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fconfig%2Fdbd-config.h;h=f24653f36f3f5825d02c139d7f4d83bc9d35a8c4;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=786561f2deb1198f8e909e78f33ca796c5dc0e7c;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;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 786561f..f24653f --- a/src/config/dbd-config.h +++ b/src/config/dbd-config.h @@ -1,23 +1,17 @@ -/* @(#) $Id: dbd-config.h,v 1.9 2009/06/24 17:06:25 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 _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; @@ -30,15 +24,15 @@ typedef struct _DBConfig char *pass; char *db; char *sock; - + void *conn; - void *location_hash; + OSHash *location_hash; char **includes; -}DBConfig; - +} DBConfig; #define MYSQLDB 0x002 #define POSTGDB 0x004 -#endif +#endif /* _DBDCONFIG__H */ +