title: Seeking code stub generator (from header files)
body: <p>Imagine I have the header files to a subsystem, but no access to the source code.</p>
  
  <p>Now I want to generate stubs to match all functions declared in the header files (for testing purposes).</p>
  
  <p>I wrote some simple code to do this, but it's not perfect. Does anyone know of any freely available software which will do this?</p>
  
  <hr>
  
  <p>[Update] Five years after asking, this question is still getting upvotes.</p>
  
  <p>It was closed as of-topic, which it is nowadays (althoguh it was not when it was originally posted). Fortunately, we can now ask for software recommendations at <a href="https://softwarerecs.stackexchange.com/">https://softwarerecs.stackexchange.com/</a></p>