Lines Matching refs:hdrbuf
149 static struct dm_buf hdrbuf;
587 pinput = hdrbuf.text_buffer;
779 if ((hdrbuf.text_buffer = (char *)malloc(BLK_SIZE)) == NULL) {
786 (void) memset(hdrbuf.text_buffer, '\0', BLK_SIZE);
789 hdrbuf.offset = 0;
790 hdrbuf.allocation = BLK_SIZE;
792 (void) cat_and_count(&hdrbuf, HDR_PREFIX);
793 (void) cat_and_count(&hdrbuf, "\n");
859 if (cat_and_count(&hdrbuf, tmp_entry)) {
893 if (cat_and_count(&hdrbuf, tmp_entry)) {
908 if (cat_and_count(&hdrbuf, "\n")) {
919 if (cat_and_count(&hdrbuf, HDR_SUFFIX) ||
920 cat_and_count(&hdrbuf, "\n")) {
927 return (&hdrbuf);