Separate functions and structures declarations into header file.