Lines Matching defs:newtt
436 struct tt *newtt = (struct tt *)malloc(sizeof(*newtt));
447 if (newtt == NULL) {
452 newtt->next = NULL;
453 newtt->rdclass = rdclass;
454 newtt->type = type;
456 strncpy(newtt->classbuf, classbuf, sizeof(newtt->classbuf));
457 newtt->classbuf[sizeof(newtt->classbuf) - 1] = '\0';
459 strncpy(newtt->typebuf, typebuf, sizeof(newtt->typebuf));
460 newtt->typebuf[sizeof(newtt->typebuf) - 1] = '\0';
465 strncpy(newtt->dirbuf, dirbuf, sizeof(newtt->dirbuf));
466 newtt->dirbuf[sizeof(newtt->dirbuf) - 1] = '\0';
484 newtt->next = tt;
486 oldtt->next = newtt;
488 types = newtt;