Selectively extract items from a C source code file with a view to use in unit testing