X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fconfig%2Factive-response.h;h=3ed487221c7c9c8ca1bd73647b38e09c89123480;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=0e821aba116b8cda694c55fb05d6e0feb9ac5470;hpb=301048b51990573e58a30dc4a5bb4ec285cad554;p=ossec-hids.git diff --git a/src/config/active-response.h b/src/config/active-response.h old mode 100755 new mode 100644 index 0e821ab..3ed4872 --- a/src/config/active-response.h +++ b/src/config/active-response.h @@ -1,5 +1,3 @@ -/* @(#) $Id$ */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * @@ -9,25 +7,20 @@ * Foundation */ - #ifndef _CAR__H #define _CAR__H - -/** Active response commands **/ -typedef struct _ar_command -{ +/* Active response commands */ +typedef struct _ar_command { int expect; int timeout_allowed; - + char *name; char *executable; -}ar_command; - +} ar_command; -/** Active response data **/ -typedef struct _ar -{ +/* Active response data */ +typedef struct _ar { int timeout; int location; int level; @@ -36,12 +29,12 @@ typedef struct _ar char *agent_id; char *rules_id; char *rules_group; - - ar_command *ar_cmd; -}active_response; + ar_command *ar_cmd; +} active_response; /* Active response flag */ -int ar_flag; +extern int ar_flag; + +#endif /* _CAR__H */ -#endif