{
  "git_attr_foreach_cb": {
    "args": [
      {
        "name": "name",
        "cType": "const char *"
      },
      {
        "name": "value",
        "cType": "const char *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_blob_chunk_cb": {
    "args": [
      {
        "name": "entry",
        "cType": "const git_config_entry *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_checkout_notify_cb": {
    "args": [
      {
        "name": "why",
        "cType": "git_checkout_notify_t"
      },
      {
        "name": "path",
        "cType": "const char *"
      },
      {
        "name": "baseline",
        "cType": "const git_diff_file *"
      },
      {
        "name": "target",
        "cType": "const git_diff_file *"
      },
      {
        "name": "workdir",
        "cType": "const git_diff_file *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_checkout_progress_cb": {
    "args": [
      {
        "name": "path",
        "cType": "const char *"
      },
      {
        "name": "completed_steps",
        "cType": "size_t"
      },
      {
        "name": "total_steps",
        "cType": "size_t"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1,
      "throttle": 100
    }
  },
  "git_checkout_perfdata_cb": {
    "args": [
      {
        "name": "perfdata",
        "cType": "const git_checkout_perfdata *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_commit_signing_cb": {
    "args": [
      {
        "name": "signature",
        "cType": "git_buf *"
      },
      {
        "name": "signature_field",
        "cType": "git_buf *"
      },
      {
        "name": "commit_content",
        "cType": "const char *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": -30,
      "success": 0,
      "error": -1
    }
  },
  "git_config_foreach_cb": {
    "args": [
      {
        "name": "entry",
        "cType": "const git_config_entry *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_cred_acquire_cb": {
    "args": [
      {
        "name": "cred",
        "cType": "git_cred **",
        "isReturn": true
      },
      {
        "name": "url",
        "cType": "const char *"
      },
      {
        "name": "username_from_url",
        "cType": "const char *"
      },
      {
        "name": "allowed_types",
        "cType": "unsigned int"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_diff_binary_cb": {
    "args": [
      {
        "name": "delta",
        "cType": "const git_diff_delta *"
      },
      {
        "name": "binary",
        "cType": "const git_diff_binary *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": -1
    }
  },
  "git_diff_file_cb": {
    "args": [
      {
        "name": "delta",
        "cType": "const git_diff_delta *"
      },
      {
        "name": "progress",
        "cType": "float"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1,
      "throttle": 100
    }
  },
  "git_diff_hunk_cb": {
    "args": [
      {
        "name": "delta",
        "cType": "const git_diff_delta *"
      },
      {
        "name": "hunk",
        "cType": "const git_diff_hunk *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_diff_line_cb": {
    "args": [
      {
        "name": "delta",
        "cType": "const git_diff_delta *"
      },
      {
        "name": "hunk",
        "cType": "const git_diff_hunk *"
      },
      {
        "name": "line",
        "cType": "const git_diff_line *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_diff_notify_cb": {
    "args": [
      {
        "name": "diff_so_far",
        "cType": "const git_diff *"
      },
      {
        "name": "delta_to_add",
        "cType": "git_diff_delta *"
      },
      {
        "name": "matched_pathspec",
        "cType": "const char *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },"git_diff_progress_cb": {
    "args": [
      {
        "name": "diff_so_far",
        "cType": "const git_diff *"
      },
      {
        "name": "old_path",
        "cType": "const char *"
      },
      {
        "name": "new_path",
        "cType": "const char *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_filter_apply_fn": {
    "args": [
      {
        "name": "self",
        "cType": "git_filter *"
      },
      {
        "name": "payload",
        "cType": "void **"
      },
      {
        "name": "to",
        "cType": "git_buf *"
      },
      {
        "name": "from",
        "cType": "const git_buf *"
      },
      {
        "name": "src",
        "cType": "const git_filter_source *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": -30,
      "success": 0,
      "error": -1
    }
  },
  "git_filter_check_fn": {
    "args": [
      {
        "name": "self",
        "cType": "git_filter *"
      },
      {
        "name": "payload",
        "cType": "void **"
      },
      {
        "name": "src",
        "cType": "const git_filter_source *"
      },
      {
        "name": "attr_values",
        "cType": "const char **"
      }
    ],
    "return": {
      "type": "int",
      "noResults": -30,
      "success": 0,
      "error": -1
    }
  },
  "git_filter_cleanup_fn": {
    "args": [
      {
        "name": "self",
        "cType": "git_filter *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "void"
    }
  },
  "git_filter_init_fn": {
    "args": [
      {
        "name": "self",
        "cType": "git_filter *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": -1
    }
  },
  "git_filter_shutdown_fn": {
    "args": [
      {
        "name": "self",
        "cType": "git_filter *"
      }
    ],
    "return": {
      "type": "void"
    }
  },
  "git_index_matched_path_cb": {
    "args": [
      {
        "name": "path",
        "cType": "const char *"
      },
      {
        "name": "matched_pathspec",
        "cType": "const char *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_note_foreach_cb": {
    "args": [
      {
        "name": "blob_id",
        "cType": "const git_oid *"
      },
      {
        "name": "annotated_object_id",
        "cType": "const git_oid *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": -1
    }
  },
  "git_odb_foreach_cb": {
    "args": [
      {
        "name": "id",
        "cType": "const git_oid *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ]
  },
  "git_packbuilder_foreach_cb": {
    "args": [
      {
        "name": "buf",
        "cType": "void *"
      },
      {
        "name": "size",
        "cType": "size_t"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_remote_create_cb": {
    "args": [
      {
        "name": "out",
        "cType": "git_repository **",
        "isReturn": true
      },
      {
        "name": "repo",
        "cType": "git_repository *"
      },
      {
        "name": "name",
        "cType": "const char *"
      },
      {
        "name": "url",
        "cType": "const char *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": 1
    }
  },
  "git_repository_create_cb": {
    "args": [
      {
        "name": "out",
        "cType": "git_repository **",
        "isReturn": true
      },
      {
        "name": "path",
        "cType": "const char *"
      },
      {
        "name": "bare",
        "cType": "int"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": 1
    }
  },
  "git_reference_foreach_cb": {
    "args": [
      {
        "name": "refname",
        "cType": "const char *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_reference_foreach_name_cb": {
    "args": [
      {
        "name": "name",
        "cType": "const char *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_repository_fetchhead_foreach_cb": {
    "args": [
      {
        "name": "refname",
        "cType": "const char *"
      },
      {
        "name": "remote_url",
        "cType": "const char *"
      },
      {
        "name": "oid",
        "cType": "const git_oid *"
      },
      {
        "name": "is_merge",
        "cType": "unsigned int"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": 1
    }
  },
  "git_repository_mergehead_foreach_cb": {
    "args": [
      {
        "name": "oid",
        "cType": "const git_oid *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": 1
    }
  },
  "git_revwalk_hide_cb": {
    "args": [
      {
        "name": "commit_id",
        "cType": "const git_oid *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_smart_subtransport_cb": {
    "args": [
      {
        "name": "out",
        "cType": "git_smart_subtransport **",
        "isReturn": true
      },
      {
        "name": "owner",
        "cType": "git_transport*"
      },
      {
        "name": "param",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": -1
    }
  },
  "git_stash_apply_progress_cb": {
    "args": [
      {
        "name": "progress",
        "cType": "git_stash_apply_progress_t"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults":0,
      "success": 0,
      "error": -1,
      "throttle": 100
    }
  },
  "git_stash_cb": {
    "args": [
      {
        "name": "index",
        "cType": "size_t"
      },
      {
        "name": "message",
        "cType": "const char *"
      },
      {
        "name": "stash_id",
        "cType": "const git_oid *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults":0,
      "success": 0,
      "error": -1
    }
  },
  "git_status_cb": {
    "args": [
      {
        "name": "path",
        "cType": "const char *"
      },
      {
        "name": "status_flags",
        "cType": "unsigned int"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": -1
    }
  },
  "git_submodule_cb": {
    "args": [
      {
        "name": "sm",
        "cType": "git_submodule *"
      },
      {
        "name": "name",
        "cType": "const char *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": -1
    }
  },
  "git_tag_foreach_cb": {
    "args": [
      {
        "name": "name",
        "cType": "const char *"
      },
      {
        "name": "oid",
        "cType": "const git_oid *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_transfer_progress_cb": {
    "args": [
      {
        "name": "stats",
        "cType": "const git_transfer_progress *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": -1,
      "throttle": 100
    }
  },
  "git_push_transfer_progress": {
    "args": [
      {
        "name": "current",
        "type": "unsigned int"
      },
      {
        "name": "total",
        "type": "unsigned int"
      },
      {
        "name": "bytes",
        "type": "size_t"
      },
      {
        "name": "payload",
        "type": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 0,
      "success": 0,
      "error": -1,
      "throttle": 100
    }
  },
  "git_transport_cb": {
    "args": [
      {
        "name": "out",
        "cType": "git_transport **"
      },
      {
        "name": "owner",
        "cType": "git_remote *"
      },
      {
        "name": "param",
        "cType": "void *",
        "payload": true
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_transport_certificate_check_cb": {
    "args": [
      {
        "name": "cert",
        "cType": "git_cert *"
      },
      {
        "name": "valid",
        "cType": "int"
      },
      {
        "name": "host",
        "cType": "const char *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_transport_message_cb": {
    "args": [
      {
        "name": "str",
        "cType": "const char *"
      },
      {
        "name": "len",
        "cType": "int"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_treebuilder_filter_cb": {
    "args": [
      {
        "name": "entry",
        "cType": "const git_tree_entry *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_treewalk_cb": {
    "args": [
      {
        "name": "root",
        "cType": "const char *"
      },
      {
        "name": "entry",
        "cType": "const git_tree_entry *"
      },
      {
        "name": "payload",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  },
  "git_push_update_reference_cb": {
    "args": [
      {
        "name": "refname",
        "cType": "const char *"
      },
      {
        "name": "status",
        "cType": "const char *"
      },
      {
        "name": "data",
        "cType": "void *"
      }
    ],
    "return": {
      "type": "int",
      "noResults": 1,
      "success": 0,
      "error": -1
    }
  }
}
