| 254 | /* ���ݱ�����ȡ�ú�������������� */ |
| 255 | |
| 256 | static HTTP_HDR_ENTRY *__get_hdr_entry(const HTTP_HDR *hh, const char *name) |
| 257 | { |
| 258 | HTTP_HDR_ENTRY *entry; |
| 259 | ACL_ITER iter; |
| 260 | |
| 261 | if (hh->entry_lnk == NULL) { |
| 262 | acl_msg_fatal("%s, %s(%d): entry_lnk null", |
| 263 | __FILE__, __FUNCTION__, __LINE__); |
| 264 | } |
| 265 | |
| 266 | acl_foreach(iter, hh->entry_lnk) { |
| 267 | entry = (HTTP_HDR_ENTRY *) iter.data; |
| 268 | if (strcasecmp(name, entry->name) == 0) |
| 269 | return (entry); |
| 270 | } |
| 271 | |
| 272 | return NULL; |
| 273 | } |
| 274 | |
| 275 | HTTP_HDR_ENTRY *http_hdr_entry(const HTTP_HDR *hh, const char *name) |
| 276 | { |
no test coverage detected
searching dependent graphs…