I'm looking for a very flexible C code formatting solution.
Here's the context: I need to convert some external C code to my organization's "coding rules". For example, these rules demand that I put the type of each variable in its name (int_foo, pfloat_bar, etc.). Most of these rules are completely absurd but I don't have a choice.
I would prefer not to do this by hand, so I'm looking for some piece of software that would allow me to automatically format C code using powerful directives (for example to prefix all variable names with their type).
Does such a software exist?