File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -189,9 +189,14 @@ struct config_set {
189
189
190
190
extern void git_configset_init (struct config_set * cs );
191
191
extern int git_configset_add_file (struct config_set * cs , const char * filename );
192
- extern int git_configset_get_value (struct config_set * cs , const char * key , const char * * value );
193
192
extern const struct string_list * git_configset_get_value_multi (struct config_set * cs , const char * key );
194
193
extern void git_configset_clear (struct config_set * cs );
194
+
195
+ /*
196
+ * These functions return 1 if not found, and 0 if found, leaving the found
197
+ * value in the 'dest' pointer.
198
+ */
199
+ extern int git_configset_get_value (struct config_set * cs , const char * key , const char * * dest );
195
200
extern int git_configset_get_string_const (struct config_set * cs , const char * key , const char * * dest );
196
201
extern int git_configset_get_string (struct config_set * cs , const char * key , char * * dest );
197
202
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