feat(userspace): Add comments to explain "banned.h".

Fixes #1035

Signed-off-by: Vaibhav <vrongmeal@gmail.com>
This commit is contained in:
Vaibhav
2020-02-13 06:14:33 +05:30
committed by poiana
parent 7ed3e1d927
commit 03bf027e5c
19 changed files with 19 additions and 19 deletions

View File

@@ -18,7 +18,7 @@ limitations under the License.
#include "config_falco_engine.h"
#include "falco_common.h"
#include "banned.h"
#include "banned.h" // This raises a compilation error when certain functions are used
std::vector<std::string> falco_common::priority_names = {
"Emergency",

View File

@@ -32,7 +32,7 @@ extern "C" {
}
#include "utils.h"
#include "banned.h"
#include "banned.h" // This raises a compilation error when certain functions are used
string lua_on_event = "on_event";

View File

@@ -18,7 +18,7 @@ limitations under the License.
*/
#include "falco_utils.h"
#include "banned.h"
#include "banned.h" // This raises a compilation error when certain functions are used
namespace falco
{

View File

@@ -18,7 +18,7 @@ limitations under the License.
#include "formats.h"
#include "falco_engine.h"
#include "banned.h"
#include "banned.h" // This raises a compilation error when certain functions are used
sinsp* falco_formats::s_inspector = NULL;

View File

@@ -21,7 +21,7 @@ limitations under the License.
#include "falco_common.h"
#include "json_evt.h"
#include "banned.h"
#include "banned.h" // This raises a compilation error when certain functions are used
using json = nlohmann::json;
using namespace std;

View File

@@ -24,7 +24,7 @@ extern "C" {
}
#include "falco_engine.h"
#include "banned.h"
#include "banned.h" // This raises a compilation error when certain functions are used
const static struct luaL_reg ll_falco_rules [] =
{

View File

@@ -15,7 +15,7 @@ limitations under the License.
*/
#include "ruleset.h"
#include "banned.h"
#include "banned.h" // This raises a compilation error when certain functions are used
using namespace std;

View File

@@ -20,7 +20,7 @@ limitations under the License.
#include "token_bucket.h"
#include "utils.h"
#include "banned.h"
#include "banned.h" // This raises a compilation error when certain functions are used
token_bucket::token_bucket():
token_bucket(sinsp_utils::get_current_time_ns)