Imported Upstream version 2.5.1
[ossec-hids.git] / src / config / agentlessd-config.h
1 /* @(#) $Id$ */
2
3 /* Copyright (C) 2009 Trend Micro Inc.
4  * All rights 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 _AGENTLESSDCONFIG_H
14 #define _AGENTLESSDCONFIG_H
15
16
17 /* Entry states. */
18 #define LESSD_STATE_CONNECTED       0x001
19 #define LESSD_STATE_PERIODIC        0x002
20 #define LESSD_STATE_DIFF            0x004
21 #define LESSD_USE_SU                0x010
22 #define LESSD_USE_SUDO              0x020
23
24
25 /* Structure for each entry. */
26 typedef struct _agentlessd_entries
27 {
28     short int state;
29
30     int frequency;
31     int current_state;
32     int port;
33     int error_flag;
34     
35     char *type;
36     char **server;
37     char *options;
38     char *command;
39     
40 }agentlessd_entries;
41
42
43 /* Configuration structure. */   
44 typedef struct _agentlessd_config
45 {
46     int queue;
47     agentlessd_entries **entries;
48
49 }agentlessd_config;
50
51
52 #endif