Maps a string value to an integer constant
place to store the result of the parsing
array of git_configmap objects specifying the possible mappings
git_configmap
number of mapping objects in maps
maps
value to parse
0 or an error code.