complete ffi bindings