X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fanalysisd%2Factive-response.h;h=6fb51a2bedabf2791728cbe251d0f7e51a47b6d9;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=0bbb1e6d1170380d134ba7bc383a3bd916c06380;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;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 0bbb1e6..6fb51a2 --- a/src/analysisd/active-response.h +++ b/src/analysisd/active-response.h @@ -1,40 +1,29 @@ -/* @(#) $Id: active-response.h,v 1.13 2009/06/24 17:06:21 dcid Exp $ */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public - * License (version 3) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * 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