// !! This file has been generated by dnsdist-rules-generator.py, do not edit by hand!! std::shared_ptr getAllowAction() { return std::shared_ptr(new AllowAction()); } std::shared_ptr getDelayAction(uint32_t msec) { return std::shared_ptr(new DelayAction(msec)); } std::shared_ptr getDropAction() { return std::shared_ptr(new DropAction()); } std::shared_ptr getLogAction(const std::string& file_name, bool binary, bool append, bool buffered, bool verbose_only, bool include_timestamp) { return std::shared_ptr(new LogAction(file_name, binary, append, buffered, verbose_only, include_timestamp)); } std::shared_ptr getLuaFFIPerThreadAction(const std::string& code) { return std::shared_ptr(new LuaFFIPerThreadAction(code)); } std::shared_ptr getNoneAction() { return std::shared_ptr(new NoneAction()); } std::shared_ptr getPoolAction(const std::string& pool_name, bool stop_processing) { return std::shared_ptr(new PoolAction(pool_name, stop_processing)); } std::shared_ptr getQPSAction(uint32_t limit) { return std::shared_ptr(new QPSAction(limit)); } std::shared_ptr getQPSPoolAction(uint32_t limit, const std::string& pool_name, bool stop_processing) { return std::shared_ptr(new QPSPoolAction(limit, pool_name, stop_processing)); } std::shared_ptr getSetAdditionalProxyProtocolValueAction(uint8_t proxy_type, const std::string& value) { return std::shared_ptr(new SetAdditionalProxyProtocolValueAction(proxy_type, value)); } std::shared_ptr getSetDisableECSAction() { return std::shared_ptr(new SetDisableECSAction()); } std::shared_ptr getSetDisableValidationAction() { return std::shared_ptr(new SetDisableValidationAction()); } std::shared_ptr getSetECSOverrideAction(bool override_existing) { return std::shared_ptr(new SetECSOverrideAction(override_existing)); } std::shared_ptr getSetECSPrefixLengthAction(uint16_t ipv4, uint16_t ipv6) { return std::shared_ptr(new SetECSPrefixLengthAction(ipv4, ipv6)); } std::shared_ptr getSetEDNSOptionAction(uint32_t code, const std::string& data) { return std::shared_ptr(new SetEDNSOptionAction(code, data)); } std::shared_ptr getSetExtendedDNSErrorAction(uint16_t info_code, const std::string& extra_text, std::optional clear_existing_entries) { return std::shared_ptr(new SetExtendedDNSErrorAction(info_code, extra_text, clear_existing_entries ? *clear_existing_entries : true)); } std::shared_ptr getSetMacAddrAction(uint32_t code) { return std::shared_ptr(new SetMacAddrAction(code)); } std::shared_ptr getSetNoRecurseAction() { return std::shared_ptr(new SetNoRecurseAction()); } std::shared_ptr getSetSkipCacheAction() { return std::shared_ptr(new SetSkipCacheAction()); } std::shared_ptr getSetTagAction(const std::string& tag, const std::string& value) { return std::shared_ptr(new SetTagAction(tag, value)); } std::shared_ptr getSetTempFailureCacheTTLAction(uint32_t ttl) { return std::shared_ptr(new SetTempFailureCacheTTLAction(ttl)); } std::shared_ptr getSNMPTrapAction(const std::string& reason) { return std::shared_ptr(new SNMPTrapAction(reason)); } std::shared_ptr getTCAction() { return std::shared_ptr(new TCAction()); } std::shared_ptr getUnsetTagAction(const std::string& tag) { return std::shared_ptr(new UnsetTagAction(tag)); }