libgit2

git_config_multivar_iterator_new

Version:

Get each value of a multivar

Signature

int git_config_multivar_iterator_new(git_config_iterator **out, const git_config *cfg, const char *name, const char *regexp);

Parameters

In
out

pointer to store the iterator

In
cfg

where to look for the variable

const char *
In
name

the variable's name

const char *
In
regexp

regular expression to filter which variables we're interested in. Use NULL to indicate all

Returns

int

Versions