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 272 sapi/aolserver/aolserver.c for (i = 0; i < Ns_SetSize(NSG(conn->headers)); i++) { NSG 273 sapi/aolserver/aolserver.c char *key = Ns_SetKey(NSG(conn->headers), i); NSG 274 sapi/aolserver/aolserver.c char *value = Ns_SetValue(NSG(conn->headers), i); NSG 310 sapi/aolserver/aolserver.c for(i = 0; i < Ns_SetSize(NSG(conn->headers)); i++) { NSG 311 sapi/aolserver/aolserver.c char *key = Ns_SetKey(NSG(conn->headers), i); NSG 312 sapi/aolserver/aolserver.c char *value = Ns_SetValue(NSG(conn->headers), i); NSG 331 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "HTTP/%1.1f", NSG(conn)->request->version); NSG 334 sapi/aolserver/aolserver.c ADD_STRINGX("REQUEST_METHOD", NSG(conn)->request->method); NSG 336 sapi/aolserver/aolserver.c if(NSG(conn)->request->query) NSG 337 sapi/aolserver/aolserver.c ADD_STRINGX("QUERY_STRING", NSG(conn)->request->query); NSG 341 sapi/aolserver/aolserver.c ADD_STRINGX("REMOTE_ADDR", Ns_ConnPeer(NSG(conn))); NSG 343 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%d", Ns_ConnPeerPort(NSG(conn))); NSG 346 sapi/aolserver/aolserver.c snprintf(buf, NS_BUF_SIZE, "%d", Ns_ConnPort(NSG(conn))); NSG 349 sapi/aolserver/aolserver.c tmp = Ns_ConnHost(NSG(conn)); NSG 439 sapi/aolserver/aolserver.c server = Ns_ConnServer(NSG(conn)); NSG 442 sapi/aolserver/aolserver.c SG(request_info).query_string = safe_strdup(NSG(conn->request->query)); NSG 445 sapi/aolserver/aolserver.c Ns_UrlToFile(&ds, server, NSG(conn->request->url)); NSG 452 sapi/aolserver/aolserver.c SG(request_info).request_method = NSG(conn)->request->method; NSG 453 sapi/aolserver/aolserver.c if(NSG(conn)->request->version > 1.0) SG(request_info).proto_num = 1001; NSG 455 sapi/aolserver/aolserver.c SG(request_info).content_length = Ns_ConnContentLength(NSG(conn)); NSG 456 sapi/aolserver/aolserver.c index = Ns_SetIFind(NSG(conn)->headers, "content-type"); NSG 458 sapi/aolserver/aolserver.c Ns_SetValue(NSG(conn)->headers, index); NSG 461 sapi/aolserver/aolserver.c tmp = Ns_ConnAuthUser(NSG(conn)); NSG 466 sapi/aolserver/aolserver.c tmp = Ns_ConnAuthPasswd(NSG(conn)); NSG 471 sapi/aolserver/aolserver.c NSG(data_avail) = SG(request_info).content_length; NSG 499 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 850 sapi/nsapi/nsapi.c for (i=0; i < NSG(pb)->hsize; i++) { NSG 851 sapi/nsapi/nsapi.c entry=NSG(pb)->ht[i]; NSG 864 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 203 sapi/phttpd/phttpd.c server = Ns_ConnServer(NSG(conn)); NSG 206 sapi/phttpd/phttpd.c Ns_UrlToFile(&ds, server, NSG(conn->request->url)); NSG 213 sapi/phttpd/phttpd.c SG(request_info).content_length = Ns_ConnContentLength(NSG(conn)); NSG 214 sapi/phttpd/phttpd.c index = Ns_SetIFind(NSG(conn)->headers, "content-type"); NSG 216 sapi/phttpd/phttpd.c Ns_SetValue(NSG(conn)->headers, index); NSG 218 sapi/phttpd/phttpd.c tmp = Ns_ConnAuthUser(NSG(conn)); NSG 224 sapi/phttpd/phttpd.c tmp = Ns_ConnAuthPasswd(NSG(conn)); NSG 230 sapi/phttpd/phttpd.c NSG(data_avail) = SG(request_info).content_length;