| 37 | using namespace EsiLib; |
| 38 | |
| 39 | void |
| 40 | addToHeaderList(const char *strings[], HttpHeaderList &headers) |
| 41 | { |
| 42 | for (int i = 0; strings[i]; i += 2) { |
| 43 | if (i % 4 == 0) { |
| 44 | headers.push_back(HttpHeader(strings[i], -1, strings[i + 1], -1)); |
| 45 | headers.push_back(HttpHeader()); |
| 46 | } else { |
| 47 | headers.push_back(HttpHeader(strings[i], strlen(strings[i]), strings[i + 1], strlen(strings[i + 1]))); |
| 48 | } |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | extern void enableFakeDebugLog(); |
| 53 | extern string gFakeDebugLog; |
no test coverage detected