diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index c0b5a36..9723a27 100644 --- a/src/common.h +++ b/src/common.h @@ -11,11 +11,17 @@ enum class DeviceType { Pseudo }; +enum class Protocol { + P17, + P18, +}; + // long opts enum { - LO_HELP = 1, + LO_HELP = 1000, LO_VERBOSE, LO_RAW, + LO_PROTOCOL, LO_TIMEOUT, LO_CACHE_TIMEOUT, LO_DELAY, @@ -34,5 +40,6 @@ enum { }; formatter::Format format_from_string(std::string& s); +Protocol protocol_from_string(std::string& s); #endif //INVERTER_TOOLS_COMMON_H |