summaryrefslogtreecommitdiffstats
path: root/src/interface_reader.hpp
blob: eed9ad1530d9f43d4bffa50a5b356d33f5208fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef GETIF_INTERFACE_READER_H
#define GETIF_INTERFACE_READER_H
#include <string>
#include <vector>
#include <optional>
#include "interface_read_error.hpp"

class interface_reader {
    public:
        interface_reader(std::vector<std::string> interfaces);

        std::optional<interface_read_error> read_interfaces(void);

    private:
        std::vector<std::string> interfaces;
};

#endif // GETIF_INTERFACE_READER_H