in reply to Extracting fn prototypes

Essentially, you're looking something akin to HTML::Parser, but for the C++ language. A quick scan of c parser provides the following possibilities:

I have never used these modules, but that should provided you with a starting point. Good luck!

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

I shouldn't have to say this, but any code, unless otherwise stated, is untested