X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fconfig%2Fremote-config.h;h=48048171d9d79a72d78b2521c1f672b7294baa43;hb=HEAD;hp=65bf8d7054f1ee0b2b587f0051ba27da07580cfe;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/config/remote-config.h b/src/config/remote-config.h old mode 100755 new mode 100644 index 65bf8d7..4804817 --- a/src/config/remote-config.h +++ b/src/config/remote-config.h @@ -1,40 +1,37 @@ -/* $OSSEC, remote-config.h, v0.3, 2005/02/09, Daniel B. Cid$ */ - /* 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 __CLOGREMOTE_H - #define __CLOGREMOTE_H -#define SYSLOG_CONN 1 +#define SYSLOG_CONN 1 #define SECURE_CONN 2 -#define UDP_PROTO 6 -#define TCP_PROTO 17 #include "shared.h" +#include "os_net/os_net.h" /* socklen_t header */ -typedef struct _remoted -{ +typedef struct _remoted { int *proto; - int *port; + char **port; int *conn; + int *ipv6; char **lip; - os_ip **allowips; - os_ip **denyips; + os_ip **allowips; + os_ip **denyips; int m_queue; int sock; - socklen_t peer_size; -}remoted; + OSNetInfo *netinfo; + socklen_t peer_size; +} remoted; + +#endif /* __CLOGREMOTE_H */ -#endif