For internal use only.
This file contains the implementation of the tc_set() function, used to set the value of configuration variables.
Definition in file tc_set.c.
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "treeconf_int.h"
Include dependency graph for tc_set.c:
Go to the source code of this file.
Functions | |
unsigned int | _tc_set (treeconf_node_t *node, const char *value) |
Set variable value. | |
unsigned int | tc_set (treeconf_ctx_t *ctx, const char *name, const char *value, treeconf_node_t *parent) |
Set a variable to a given value. |
|
For internal use only. This helper function performs the actual mechanics of setting the value of a particular variable.
Definition at line 48 of file tc_set.c. References _tn_call_change, _treeconf_node_s::tn_default, tn_isdef, _treeconf_node_s::tn_value, and treeconf_node_t. Referenced by tc_set(). |