a04307893179a615e67122d90e2ee9381c497e34
[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
31     char **lip;
32         os_ip **allowips;
33         os_ip **denyips;
34
35     int m_queue;
36     int sock;
37     socklen_t peer_size; 
38 }remoted;
39
40 #endif