Home | History | Annotate | Download | only in src

Lines Matching refs:value_node

312     cfg_node *section_node, *key_node, *value_node;
325 value_node = &key_node->child[vi];
326 if(value_node->name && *value_node->name)
328 cb(user_data, section_node->name, key_node->name, value_node->name,
329 value_node->value, value_node->used, value_node->type);
452 cfg_node* value_node;
453 if((value_node = find_add_node(key_node, name)))
455 if(value_node->bytes < bytes)
457 if(value_node->value)
458 free(value_node->value);
459 value_node->value = (char*)malloc(bytes);
460 if(value_node->value)
461 value_node->bytes = bytes;
465 value_node->bytes = 0;
469 if(value_node->value && value != NULL && bytes > 0)
470 memcpy(value_node->value, value, bytes);
471 value_node->type = type;
472 value_node->used = bytes;