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