File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -179,9 +179,14 @@ struct config_set {
179
179
180
180
extern void git_configset_init (struct config_set * cs );
181
181
extern int git_configset_add_file (struct config_set * cs , const char * filename );
182
- extern int git_configset_get_value (struct config_set * cs , const char * key , const char * * value );
183
182
extern const struct string_list * git_configset_get_value_multi (struct config_set * cs , const char * key );
184
183
extern void git_configset_clear (struct config_set * cs );
184
+
185
+ /*
186
+ * These functions return 1 if not found, and 0 if found, leaving the found
187
+ * value in the 'dest' pointer.
188
+ */
189
+ extern int git_configset_get_value (struct config_set * cs , const char * key , const char * * dest );
185
190
extern int git_configset_get_string_const (struct config_set * cs , const char * key , const char * * dest );
186
191
extern int git_configset_get_string (struct config_set * cs , const char * key , char * * dest );
187
192
extern int git_configset_get_int (struct config_set * cs , const char * key , int * dest );
You can’t perform that action at this time.
0 commit comments