2 #define _TEXT_PROTO_H 1
4 // Utility functions to serialize protobufs on disk.
5 // We use the text format because it's friendlier
6 // for a user to look at and edit.
13 } // namespace protobuf
16 bool load_proto_from_file(const std::string &filename, google::protobuf::Message *msg);
17 bool save_proto_to_file(const google::protobuf::Message &msg, const std::string &filename);
19 #endif // !defined(_TEXT_PROTO_H)