public static extern int git_remote_new( out RemoteSafeHandle remote, RepositorySafeHandle repo, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string url, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string fetchrefspec);
internal static extern int git_remote_set_fetchspec( RemoteSafeHandle remote, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string fetchrefspec);
internal static extern int git_remote_update_tips(RemoteSafeHandle remote);
internal static extern void git_remote_set_autotag(RemoteSafeHandle remote, TagFetchMode option);
internal static extern int git_remote_set_callbacks( RemoteSafeHandle remote, ref GitRemoteCallbacks callbacks);
public static extern int git_remote_load( out RemoteSafeHandle remote, RepositorySafeHandle repo, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name);
internal static extern int git_remote_get_push_refspecs(out git_strarray array, RemoteSafeHandle remote);
internal static extern int git_remote_ls(RemoteSafeHandle remote, git_headlist_cb headlist_cb, IntPtr payload);
internal static extern GitFetchSpecHandle git_remote_fetchspec(RemoteSafeHandle remote);
internal static extern void git_remote_disconnect(RemoteSafeHandle remote);
internal static extern int git_remote_download( RemoteSafeHandle remote, git_transfer_progress_callback progress_cb, IntPtr payload);
internal static extern int git_remote_create( out RemoteSafeHandle remote, RepositorySafeHandle repo, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string url);
internal static extern int git_remote_connect(RemoteSafeHandle remote, GitDirection direction);
internal static extern int git_push_new(out PushSafeHandle push, RemoteSafeHandle remote);
public static extern string git_remote_url(RemoteSafeHandle remote);
internal static extern string git_remote_name(RemoteSafeHandle remote);
public static extern int git_remote_save(RemoteSafeHandle remote);
internal static extern void git_remote_set_cred_acquire_cb( RemoteSafeHandle remote, git_cred_acquire_cb cred_acquire_cb, IntPtr payload);
public static extern IntPtr git_remote_url(RemoteSafeHandle remote);
public static extern int git_remote_get( out RemoteSafeHandle remote, ConfigurationSafeHandle cfg, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name);