summaryrefslogtreecommitdiff
path: root/src/checker/errors/settings/server.hpp
blob: 53e6170ca81720d04ace1cd4cc085faf8eed4503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "checker/errors/types/isettings_error.hpp"

namespace smtp::checker::errors::settings
{
    class Server : public types::IErrorSettings
    {
    public:
        Server() = default;
        ~Server() override = default;

        bool Check( manage::SettingsFileDataType const& line ) const override;
    private:
        bool IsNormalName( std::string const& line ) const;
        bool IsIpName( std::string const& line ) const;
    };
}