DEBUG_printf
DEBUG_printf(("httpAddrLookup(addr=%p, name=%p, namelen=%d)\n",
DEBUG_printf(("httpAddrString(addr=%p, s=%p, slen=%d)\n",
DEBUG_printf(("httpAddrString: returning \"%s\"...\n", s));
DEBUG_printf(("httpGetHostByName(name=\"%s\")\n", name));
DEBUG_printf(("httpRead: grabbing %d bytes from input buffer...\n", bytes));
DEBUG_printf(("httpRead: reading %d bytes from socket...\n", length));
DEBUG_printf(("httpRead: read %d bytes from socket...\n", bytes));
DEBUG_printf(("httpWrite: changing states from %d", http->state));
DEBUG_printf((" to %d\n", http->state));
DEBUG_printf(("httpWrite: changing states from %d", http->state));
DEBUG_printf((" to %d\n", http->state));
DEBUG_printf(("httpGets(line=%p, length=%d, http=%p)\n", line, length, http));
DEBUG_printf(("httpGets: read %d bytes...\n", bytes));
DEBUG_printf(("httpGets: recv() error %d!\n", WSAGetLastError()));
DEBUG_printf(("httpGets: recv() error %d!\n", errno));
DEBUG_printf(("httpGets: Returning \"%s\"\n", line));
DEBUG_printf(("httpPrintf: httpPrintf(http=%p, format=\"%s\", ...)\n", http, format));
DEBUG_printf(("httpPrintf: %s", buf));
DEBUG_printf(("httpUpdate(http=%p), state=%d\n", http, http->state));
DEBUG_printf(("httpUpdate: Got \"%s\"\n", line));
DEBUG_printf(("httpUpdate: unknown field %s seen!\n", line));
DEBUG_printf(("httpUpdate: socket error %d - %s\n", http->error,
DEBUG_printf(("httpGetLength(http=%p), state=%d\n", http, http->state));
DEBUG_printf(("httpGetLength: content_length=%d\n", http->data_remaining));
DEBUG_printf(("http_send(http=%p, request=HTTP_%s, uri=\"%s\")\n",
DEBUG_printf(("%s: %s\n", http_fields[i], http->fields[i]));
DEBUG_printf(("http_wait(http=%p, msec=%d)\n", http, msec));
DEBUG_printf(("http_upgrade(%p)\n", http));
DEBUG_printf(("http_setup_ssl(http=%p)\n", http));
DEBUG_printf(("httpClose(http=%p)\n", http));
DEBUG_printf(("httpConnectEncrypt(host=\"%s\", port=%d, encrypt=%d)\n",
DEBUG_printf(("httpEncryption(http=%p, e=%d)\n", http, e));
DEBUG_printf(("httpReconnect(http=%p)\n", http));
DEBUG_printf(("httpGetSubField(http=%p, field=%d, name=\"%s\", value=%p)\n",
DEBUG_printf(("httpGetSubField: name=\"%s\"\n", temp));
DEBUG_printf(("httpGetSubField: value=\"%s\"\n", value));
DEBUG_printf(("httpFlush(http=%p), state=%d\n", http, http->state));
DEBUG_printf(("httpRead(http=%p, buffer=%p, length=%d)\n",
DEBUG_printf(("httpRead: data_remaining=%d\n", http->data_remaining));
DEBUG_printf(("httpRead: reading %d bytes from socket into buffer...\n",
DEBUG_printf(("httpRead: read %d bytes from socket into buffer...\n",