Ggit.ConfigMatchCallback
Description: Reference for Ggit.ConfigMatchCallback

### Function

# GgitConfigMatchCallback

#### Declaration

    gint
    (* GgitConfigMatchCallback) (
      GMatchInfo* match_info,
      const gchar* value,
      gpointer user_data
    )

#### Description [src]

The type of the callback functions for retrieving values from a `GgitConfig` using a regular expression. See ggit_config_match_foreach().

#### Parameters

`match_info` | `GMatchInfo`
| The match.
| The data is owned by the caller of the function.
`value` | `const gchar*`
| The value.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`user_data` | `gpointer`
| User-supplied data.
| The argument can be `NULL`.
| The data is owned by the caller of the function.

#### Return value

Returns: | `gint`
| 0 to go for the next config value or a `GgitError` in case there was an error.