X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=blobdiff_plain;f=src%2Fconfig%2Fclient-config.h;h=876db0990c17cc6b0aa203d2f9973a3491d7fe8d;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=fe8b906883bbc807c9ec00e0b7e45b61a1472b7f;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/config/client-config.h b/src/config/client-config.h old mode 100755 new mode 100644 index fe8b906..876db09 --- a/src/config/client-config.h +++ b/src/config/client-config.h @@ -1,33 +1,28 @@ -/* $OSSEC, client-config.h, v0.2, 2005/11/09, Daniel B. Cid$ */ - /* Copyright (C) 2009 Trend Micro Inc. * All rights 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 __CAGENTD_H - #define __CAGENTD_H /* Configuration structure */ -typedef struct _agent -{ - int port; +typedef struct _agent { + char *port; int m_queue; int sock; int execdq; int rip_id; char *lip; - char **rip; /* remote (server) ip */ -}agent; - - -#endif + char **rip; /* remote (server) IP */ + int notify_time; + int max_time_reconnect_try; + char *profile; +} agent; +#endif /* __CAGENTD_H */ -/* EOF */