Lines Matching refs:config_entry
95 int loc_set_config_entry(loc_param_s_type* config_entry, loc_param_v_type* config_value) in loc_set_config_entry() argument
98 if(NULL == config_entry || NULL == config_value) in loc_set_config_entry()
104 if (strcmp(config_entry->param_name, config_value->param_name) == 0 && in loc_set_config_entry()
105 config_entry->param_ptr) in loc_set_config_entry()
107 switch (config_entry->param_type) in loc_set_config_entry()
112 *((char*)config_entry->param_ptr) = '\0'; in loc_set_config_entry()
115 strlcpy((char*) config_entry->param_ptr, in loc_set_config_entry()
121 config_entry->param_name, (char*)config_entry->param_ptr); in loc_set_config_entry()
123 if(NULL != config_entry->param_set) in loc_set_config_entry()
125 *(config_entry->param_set) = 1; in loc_set_config_entry()
130 *((int *)config_entry->param_ptr) = config_value->param_int_value; in loc_set_config_entry()
133 config_entry->param_name, config_value->param_int_value); in loc_set_config_entry()
135 if(NULL != config_entry->param_set) in loc_set_config_entry()
137 *(config_entry->param_set) = 1; in loc_set_config_entry()
142 *((double *)config_entry->param_ptr) = config_value->param_double_value; in loc_set_config_entry()
145 config_entry->param_name, config_value->param_double_value); in loc_set_config_entry()
147 if(NULL != config_entry->param_set) in loc_set_config_entry()
149 *(config_entry->param_set) = 1; in loc_set_config_entry()
155 __FUNCTION__, config_entry->param_name); in loc_set_config_entry()