Hello,
A thing it would be cool to retrieve from C code for a function, is the thing called 'Memory class'. It is the word prefixing a function declaration: - global - local - static - extern - register
I have looked at a xml file generated with srcml and a function is declared like that: <function><type><name>static</name> <name>void</name></type> ...
So it seems to be quite simple to retrieve, what do you think ?