Refactor names of imported functions and define more of the libclang FFI module.