Lines Matching defs:value
132 char *value;
144 if ((retval = profile_node_iterator(&state, 0, 0, &value)))
146 if (value)
147 add_to_list(&values, value);
164 * This function only gets the first value from the file; it is a
172 char *value;
179 if ((retval = profile_node_iterator(&state, 0, 0, &value)))
182 if (value)
183 *ret_value = value;
197 const char *value;
206 retval = profile_get_value(profile, names, &value);
208 value = def_val;
212 value = def_val;
214 if (value) {
215 *ret_string = malloc(strlen(value)+1);
218 strcpy(*ret_string, value);
228 const char *value;
242 retval = profile_get_value(profile, names, &value);
249 if (value[0] == 0)
253 ret_long = strtol (value, &end_value, 10);
262 if (end_value != value + strlen (value))
309 const char *value;
322 retval = profile_get_value(profile, names, &value);
329 return profile_parse_boolean (value, ret_boolean);
420 char *name, *value;
423 retval = profile_node_iterator(iter_p, 0, &name, &value);
437 if (value) {
438 *ret_value = malloc(strlen(value)+1);
446 strcpy(*ret_value, value);