Lines Matching refs:rkp
242 struct rckey *rkp = NULL;
298 rkp = rc_sect_addkey(rsp, buf, NULL);
313 rkp->rk_value = strdup(buf);
315 rkp = NULL;
319 rkp->rk_value = strdup(buf);
329 struct rckey *rkp;
334 rkp = rc_sect_findkey(rsp,key);
335 if (!rkp) return ENOENT;
336 *dest = rkp->rk_value;
362 struct rckey *rkp;
367 rkp = rc_sect_findkey(rsp, key);
368 if (!rkp)
371 *value = strtol(rkp->rk_value, NULL, 0);
373 warnx("invalid int value '%s' for key '%s' in section '%s'\n", rkp->rk_value, key, section);
387 struct rckey *rkp;
392 rkp = rc_sect_findkey(rsp,key);
393 if (!rkp) return ENOENT;
394 p = rkp->rk_value;