basic C struct parsing, without members