Every iterator must have this struct as its first element, so the API can talk to it. You'd define your iterator as
struct my_iterator { git_config_iterator parent; ... }
and assign iter->parent.backend
to your git_config_backend
.
Return the current entry and advance the iterator. The memory belongs to the library.
Free the iterator