Lines Matching refs:dlp
636 struct db_link *dlp;
649 for (; dlp = get_link(hdp, nidx); nidx = dlp->sib) {
651 path = get_string(hdp, dlp->path);
652 content = get_string(hdp, dlp->content);
654 clp = link_insert(hdp, pcmp, path, content, dlp->attr);
664 return (dlp ? -1 : 0);
923 struct db_link *dlp;
947 if ((dlp = set_link(hdp, idx)) == NULL) {
952 dlp->path = write_string(hdp, clp->path, next);
953 dlp->content = write_string(hdp, clp->content, next);
954 if (dlp->path == DB_NIL || dlp->content == DB_NIL) {
955 dlp->path = dlp->content = DB_NIL;
960 dlp->attr = clp->attr;
966 dlp->sib = pdmp->link;
969 dlp->sib = DB_HDR(hdp)->dngl_idx;
2239 struct db_link *dlp;
2255 if ((dlp = get_link(hdp, nidx)) == NULL)
2258 vlink.rel_path = get_string(hdp, dlp->path);
2259 vlink.content = get_string(hdp, dlp->content);
2260 vlink.type = attr2type(dlp->attr);
2274 struct db_link *dlp;
2288 for (; dlp = get_link(hdp, nidx); nidx = dlp->sib) {
2291 vlink.rel_path = get_string(hdp, dlp->path);
2292 vlink.content = get_string(hdp, dlp->content);
2293 vlink.type = attr2type(dlp->attr);