Lines Matching refs:word_eq
108 static int word_eq(char *s1, char *s2)
172 if (word_eq(hbp, "CONTENT-LENGTH:")) {
183 if (word_eq(hbp, "TRANSFER_ENCODING:") ||
184 word_eq(hbp, "TRANSFER-ENCODING:")) {
192 if (word_eq(hbp, "CHUNKED")) {
227 } else if (word_eq(hbp, "GET"))
229 else if (word_eq(hbp, "HEAD"))
231 else if (word_eq(hbp, "POST"))
233 else if (word_eq(hbp, "PUT"))
235 else if (word_eq(hbp, "DELETE"))
237 else if (word_eq(hbp, "TRACE"))
239 else if (word_eq(hbp, "CONNECT"))
241 else if (word_eq(hbp, "NOTIFY"))
243 else if (word_eq(hbp, "M-SEARCH"))
245 else if (word_eq(hbp, "M-POST"))
247 else if (word_eq(hbp, "SUBSCRIBE"))
249 else if (word_eq(hbp, "UNSUBSCRIBE"))