Lines Matching defs:section
73 static line_status config_line(char *line, char *section, char *key, char *value)
88 /* section name */
89 memcpy(section, line + 1, len - 2);
90 section[len - 2] = 0;
91 strtrim(section);
291 char section[MAX_LINE_SIZE + 1];
312 memset(section, 0, sizeof section);
334 switch (config_line(line, section, key, val)) {
340 sections_set(sections, section, key, val);
361 #define SECTION_DIR_MAP "section.dir.map" /* map of section and directory of app */
370 #define ATTR_NS_ACQUIESCENCE "acquiescence" /* acquiescence section name */
376 /* get key-value list of section */
496 return -3; /* no section directory map or acquiescence section found */
515 /* No matched section found, use the default section. */
517 LD_LOGD("config_parse no section found!");
520 LD_LOGD("config_parse no section key-value list found!");
521 return -5;/* no section key-value list found */