Add documentation for git_config_add_backend

This commit is contained in:
Carlos Martín Nieto 2011-05-17 14:59:23 +02:00
parent 32234541f6
commit f44cbec479

View File

@ -58,7 +58,14 @@ GIT_EXTERN(int) git_config_open_bare(git_config **cfg_out, const char *path);
GIT_EXTERN(int) git_config_open_global(git_config **cfg);
/**
* Add a config backend to an existing instance
*
* Note that the configuration will call the backend's ->free()
* function.
*
* @param cfg the configuration to add the backend to
* @param backend the backend to add
* @param priority the priority the backend should have
*/
GIT_EXTERN(int) git_config_add_backend(git_config *cfg, git_config_backend *backend, int priority);