It has been generated by ffigen. Just pass DynamicLibrary instance to the binding and use the library.