Lines Matching refs:config_entry
144 int loc_set_config_entry(const loc_param_s_type* config_entry, loc_param_v_type* config_value) in loc_set_config_entry() argument
147 if(NULL == config_entry || NULL == config_value) in loc_set_config_entry()
153 if (strcmp(config_entry->param_name, config_value->param_name) == 0 && in loc_set_config_entry()
154 config_entry->param_ptr) in loc_set_config_entry()
156 switch (config_entry->param_type) in loc_set_config_entry()
161 *((char*)config_entry->param_ptr) = '\0'; in loc_set_config_entry()
164 strlcpy((char*) config_entry->param_ptr, in loc_set_config_entry()
170 config_entry->param_name, (char*)config_entry->param_ptr); in loc_set_config_entry()
172 if(NULL != config_entry->param_set) in loc_set_config_entry()
174 *(config_entry->param_set) = 1; in loc_set_config_entry()
179 *((int *)config_entry->param_ptr) = config_value->param_int_value; in loc_set_config_entry()
182 config_entry->param_name, config_value->param_int_value); in loc_set_config_entry()
184 if(NULL != config_entry->param_set) in loc_set_config_entry()
186 *(config_entry->param_set) = 1; in loc_set_config_entry()
191 *((double *)config_entry->param_ptr) = config_value->param_double_value; in loc_set_config_entry()
194 config_entry->param_name, config_value->param_double_value); in loc_set_config_entry()
196 if(NULL != config_entry->param_set) in loc_set_config_entry()
198 *(config_entry->param_set) = 1; in loc_set_config_entry()
204 __FUNCTION__, config_entry->param_name); in loc_set_config_entry()