@@ -353,6 +353,8 @@ pub type git_indexer_progress_cb =
353
353
) ]
354
354
pub type git_transfer_progress = git_indexer_progress ;
355
355
356
+ pub type git_remote_ready_cb = Option < extern "C" fn ( * mut git_remote , c_int , * mut c_void ) -> c_int > ;
357
+
356
358
#[ repr( C ) ]
357
359
pub struct git_remote_callbacks {
358
360
pub version : c_uint ,
@@ -368,6 +370,7 @@ pub struct git_remote_callbacks {
368
370
pub push_update_reference : git_push_update_reference_cb ,
369
371
pub push_negotiation : git_push_negotiation ,
370
372
pub transport : git_transport_cb ,
373
+ pub remote_ready : git_remote_ready_cb ,
371
374
pub payload : * mut c_void ,
372
375
pub resolve_url : git_url_resolve_cb ,
373
376
}
@@ -1486,6 +1489,8 @@ pub struct git_odb_backend {
1486
1489
) -> c_int ,
1487
1490
> ,
1488
1491
1492
+ pub writemidx : Option < extern "C" fn ( * mut git_odb_backend ) -> c_int > ,
1493
+
1489
1494
pub freshen : Option < extern "C" fn ( * mut git_odb_backend , * const git_oid ) -> c_int > ,
1490
1495
1491
1496
pub free : Option < extern "C" fn ( * mut git_odb_backend ) > ,
@@ -1745,6 +1750,20 @@ pub type git_commit_signing_cb = Option<
1745
1750
) -> c_int ,
1746
1751
> ;
1747
1752
1753
+ pub type git_commit_create_cb = Option <
1754
+ extern "C" fn (
1755
+ * mut git_oid ,
1756
+ * const git_signature ,
1757
+ * const git_signature ,
1758
+ * const c_char ,
1759
+ * const c_char ,
1760
+ * const git_tree ,
1761
+ usize ,
1762
+ * const git_commit ,
1763
+ * mut c_void ,
1764
+ ) -> c_int ,
1765
+ > ;
1766
+
1748
1767
pub const GIT_REBASE_NO_OPERATION : usize = usize:: max_value ( ) ;
1749
1768
1750
1769
#[ repr( C ) ]
@@ -1755,6 +1774,7 @@ pub struct git_rebase_options {
1755
1774
pub rewrite_notes_ref : * const c_char ,
1756
1775
pub merge_options : git_merge_options ,
1757
1776
pub checkout_options : git_checkout_options ,
1777
+ pub commit_create_cb : git_commit_create_cb ,
1758
1778
pub signing_cb : git_commit_signing_cb ,
1759
1779
pub payload : * mut c_void ,
1760
1780
}
0 commit comments