Lines Matching refs:hdr
62 char hdr[HTTPREAD_HEADER_MAX_SIZE+1]; /* headers stored here */ member
201 char *hbp = h->hdr; /* pointer into h->hdr */ in httpread_hdr_analyze()
418 hbp = h->hdr + h->hdr_nbytes; in httpread_read_handler()
465 if (!os_strncasecmp(h->hdr, "SUBSCRIBE", 9) || in httpread_read_handler()
466 !os_strncasecmp(h->hdr, "UNSUBSCRIBE", 11) || in httpread_read_handler()
467 !os_strncasecmp(h->hdr, "HEAD", 4) || in httpread_read_handler()
468 !os_strncasecmp(h->hdr, "GET", 3)) { in httpread_read_handler()
816 return h->hdr; in httpread_hdr_get()
831 char *hdr = h->hdr; in httpread_hdr_line_get() local
832 hdr = os_strchr(hdr, '\n'); in httpread_hdr_line_get()
833 if (hdr == NULL) in httpread_hdr_line_get()
835 hdr++; in httpread_hdr_line_get()
837 if (!os_strncasecmp(hdr, tag, tag_len)) { in httpread_hdr_line_get()
838 hdr += tag_len; in httpread_hdr_line_get()
839 while (*hdr == ' ' || *hdr == '\t') in httpread_hdr_line_get()
840 hdr++; in httpread_hdr_line_get()
841 return hdr; in httpread_hdr_line_get()
843 hdr = os_strchr(hdr, '\n'); in httpread_hdr_line_get()
844 if (hdr == NULL) in httpread_hdr_line_get()
846 hdr++; in httpread_hdr_line_get()