#ifndef PROTO_H #define PROTO_H #include #include "lib/config.pb.h" extern void setRange(RangeProto* range, const std::string& data); typedef std::pair ProtoField; extern ProtoField resolveProtoPath(google::protobuf::Message* message, const std::string& path); extern void setProtoFieldFromString(ProtoField& protoField, const std::string& value); extern void setProtoByString(google::protobuf::Message* message, const std::string& path, const std::string& value); extern std::set iterate(const RangeProto& range); extern std::map findAllProtoFields(google::protobuf::Message* message); extern ConfigProto config; #endif