// !! This file has been generated by dnsdist-rules-generator.py, do not edit by hand!! std::shared_ptr getAllowResponseAction() { return std::shared_ptr(new AllowResponseAction()); } std::shared_ptr getDelayResponseAction(uint32_t msec) { return std::shared_ptr(new DelayResponseAction(msec)); } std::shared_ptr getDropResponseAction() { return std::shared_ptr(new DropResponseAction()); } std::shared_ptr getLogResponseAction(const std::string& file_name, bool append, bool buffered, bool verbose_only, bool include_timestamp) { return std::shared_ptr(new LogResponseAction(file_name, append, buffered, verbose_only, include_timestamp)); } std::shared_ptr getLuaFFIPerThreadResponseAction(const std::string& code) { return std::shared_ptr(new LuaFFIPerThreadResponseAction(code)); } std::shared_ptr getSetEDNSOptionResponseAction(uint32_t code, const std::string& data) { return std::shared_ptr(new SetEDNSOptionResponseAction(code, data)); } std::shared_ptr getSetExtendedDNSErrorResponseAction(uint16_t info_code, const std::string& extra_text, std::optional clear_existing_entries) { return std::shared_ptr(new SetExtendedDNSErrorResponseAction(info_code, extra_text, clear_existing_entries ? *clear_existing_entries : true)); } std::shared_ptr getSetReducedTTLResponseAction(uint8_t percentage) { return std::shared_ptr(new SetReducedTTLResponseAction(percentage)); } std::shared_ptr getSetSkipCacheResponseAction() { return std::shared_ptr(new SetSkipCacheResponseAction()); } std::shared_ptr getSetTagResponseAction(const std::string& tag, const std::string& value) { return std::shared_ptr(new SetTagResponseAction(tag, value)); } std::shared_ptr getSNMPTrapResponseAction(const std::string& reason) { return std::shared_ptr(new SNMPTrapResponseAction(reason)); } std::shared_ptr getTCResponseAction() { return std::shared_ptr(new TCResponseAction()); } std::shared_ptr getUnsetTagResponseAction(const std::string& tag) { return std::shared_ptr(new UnsetTagResponseAction(tag)); }