summaryrefslogtreecommitdiffstats
path: root/src/interface.hpp
blob: f8dd545b91f5d75e7bd9b3740893ac9946b48275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef GETIF_INTERFACE_H
#define GETIF_INTERFACE_H

#include <string>
#include <optional>

class interface {
    public:
        interface(std::string name, std::optional<std::string> addr);

    private:
        std::string name;
        std::optional<std::string> addr;
};

#endif // GETIF_INTERFACE_H