The swtpm-dev package provides include files for developing clients controlling the CUSE TPM through ioctls.