NSG 95 sapi/aolserver/aolserver.c n = Ns_ConnWrite(NSG(conn), (void *) str, str_length); NSG 129 sapi/aolserver/aolserver.c Ns_ConnSetTypeHeader(NSG(conn), header_content); NSG 131 sapi/aolserver/aolserver.c Ns_ConnSetHeaders(NSG(conn), header_name, header_content); NSG 151 sapi/aolserver/aolserver.c Ns_ConnSetRequiredHeaders(NSG(conn), "text/html", 0); NSG 154 sapi/aolserver/aolserver.c Ns_ConnFlushHeaders(NSG(conn), SG(sapi_headers).http_response_code); NSG 170 sapi/aolserver/aolserver.c max_read = MIN(NSG(data_avail), count_bytes); NSG 172 sapi/aolserver/aolserver.c total_read = Ns_ConnRead(NSG(conn), buf, max_read); NSG 177 sapi/aolserver/aolserver.c NSG(data_avail) -= total_read; NSG 193 sapi/aolserver/aolserver.c i = Ns_SetIFind(NSG(conn->headers), "cookie"); NSG 195 sapi/aolserver/aolserver.c http_cookie = Ns_SetValue(NSG(conn->headers), i); NSG 229 sapi/aolserver/aolserver.c php_info_print_table_row(2, "HTTP Request", NSG(conn)->request->line); NSG 230 sapi/aolserver/aolserver.c for (i = 0; i < Ns_SetSize(NSG(conn)->headers); i++) { NSG 231 sapi/aolserver/aolserver.c php_info_print_table_row(2, Ns_SetKey(NSG(conn)->headers, i), Ns_SetValue(NSG(conn)->headers, i)); NSG 235 sapi/aolserver/aolserver.c for (i = 0; i < Ns_SetSize(NSG(conn)->outputheaders); i++) { NSG 236 sapi/aolserver/aolserver.c php_info_print_table_row(2, Ns_SetKey(NSG(conn)->outputheaders, i), Ns_SetValue(NSG(conn)->outputheaders, i)); NSG 267 sapi/aolserver/aolserver.c for (i = 0; i < Ns_SetSize(NSG(conn->headers)); i++) { NSG 268 sapi/aolserver/aolserver.c char *key = Ns_SetKey(NSG(conn->headers), i); NSG 269 sapi/aolserver/aolserver.c char *value = Ns_SetValue(NSG(conn->headers), i); NSG 305 sapi/aolserver/aolserver.c for(i = 0; i < Ns_SetSize(NSG(conn->headers)); i++) { NSG 306 sapi/aolserver/aolserver.c char *key = Ns_SetKey(NSG(conn->headers), i); NSG 307 sapi/aolserver/aolserver.c char *value = Ns_SetValue(NSG(conn->headers), i); NSG 326 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "HTTP/%1.1f", NSG(conn)->request->version); NSG 329 sapi/aolserver/aolserver.c ADD_STRINGX("REQUEST_METHOD", NSG(conn)->request->method); NSG 331 sapi/aolserver/aolserver.c if(NSG(conn)->request->query) NSG 332 sapi/aolserver/aolserver.c ADD_STRINGX("QUERY_STRING", NSG(conn)->request->query); NSG 336 sapi/aolserver/aolserver.c ADD_STRINGX("REMOTE_ADDR", Ns_ConnPeer(NSG(conn))); NSG 338 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%d", Ns_ConnPeerPort(NSG(conn))); NSG 341 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%d", Ns_ConnPort(NSG(conn))); NSG 344 sapi/aolserver/aolserver.c tmp = Ns_ConnHost(NSG(conn)); NSG 433 sapi/aolserver/aolserver.c server = Ns_ConnServer(NSG(conn)); NSG 436 sapi/aolserver/aolserver.c SG(request_info).query_string = safe_strdup(NSG(conn->request->query)); NSG 439 sapi/aolserver/aolserver.c Ns_UrlToFile(&ds, server, NSG(conn->request->url)); NSG 446 sapi/aolserver/aolserver.c SG(request_info).request_method = NSG(conn)->request->method; NSG 447 sapi/aolserver/aolserver.c if(NSG(conn)->request->version > 1.0) SG(request_info).proto_num = 1001; NSG 449 sapi/aolserver/aolserver.c SG(request_info).content_length = Ns_ConnContentLength(NSG(conn)); NSG 450 sapi/aolserver/aolserver.c index = Ns_SetIFind(NSG(conn)->headers, "content-type"); NSG 452 sapi/aolserver/aolserver.c Ns_SetValue(NSG(conn)->headers, index); NSG 455 sapi/aolserver/aolserver.c tmp = Ns_ConnAuthUser(NSG(conn)); NSG 460 sapi/aolserver/aolserver.c tmp = Ns_ConnAuthPasswd(NSG(conn)); NSG 465 sapi/aolserver/aolserver.c NSG(data_avail) = SG(request_info).content_length; NSG 493 sapi/aolserver/aolserver.c NSG(conn) = conn; NSG 413 sapi/continuity/capi.c char *query_string = lstFset_get(NSG(t->vars), "query"); NSG 414 sapi/continuity/capi.c char *uri = lstFset_get(NSG(t->vars), "uri"); NSG 415 sapi/continuity/capi.c char *path_info = lstFset_get(NSG(t->vars), "path-info"); NSG 416 sapi/continuity/capi.c char *path_translated = lstFset_get(NSG(t->vars), "path"); NSG 417 sapi/continuity/capi.c char *request_method = lstFset_get(NSG(t->vars), "method"); NSG 418 sapi/continuity/capi.c char *content_type = lstFset_get(NSG(t->req_hdrs), "content-type"); NSG 419 sapi/continuity/capi.c char *content_length = lstFset_get(NSG(t->req_hdrs), "content-length"); NSG 772 sapi/nsapi/nsapi.c for (i=0; i < NSG(pb)->hsize; i++) { NSG 773 sapi/nsapi/nsapi.c entry=NSG(pb)->ht[i]; NSG 786 sapi/nsapi/nsapi.c log_error(LOG_WARN, pblock_findval("fn", NSG(pb)), NSG(sn), NSG(rq), "Cannot change php.ini key \"%s\" to \"%s\"", entry->param->name, entry->param->value); NSG 207 sapi/phttpd/phttpd.c server = Ns_ConnServer(NSG(conn)); NSG 210 sapi/phttpd/phttpd.c Ns_UrlToFile(&ds, server, NSG(conn->request->url)); NSG 217 sapi/phttpd/phttpd.c SG(request_info).content_length = Ns_ConnContentLength(NSG(conn)); NSG 218 sapi/phttpd/phttpd.c index = Ns_SetIFind(NSG(conn)->headers, "content-type"); NSG 220 sapi/phttpd/phttpd.c Ns_SetValue(NSG(conn)->headers, index); NSG 222 sapi/phttpd/phttpd.c tmp = Ns_ConnAuthUser(NSG(conn)); NSG 228 sapi/phttpd/phttpd.c tmp = Ns_ConnAuthPasswd(NSG(conn)); NSG 234 sapi/phttpd/phttpd.c NSG(data_avail) = SG(request_info).content_length;