Lines Matching refs:keyword
30 * through the file for 'keyword'. If 'keyword' is found any string
34 * keyword (IN) - word to search for in config file
35 * value (OUT) - value of keyword
37 * retn: -1 on error, 0 if keyword not found, 1 on value success
39 int read_config_file(char *filename, char *keyword, char *value)
50 keyword_len = strlen(keyword);
89 /* Now we need to check if the keyword matches, and if so */
92 /* Check if it's the right keyword */
100 if (len == keyword_len && !strncmp(buffer, keyword, len)) {
109 /* Right keyword, now get the value (if any) */