title: convert c++ header file to protobuf .proto file
body: <p>I am wondering, is there any tool that I can use to convert a .h file into a .proto file for c++?
  What I want to do is: I have several structs into a .h file, and I want to serialize them and send them via protbuf. To do that, I need a .proto file to generate the .pb.h and .pb.cc files and then I will be able serialize the structs and send them.</p>
  
  <p>Does anybody know if there is such a tool? I could do it manually but I will take much time because the header file contains many structs. </p>
  
  <p>Thank you! </p>
  
  <p>I am editing my question to let you know that I haven't found what I was asking for, but I found this <a href="https://code.google.com/p/protobuf-csharp-port/wiki/ProtoGen" rel="noreferrer">https://code.google.com/p/protobuf-csharp-port/wiki/ProtoGen</a> tool which was also very helpful. You give as parameter the .proto file and it generates the c# code. Hope it helps!</p>