title: Is it possible to dynamically define a struct in C
body: <p>I'm pretty sure this will end up being a really obvious question, and that's why I haven't found much information on it. Still, I thought it was worth asking :)</p>
  
  <p>Basically, accessing data using a struct is really fast. If data comes off the network in a form where it can be immediately processed as a struct, this is pretty sweet from a performance point of view.</p>
  
  <p>However, is it possible to define a struct dynamically. Could a client and server app negotiate the format of the datastream and then use that definition as a struct?</p>
  
  <p>If not, is there a better way of doing it?</p>
  
  <p>Thanks all!</p>