Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Move some functions about so that osmparser.c can be replaced for other types of parsing.