Lines Matching refs:fields
17 * fields enclosed by brackets "[]" replaced with your own identifying
116 char *buf = NULL, *fields[DTF_MAX_FIELDS];
150 nfields = field_split(buf, DTF_MAX_FIELDS, fields, " \t");
159 targetp->dt_type != fields[DTF_TYPE][0])
162 targetp->dt_type == fields[DTF_TYPE][0])
166 strcmp(targetp->dt_key, fields[DTF_KEY]) != 0)
169 strcmp(targetp->dt_key, fields[DTF_KEY]) == 0)
200 (void) strlcpy(recordp->dt_key, fields[DTF_KEY],
203 recordp->dt_type = fields[DTF_TYPE][0];
204 recordp->dt_value = strdup(fields[DTF_VALUE]);