new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / config / remote-config.h
1 /* Copyright (C) 2009 Trend Micro Inc.
2  * All right reserved.
3  *
4  * This program is a free software; you can redistribute it
5  * and/or modify it under the terms of the GNU General Public
6  * License (version 2) as published by the FSF - Free Software
7  * Foundation
8  */
9
10 #ifndef __CLOGREMOTE_H
11 #define __CLOGREMOTE_H
12
13 #define SYSLOG_CONN 1
14 #define SECURE_CONN 2
15
16 #include "shared.h"
17 #include "os_net/os_net.h"
18
19 /* socklen_t header */
20 typedef struct _remoted {
21     int *proto;
22     char **port;
23     int *conn;
24     int *ipv6;
25
26     char **lip;
27     os_ip **allowips;
28     os_ip **denyips;
29
30     int m_queue;
31     int sock;
32     OSNetInfo *netinfo;
33     socklen_t peer_size;
34 } remoted;
35
36 #endif /* __CLOGREMOTE_H */
37