Lines Matching defs:hdrbuf
150 static struct dm_buf hdrbuf;
588 pinput = hdrbuf.text_buffer;
781 if ((hdrbuf.text_buffer = (char *)malloc(BLK_SIZE)) == NULL) {
788 (void) memset(hdrbuf.text_buffer, '\0', BLK_SIZE);
791 hdrbuf.offset = 0;
792 hdrbuf.allocation = BLK_SIZE;
794 (void) cat_and_count(&hdrbuf, HDR_PREFIX);
795 (void) cat_and_count(&hdrbuf, "\n");
862 if (cat_and_count(&hdrbuf, tmp_entry)) {
887 if (cat_and_count(&hdrbuf, tmp_entry)) {
902 if (cat_and_count(&hdrbuf, "\n")) {
913 if (cat_and_count(&hdrbuf, HDR_SUFFIX) ||
914 cat_and_count(&hdrbuf, "\n")) {
921 return (&hdrbuf);