Lines Matching refs:hp
115 grabh(register struct header *hp, int gflags, int subjtop) in grabh() argument
132 hp->h_to = addto(NOSTR, readtty("To: ", hp->h_to)); in grabh()
133 if (hp->h_to != NOSTR) in grabh()
134 hp->h_seq++; in grabh()
137 hp->h_subject = readtty("Subject: ", hp->h_subject); in grabh()
138 if (hp->h_subject != NOSTR) in grabh()
139 hp->h_seq++; in grabh()
142 hp->h_cc = addto(NOSTR, readtty("Cc: ", hp->h_cc)); in grabh()
143 if (hp->h_cc != NOSTR) in grabh()
144 hp->h_seq++; in grabh()
147 hp->h_bcc = addto(NOSTR, readtty("Bcc: ", hp->h_bcc)); in grabh()
148 if (hp->h_bcc != NOSTR) in grabh()
149 hp->h_seq++; in grabh()
152 hp->h_subject = readtty("Subject: ", hp->h_subject); in grabh()
153 if (hp->h_subject != NOSTR) in grabh()
154 hp->h_seq++; in grabh()
466 grabh(struct header *hp, int gflags, int subjtop) in grabh() argument
498 if (!ttyset && hp->h_to != NOSTR) in grabh()
501 hp->h_to = addto(NOSTR, readtty("To: ", hp->h_to)); in grabh()
502 if (hp->h_to != NOSTR) in grabh()
503 hp->h_seq++; in grabh()
507 if (!ttyset && hp->h_subject != NOSTR) in grabh()
510 hp->h_subject = readtty("Subject: ", hp->h_subject); in grabh()
511 if (hp->h_subject != NOSTR) in grabh()
512 hp->h_seq++; in grabh()
516 if (!ttyset && hp->h_cc != NOSTR) in grabh()
519 hp->h_cc = addto(NOSTR, readtty("Cc: ", hp->h_cc)); in grabh()
520 if (hp->h_cc != NOSTR) in grabh()
521 hp->h_seq++; in grabh()
525 if (!ttyset && hp->h_bcc != NOSTR) in grabh()
528 hp->h_bcc = addto(NOSTR, readtty("Bcc: ", hp->h_bcc)); in grabh()
529 if (hp->h_bcc != NOSTR) in grabh()
530 hp->h_seq++; in grabh()
534 if (!ttyset && hp->h_subject != NOSTR) in grabh()
537 hp->h_subject = readtty("Subject: ", hp->h_subject); in grabh()
538 if (hp->h_subject != NOSTR) in grabh()
539 hp->h_seq++; in grabh()