Lines Matching defs:rkp
227 struct rckey *rkp = NULL;
283 rkp = rc_sect_addkey(rsp, buf, NULL);
298 rkp->rk_value = strdup(buf);
300 rkp = NULL;
304 rkp->rk_value = strdup(buf);
312 struct rckey *rkp;
317 rkp = rc_sect_findkey(rsp,key);
318 if (!rkp) return ENOENT;
319 *dest = rkp->rk_value;
341 struct rckey *rkp;
345 rkp = rc_sect_findkey(rsp,key);
346 if (!rkp) return ENOENT;
348 *value = strtol(rkp->rk_value,NULL,0);
350 fprintf(stderr, "invalid int value '%s' for key '%s' in section '%s'\n",rkp->rk_value,key,section);
363 struct rckey *rkp;
368 rkp = rc_sect_findkey(rsp,key);
369 if (!rkp) return ENOENT;
370 p = rkp->rk_value;