File indexing completed on 2025-01-18 09:59:37
0001
0002
0003
0004
0005
0006
0007 #ifndef INCLUDE_git_deprecated_h__
0008 #define INCLUDE_git_deprecated_h__
0009
0010 #include "attr.h"
0011 #include "config.h"
0012 #include "common.h"
0013 #include "blame.h"
0014 #include "buffer.h"
0015 #include "checkout.h"
0016 #include "cherrypick.h"
0017 #include "clone.h"
0018 #include "describe.h"
0019 #include "diff.h"
0020 #include "errors.h"
0021 #include "filter.h"
0022 #include "index.h"
0023 #include "indexer.h"
0024 #include "merge.h"
0025 #include "object.h"
0026 #include "proxy.h"
0027 #include "refs.h"
0028 #include "rebase.h"
0029 #include "remote.h"
0030 #include "trace.h"
0031 #include "repository.h"
0032 #include "revert.h"
0033 #include "revparse.h"
0034 #include "stash.h"
0035 #include "status.h"
0036 #include "submodule.h"
0037 #include "worktree.h"
0038 #include "credential.h"
0039 #include "credential_helpers.h"
0040
0041
0042
0043
0044 #ifndef GIT_DEPRECATE_HARD
0045
0046
0047
0048
0049
0050
0051 #include "sys/credential.h"
0052
0053
0054
0055
0056
0057
0058
0059 GIT_BEGIN_DECL
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072 #define GIT_ATTR_UNSPECIFIED_T GIT_ATTR_VALUE_UNSPECIFIED
0073 #define GIT_ATTR_TRUE_T GIT_ATTR_VALUE_TRUE
0074 #define GIT_ATTR_FALSE_T GIT_ATTR_VALUE_FALSE
0075 #define GIT_ATTR_VALUE_T GIT_ATTR_VALUE_STRING
0076
0077 #define GIT_ATTR_TRUE(attr) GIT_ATTR_IS_TRUE(attr)
0078 #define GIT_ATTR_FALSE(attr) GIT_ATTR_IS_FALSE(attr)
0079 #define GIT_ATTR_UNSPECIFIED(attr) GIT_ATTR_IS_UNSPECIFIED(attr)
0080
0081 typedef git_attr_value_t git_attr_t;
0082
0083
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096 #define GIT_BLOB_FILTER_ATTTRIBUTES_FROM_HEAD GIT_BLOB_FILTER_ATTRIBUTES_FROM_HEAD
0097
0098 GIT_EXTERN(int) git_blob_create_fromworkdir(git_oid *id, git_repository *repo, const char *relative_path);
0099 GIT_EXTERN(int) git_blob_create_fromdisk(git_oid *id, git_repository *repo, const char *path);
0100 GIT_EXTERN(int) git_blob_create_fromstream(
0101 git_writestream **out,
0102 git_repository *repo,
0103 const char *hintpath);
0104 GIT_EXTERN(int) git_blob_create_fromstream_commit(
0105 git_oid *out,
0106 git_writestream *stream);
0107 GIT_EXTERN(int) git_blob_create_frombuffer(
0108 git_oid *id, git_repository *repo, const void *buffer, size_t len);
0109
0110
0111
0112
0113
0114
0115 GIT_EXTERN(int) git_blob_filtered_content(
0116 git_buf *out,
0117 git_blob *blob,
0118 const char *as_path,
0119 int check_for_binary_data);
0120
0121
0122
0123
0124
0125
0126
0127
0128
0129
0130
0131
0132
0133
0134
0135
0136
0137
0138
0139 GIT_EXTERN(int) git_filter_list_stream_data(
0140 git_filter_list *filters,
0141 git_buf *data,
0142 git_writestream *target);
0143
0144
0145
0146
0147
0148
0149 GIT_EXTERN(int) git_filter_list_apply_to_data(
0150 git_buf *out,
0151 git_filter_list *filters,
0152 git_buf *in);
0153
0154
0155
0156
0157
0158
0159
0160
0161
0162
0163
0164
0165
0166
0167
0168
0169
0170
0171
0172
0173
0174
0175
0176
0177
0178 GIT_EXTERN(int) git_treebuilder_write_with_buffer(
0179 git_oid *oid, git_treebuilder *bld, git_buf *tree);
0180
0181
0182
0183
0184
0185
0186
0187
0188
0189
0190
0191
0192
0193
0194
0195
0196
0197 #define GIT_BUF_INIT_CONST(STR,LEN) { (char *)(STR), 0, (size_t)(LEN) }
0198
0199
0200
0201
0202
0203
0204
0205
0206
0207
0208
0209
0210
0211
0212
0213
0214
0215
0216
0217
0218
0219
0220 GIT_EXTERN(int) git_buf_grow(git_buf *buffer, size_t target_size);
0221
0222
0223
0224
0225
0226
0227
0228
0229
0230 GIT_EXTERN(int) git_buf_set(
0231 git_buf *buffer, const void *data, size_t datalen);
0232
0233
0234
0235
0236
0237
0238
0239 GIT_EXTERN(int) git_buf_is_binary(const git_buf *buf);
0240
0241
0242
0243
0244
0245
0246
0247 GIT_EXTERN(int) git_buf_contains_nul(const git_buf *buf);
0248
0249
0250
0251
0252
0253
0254
0255
0256
0257
0258
0259 GIT_EXTERN(void) git_buf_free(git_buf *buffer);
0260
0261
0262
0263
0264
0265
0266
0267
0268
0269
0270
0271
0272
0273
0274
0275
0276 typedef int (*git_commit_signing_cb)(
0277 git_buf *signature,
0278 git_buf *signature_field,
0279 const char *commit_content,
0280 void *payload);
0281
0282
0283
0284
0285
0286
0287
0288 #define GIT_CVAR_FALSE GIT_CONFIGMAP_FALSE
0289 #define GIT_CVAR_TRUE GIT_CONFIGMAP_TRUE
0290 #define GIT_CVAR_INT32 GIT_CONFIGMAP_INT32
0291 #define GIT_CVAR_STRING GIT_CONFIGMAP_STRING
0292
0293 typedef git_configmap git_cvar_map;
0294
0295
0296
0297
0298
0299
0300
0301
0302
0303
0304
0305
0306
0307
0308
0309
0310
0311 typedef enum {
0312
0313 GIT_DIFF_FORMAT_EMAIL_NONE = 0,
0314
0315
0316 GIT_DIFF_FORMAT_EMAIL_EXCLUDE_SUBJECT_PATCH_MARKER = (1 << 0)
0317
0318 } git_diff_format_email_flags_t;
0319
0320
0321
0322
0323 typedef struct {
0324 unsigned int version;
0325
0326
0327 uint32_t flags;
0328
0329
0330 size_t patch_no;
0331
0332
0333 size_t total_patches;
0334
0335
0336 const git_oid *id;
0337
0338
0339 const char *summary;
0340
0341
0342 const char *body;
0343
0344
0345 const git_signature *author;
0346 } git_diff_format_email_options;
0347
0348 #define GIT_DIFF_FORMAT_EMAIL_OPTIONS_VERSION 1
0349 #define GIT_DIFF_FORMAT_EMAIL_OPTIONS_INIT {GIT_DIFF_FORMAT_EMAIL_OPTIONS_VERSION, 0, 1, 1, NULL, NULL, NULL, NULL}
0350
0351
0352
0353
0354
0355
0356
0357 GIT_EXTERN(int) git_diff_format_email(
0358 git_buf *out,
0359 git_diff *diff,
0360 const git_diff_format_email_options *opts);
0361
0362
0363
0364
0365
0366
0367
0368 GIT_EXTERN(int) git_diff_commit_as_email(
0369 git_buf *out,
0370 git_repository *repo,
0371 git_commit *commit,
0372 size_t patch_no,
0373 size_t total_patches,
0374 uint32_t flags,
0375 const git_diff_options *diff_opts);
0376
0377
0378
0379
0380
0381
0382
0383
0384
0385
0386
0387 GIT_EXTERN(int) git_diff_format_email_options_init(
0388 git_diff_format_email_options *opts,
0389 unsigned int version);
0390
0391
0392
0393
0394
0395
0396
0397
0398
0399
0400
0401
0402
0403
0404 #define GITERR_NONE GIT_ERROR_NONE
0405 #define GITERR_NOMEMORY GIT_ERROR_NOMEMORY
0406 #define GITERR_OS GIT_ERROR_OS
0407 #define GITERR_INVALID GIT_ERROR_INVALID
0408 #define GITERR_REFERENCE GIT_ERROR_REFERENCE
0409 #define GITERR_ZLIB GIT_ERROR_ZLIB
0410 #define GITERR_REPOSITORY GIT_ERROR_REPOSITORY
0411 #define GITERR_CONFIG GIT_ERROR_CONFIG
0412 #define GITERR_REGEX GIT_ERROR_REGEX
0413 #define GITERR_ODB GIT_ERROR_ODB
0414 #define GITERR_INDEX GIT_ERROR_INDEX
0415 #define GITERR_OBJECT GIT_ERROR_OBJECT
0416 #define GITERR_NET GIT_ERROR_NET
0417 #define GITERR_TAG GIT_ERROR_TAG
0418 #define GITERR_TREE GIT_ERROR_TREE
0419 #define GITERR_INDEXER GIT_ERROR_INDEXER
0420 #define GITERR_SSL GIT_ERROR_SSL
0421 #define GITERR_SUBMODULE GIT_ERROR_SUBMODULE
0422 #define GITERR_THREAD GIT_ERROR_THREAD
0423 #define GITERR_STASH GIT_ERROR_STASH
0424 #define GITERR_CHECKOUT GIT_ERROR_CHECKOUT
0425 #define GITERR_FETCHHEAD GIT_ERROR_FETCHHEAD
0426 #define GITERR_MERGE GIT_ERROR_MERGE
0427 #define GITERR_SSH GIT_ERROR_SSH
0428 #define GITERR_FILTER GIT_ERROR_FILTER
0429 #define GITERR_REVERT GIT_ERROR_REVERT
0430 #define GITERR_CALLBACK GIT_ERROR_CALLBACK
0431 #define GITERR_CHERRYPICK GIT_ERROR_CHERRYPICK
0432 #define GITERR_DESCRIBE GIT_ERROR_DESCRIBE
0433 #define GITERR_REBASE GIT_ERROR_REBASE
0434 #define GITERR_FILESYSTEM GIT_ERROR_FILESYSTEM
0435 #define GITERR_PATCH GIT_ERROR_PATCH
0436 #define GITERR_WORKTREE GIT_ERROR_WORKTREE
0437 #define GITERR_SHA1 GIT_ERROR_SHA1
0438
0439 #define GIT_ERROR_SHA1 GIT_ERROR_SHA
0440
0441
0442
0443
0444
0445
0446
0447
0448
0449
0450
0451
0452 GIT_EXTERN(const git_error *) giterr_last(void);
0453
0454
0455
0456
0457
0458
0459
0460
0461
0462
0463
0464 GIT_EXTERN(void) giterr_clear(void);
0465
0466
0467
0468
0469
0470
0471
0472
0473
0474
0475
0476 GIT_EXTERN(void) giterr_set_str(int error_class, const char *string);
0477
0478
0479
0480
0481
0482
0483
0484
0485
0486
0487
0488 GIT_EXTERN(void) giterr_set_oom(void);
0489
0490
0491
0492
0493
0494
0495
0496
0497
0498
0499
0500
0501
0502
0503 #define GIT_IDXENTRY_NAMEMASK GIT_INDEX_ENTRY_NAMEMASK
0504 #define GIT_IDXENTRY_STAGEMASK GIT_INDEX_ENTRY_STAGEMASK
0505 #define GIT_IDXENTRY_STAGESHIFT GIT_INDEX_ENTRY_STAGESHIFT
0506
0507
0508 #define GIT_IDXENTRY_EXTENDED GIT_INDEX_ENTRY_EXTENDED
0509 #define GIT_IDXENTRY_VALID GIT_INDEX_ENTRY_VALID
0510
0511 #define GIT_IDXENTRY_STAGE(E) GIT_INDEX_ENTRY_STAGE(E)
0512 #define GIT_IDXENTRY_STAGE_SET(E,S) GIT_INDEX_ENTRY_STAGE_SET(E,S)
0513
0514
0515 #define GIT_IDXENTRY_INTENT_TO_ADD GIT_INDEX_ENTRY_INTENT_TO_ADD
0516 #define GIT_IDXENTRY_SKIP_WORKTREE GIT_INDEX_ENTRY_SKIP_WORKTREE
0517 #define GIT_IDXENTRY_EXTENDED_FLAGS (GIT_INDEX_ENTRY_INTENT_TO_ADD | GIT_INDEX_ENTRY_SKIP_WORKTREE)
0518 #define GIT_IDXENTRY_EXTENDED2 (1 << 15)
0519 #define GIT_IDXENTRY_UPDATE (1 << 0)
0520 #define GIT_IDXENTRY_REMOVE (1 << 1)
0521 #define GIT_IDXENTRY_UPTODATE (1 << 2)
0522 #define GIT_IDXENTRY_ADDED (1 << 3)
0523 #define GIT_IDXENTRY_HASHED (1 << 4)
0524 #define GIT_IDXENTRY_UNHASHED (1 << 5)
0525 #define GIT_IDXENTRY_WT_REMOVE (1 << 6)
0526 #define GIT_IDXENTRY_CONFLICTED (1 << 7)
0527 #define GIT_IDXENTRY_UNPACKED (1 << 8)
0528 #define GIT_IDXENTRY_NEW_SKIP_WORKTREE (1 << 9)
0529
0530
0531 #define GIT_INDEXCAP_IGNORE_CASE GIT_INDEX_CAPABILITY_IGNORE_CASE
0532 #define GIT_INDEXCAP_NO_FILEMODE GIT_INDEX_CAPABILITY_NO_FILEMODE
0533 #define GIT_INDEXCAP_NO_SYMLINKS GIT_INDEX_CAPABILITY_NO_SYMLINKS
0534 #define GIT_INDEXCAP_FROM_OWNER GIT_INDEX_CAPABILITY_FROM_OWNER
0535
0536 GIT_EXTERN(int) git_index_add_frombuffer(
0537 git_index *index,
0538 const git_index_entry *entry,
0539 const void *buffer, size_t len);
0540
0541
0542
0543
0544
0545
0546
0547
0548
0549
0550
0551
0552
0553 #define git_otype git_object_t
0554
0555 #define GIT_OBJ_ANY GIT_OBJECT_ANY
0556 #define GIT_OBJ_BAD GIT_OBJECT_INVALID
0557 #define GIT_OBJ__EXT1 0
0558 #define GIT_OBJ_COMMIT GIT_OBJECT_COMMIT
0559 #define GIT_OBJ_TREE GIT_OBJECT_TREE
0560 #define GIT_OBJ_BLOB GIT_OBJECT_BLOB
0561 #define GIT_OBJ_TAG GIT_OBJECT_TAG
0562 #define GIT_OBJ__EXT2 5
0563 #define GIT_OBJ_OFS_DELTA GIT_OBJECT_OFS_DELTA
0564 #define GIT_OBJ_REF_DELTA GIT_OBJECT_REF_DELTA
0565
0566
0567
0568
0569
0570
0571
0572
0573
0574
0575
0576
0577
0578 GIT_EXTERN(size_t) git_object__size(git_object_t type);
0579
0580
0581
0582
0583
0584
0585
0586
0587
0588
0589
0590
0591
0592
0593
0594
0595
0596
0597
0598
0599 GIT_EXTERN(int) git_remote_is_valid_name(const char *remote_name);
0600
0601
0602
0603
0604
0605
0606
0607
0608
0609
0610
0611
0612
0613
0614
0615 #define git_ref_t git_reference_t
0616 #define git_reference_normalize_t git_reference_format_t
0617
0618 #define GIT_REF_INVALID GIT_REFERENCE_INVALID
0619 #define GIT_REF_OID GIT_REFERENCE_DIRECT
0620 #define GIT_REF_SYMBOLIC GIT_REFERENCE_SYMBOLIC
0621 #define GIT_REF_LISTALL GIT_REFERENCE_ALL
0622
0623 #define GIT_REF_FORMAT_NORMAL GIT_REFERENCE_FORMAT_NORMAL
0624 #define GIT_REF_FORMAT_ALLOW_ONELEVEL GIT_REFERENCE_FORMAT_ALLOW_ONELEVEL
0625 #define GIT_REF_FORMAT_REFSPEC_PATTERN GIT_REFERENCE_FORMAT_REFSPEC_PATTERN
0626 #define GIT_REF_FORMAT_REFSPEC_SHORTHAND GIT_REFERENCE_FORMAT_REFSPEC_SHORTHAND
0627
0628
0629
0630
0631
0632
0633
0634
0635
0636
0637
0638
0639
0640
0641
0642
0643 GIT_EXTERN(int) git_reference_is_valid_name(const char *refname);
0644
0645 GIT_EXTERN(int) git_tag_create_frombuffer(
0646 git_oid *oid,
0647 git_repository *repo,
0648 const char *buffer,
0649 int force);
0650
0651
0652
0653
0654
0655
0656
0657
0658
0659
0660
0661
0662
0663
0664 typedef git_revspec_t git_revparse_mode_t;
0665
0666 #define GIT_REVPARSE_SINGLE GIT_REVSPEC_SINGLE
0667 #define GIT_REVPARSE_RANGE GIT_REVSPEC_RANGE
0668 #define GIT_REVPARSE_MERGE_BASE GIT_REVSPEC_MERGE_BASE
0669
0670
0671
0672
0673
0674
0675
0676
0677
0678
0679
0680
0681
0682 typedef git_credential git_cred;
0683 typedef git_credential_userpass_plaintext git_cred_userpass_plaintext;
0684 typedef git_credential_username git_cred_username;
0685 typedef git_credential_default git_cred_default;
0686 typedef git_credential_ssh_key git_cred_ssh_key;
0687 typedef git_credential_ssh_interactive git_cred_ssh_interactive;
0688 typedef git_credential_ssh_custom git_cred_ssh_custom;
0689
0690 typedef git_credential_acquire_cb git_cred_acquire_cb;
0691 typedef git_credential_sign_cb git_cred_sign_callback;
0692 typedef git_credential_sign_cb git_cred_sign_cb;
0693 typedef git_credential_ssh_interactive_cb git_cred_ssh_interactive_callback;
0694 typedef git_credential_ssh_interactive_cb git_cred_ssh_interactive_cb;
0695
0696 #define git_credtype_t git_credential_t
0697
0698 #define GIT_CREDTYPE_USERPASS_PLAINTEXT GIT_CREDENTIAL_USERPASS_PLAINTEXT
0699 #define GIT_CREDTYPE_SSH_KEY GIT_CREDENTIAL_SSH_KEY
0700 #define GIT_CREDTYPE_SSH_CUSTOM GIT_CREDENTIAL_SSH_CUSTOM
0701 #define GIT_CREDTYPE_DEFAULT GIT_CREDENTIAL_DEFAULT
0702 #define GIT_CREDTYPE_SSH_INTERACTIVE GIT_CREDENTIAL_SSH_INTERACTIVE
0703 #define GIT_CREDTYPE_USERNAME GIT_CREDENTIAL_USERNAME
0704 #define GIT_CREDTYPE_SSH_MEMORY GIT_CREDENTIAL_SSH_MEMORY
0705
0706 GIT_EXTERN(void) git_cred_free(git_credential *cred);
0707 GIT_EXTERN(int) git_cred_has_username(git_credential *cred);
0708 GIT_EXTERN(const char *) git_cred_get_username(git_credential *cred);
0709 GIT_EXTERN(int) git_cred_userpass_plaintext_new(
0710 git_credential **out,
0711 const char *username,
0712 const char *password);
0713 GIT_EXTERN(int) git_cred_default_new(git_credential **out);
0714 GIT_EXTERN(int) git_cred_username_new(git_credential **out, const char *username);
0715 GIT_EXTERN(int) git_cred_ssh_key_new(
0716 git_credential **out,
0717 const char *username,
0718 const char *publickey,
0719 const char *privatekey,
0720 const char *passphrase);
0721 GIT_EXTERN(int) git_cred_ssh_key_memory_new(
0722 git_credential **out,
0723 const char *username,
0724 const char *publickey,
0725 const char *privatekey,
0726 const char *passphrase);
0727 GIT_EXTERN(int) git_cred_ssh_interactive_new(
0728 git_credential **out,
0729 const char *username,
0730 git_credential_ssh_interactive_cb prompt_callback,
0731 void *payload);
0732 GIT_EXTERN(int) git_cred_ssh_key_from_agent(
0733 git_credential **out,
0734 const char *username);
0735 GIT_EXTERN(int) git_cred_ssh_custom_new(
0736 git_credential **out,
0737 const char *username,
0738 const char *publickey,
0739 size_t publickey_len,
0740 git_credential_sign_cb sign_callback,
0741 void *payload);
0742
0743
0744
0745 typedef git_credential_userpass_payload git_cred_userpass_payload;
0746
0747 GIT_EXTERN(int) git_cred_userpass(
0748 git_credential **out,
0749 const char *url,
0750 const char *user_from_url,
0751 unsigned int allowed_types,
0752 void *payload);
0753
0754
0755
0756
0757
0758
0759
0760
0761
0762
0763
0764
0765
0766 typedef git_trace_cb git_trace_callback;
0767
0768
0769
0770
0771
0772
0773
0774
0775
0776
0777
0778
0779
0780 #ifndef GIT_EXPERIMENTAL_SHA256
0781 # define GIT_OID_RAWSZ GIT_OID_SHA1_SIZE
0782 # define GIT_OID_HEXSZ GIT_OID_SHA1_HEXSIZE
0783 # define GIT_OID_HEX_ZERO GIT_OID_SHA1_HEXZERO
0784 #endif
0785
0786 GIT_EXTERN(int) git_oid_iszero(const git_oid *id);
0787
0788
0789
0790
0791
0792
0793
0794
0795
0796
0797
0798
0799
0800
0801
0802
0803
0804
0805
0806
0807
0808
0809
0810 GIT_EXTERN(void) git_oidarray_free(git_oidarray *array);
0811
0812
0813
0814
0815
0816
0817
0818
0819
0820
0821
0822
0823
0824
0825
0826
0827
0828
0829
0830
0831 typedef git_indexer_progress git_transfer_progress;
0832
0833
0834
0835
0836
0837
0838
0839 typedef git_indexer_progress_cb git_transfer_progress_cb;
0840
0841
0842
0843
0844
0845
0846
0847 typedef git_push_transfer_progress_cb git_push_transfer_progress;
0848
0849
0850 #define git_remote_completion_type git_remote_completion_t
0851
0852
0853
0854
0855 typedef int GIT_CALLBACK(git_headlist_cb)(git_remote_head *rhead, void *payload);
0856
0857
0858
0859
0860
0861
0862
0863
0864
0865
0866
0867
0868
0869
0870
0871
0872
0873
0874
0875
0876
0877
0878
0879 GIT_EXTERN(int) git_strarray_copy(git_strarray *tgt, const git_strarray *src);
0880
0881
0882
0883
0884
0885
0886
0887
0888
0889
0890
0891 GIT_EXTERN(void) git_strarray_free(git_strarray *array);
0892
0893
0894
0895
0896
0897
0898
0899
0900
0901
0902
0903
0904
0905 GIT_EXTERN(int) git_blame_init_options(git_blame_options *opts, unsigned int version);
0906 GIT_EXTERN(int) git_checkout_init_options(git_checkout_options *opts, unsigned int version);
0907 GIT_EXTERN(int) git_cherrypick_init_options(git_cherrypick_options *opts, unsigned int version);
0908 GIT_EXTERN(int) git_clone_init_options(git_clone_options *opts, unsigned int version);
0909 GIT_EXTERN(int) git_describe_init_options(git_describe_options *opts, unsigned int version);
0910 GIT_EXTERN(int) git_describe_init_format_options(git_describe_format_options *opts, unsigned int version);
0911 GIT_EXTERN(int) git_diff_init_options(git_diff_options *opts, unsigned int version);
0912 GIT_EXTERN(int) git_diff_find_init_options(git_diff_find_options *opts, unsigned int version);
0913 GIT_EXTERN(int) git_diff_format_email_init_options(git_diff_format_email_options *opts, unsigned int version);
0914 GIT_EXTERN(int) git_diff_patchid_init_options(git_diff_patchid_options *opts, unsigned int version);
0915 GIT_EXTERN(int) git_fetch_init_options(git_fetch_options *opts, unsigned int version);
0916 GIT_EXTERN(int) git_indexer_init_options(git_indexer_options *opts, unsigned int version);
0917 GIT_EXTERN(int) git_merge_init_options(git_merge_options *opts, unsigned int version);
0918 GIT_EXTERN(int) git_merge_file_init_input(git_merge_file_input *input, unsigned int version);
0919 GIT_EXTERN(int) git_merge_file_init_options(git_merge_file_options *opts, unsigned int version);
0920 GIT_EXTERN(int) git_proxy_init_options(git_proxy_options *opts, unsigned int version);
0921 GIT_EXTERN(int) git_push_init_options(git_push_options *opts, unsigned int version);
0922 GIT_EXTERN(int) git_rebase_init_options(git_rebase_options *opts, unsigned int version);
0923 GIT_EXTERN(int) git_remote_create_init_options(git_remote_create_options *opts, unsigned int version);
0924 GIT_EXTERN(int) git_repository_init_init_options(git_repository_init_options *opts, unsigned int version);
0925 GIT_EXTERN(int) git_revert_init_options(git_revert_options *opts, unsigned int version);
0926 GIT_EXTERN(int) git_stash_apply_init_options(git_stash_apply_options *opts, unsigned int version);
0927 GIT_EXTERN(int) git_status_init_options(git_status_options *opts, unsigned int version);
0928 GIT_EXTERN(int) git_submodule_update_init_options(git_submodule_update_options *opts, unsigned int version);
0929 GIT_EXTERN(int) git_worktree_add_init_options(git_worktree_add_options *opts, unsigned int version);
0930 GIT_EXTERN(int) git_worktree_prune_init_options(git_worktree_prune_options *opts, unsigned int version);
0931
0932
0933
0934
0935 GIT_END_DECL
0936
0937 #endif
0938
0939 #endif