Automated commit of clang-format CI changes.

This commit is contained in:
lucaderi 2023-04-07 14:20:44 +00:00 committed by clang-format-bot
parent 2ecb162dfb
commit d395deac4e
604 changed files with 47610 additions and 38436 deletions

View file

@ -31,16 +31,18 @@ class CustomFlowLuaScriptAlert : public FlowAlert {
ndpi_serializer* getAlertJSON(ndpi_serializer* serializer);
public:
static FlowAlertType getClassType() { return { flow_alert_custom_lua_script, alert_category_security}; }
static u_int8_t getDefaultScore() { return SCORE_LEVEL_ERROR; };
static FlowAlertType getClassType() {
return {flow_alert_custom_lua_script, alert_category_security};
}
static u_int8_t getDefaultScore() { return SCORE_LEVEL_ERROR; };
CustomFlowLuaScriptAlert(FlowCheck *c, Flow *f) : FlowAlert(c, f) { };
~CustomFlowLuaScriptAlert() { };
CustomFlowLuaScriptAlert(FlowCheck* c, Flow* f) : FlowAlert(c, f){};
~CustomFlowLuaScriptAlert(){};
FlowAlertType getAlertType() const { return getClassType(); };
void setAlertMessage(std::string m) { msg = m; };
void setAlertScore(u_int8_t v) { score = v; };
virtual u_int8_t getAlertScore()const { return(score); };
FlowAlertType getAlertType() const { return getClassType(); };
void setAlertMessage(std::string m) { msg = m; };
void setAlertScore(u_int8_t v) { score = v; };
virtual u_int8_t getAlertScore() const { return (score); };
};
#endif /* _CUSTOM_FLOW_LUA_SCRIPT_ALERT_H_ */