X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fanalysisd%2Factive-response.h;h=6fb51a2bedabf2791728cbe251d0f7e51a47b6d9;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=3c3fc119b228af6e2bd30c939b41b1bbb10a5e33;hpb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;p=ossec-hids.git diff --git a/src/analysisd/active-response.h b/src/analysisd/active-response.h old mode 100755 new mode 100644 index 3c3fc11..6fb51a2 --- a/src/analysisd/active-response.h +++ b/src/analysisd/active-response.h @@ -1,6 +1,3 @@ -/* @(#) $Id: ./src/analysisd/active-response.h, 2011/09/08 dcid Exp $ - */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * @@ -10,32 +7,23 @@ * Foundation */ - #ifndef _AR__H #define _AR__H -#include "config/config.h" #include "config/active-response.h" +#include "config/config.h" #include "list_op.h" +/* Initialize active response */ +void AR_Init(void); -/** void AR_Init() - * Initializing active response. - */ -void AR_Init(); - -/** int AR_ReadConfig(int test_config, char *cfgfile) - * Reads active response configuration and write them +/* Read active response configuration and write it * to the appropriate lists. */ -int AR_ReadConfig(int test_config, char *cfgfile); - - -/* Active response commands */ -OSList *ar_commands; +int AR_ReadConfig(const char *cfgfile); /* Active response information */ -OSList *active_responses; +extern OSList *active_responses; +#endif /* _AR__H */ -#endif