Ctypes wrapper for librsync.