How to structure a multi-file C program
opensource.com