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 _CAR__H 11 #define _CAR__H 12 13 /* Active response commands */ 14 typedef struct _ar_command { 15 int expect; 16 int timeout_allowed; 17 18 char *name; 19 char *executable; 20 } ar_command; 21 22 /* Active response data */ 23 typedef struct _ar { 24 int timeout; 25 int location; 26 int level; 27 char *name; 28 char *command; 29 char *agent_id; 30 char *rules_id; 31 char *rules_group; 32 33 ar_command *ar_cmd; 34 } active_response; 35 36 /* Active response flag */ 37 extern int ar_flag; 38 39 #endif /* _CAR__H */ 40 41