new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / config / agentlessd-config.h
1 /* Copyright (C) 2009 Trend Micro Inc.
2  * All rights 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 _AGENTLESSDCONFIG_H
11 #define _AGENTLESSDCONFIG_H
12
13 /* Entry states */
14 #define LESSD_STATE_CONNECTED       0x001
15 #define LESSD_STATE_PERIODIC        0x002
16 #define LESSD_STATE_DIFF            0x004
17 #define LESSD_USE_SU                0x010
18 #define LESSD_USE_SUDO              0x020
19
20 /* Structure for each entry */
21 typedef struct _agentlessd_entries {
22     short int state;
23
24     int frequency;
25     time_t current_state;
26     int port;
27     int error_flag;
28
29     char *type;
30     char **server;
31     const char *options;
32     char *command;
33
34 } agentlessd_entries;
35
36 /* Configuration structure */
37 typedef struct _agentlessd_config {
38     int queue;
39     agentlessd_entries **entries;
40
41 } agentlessd_config;
42
43 #endif /* _AGENTLESSDCONFIG_H */
44