Generic C functionality that can be used in multiple projects.