coar 99/03/06 10:19:15
Modified: apidoc api-dict.html api.list dict-ap_acquire_mutex.html dict-ap_destroy_pool.html mkapidict Added: apidoc dict-ACCESS_CONF.html dict-AP_MD5_CTX.html dict-BUFF.html dict-DECLINED.html dict-DONE.html dict-FLAG.html dict-HARD_SERVER_LIMIT.html dict-HTTP_ACCEPTED.html dict-HTTP_BAD_GATEWAY.html dict-HTTP_BAD_REQUEST.html dict-HTTP_CONFLICT.html dict-HTTP_CONTINUE.html dict-HTTP_CREATED.html dict-HTTP_FORBIDDEN.html dict-HTTP_GATEWAY_TIME_OUT.html dict-HTTP_GONE.html dict-HTTP_INTERNAL_SERVER_ERROR.html dict-HTTP_LENGTH_REQUIRED.html dict-HTTP_METHOD_NOT_ALLOWED.html dict-HTTP_MOVED_PERMANENTLY.html dict-HTTP_MOVED_TEMPORARILY.html dict-HTTP_MULTIPLE_CHOICES.html dict-HTTP_NON_AUTHORITATIVE.html dict-HTTP_NOT_ACCEPTABLE.html dict-HTTP_NOT_FOUND.html dict-HTTP_NOT_IMPLEMENTED.html dict-HTTP_NOT_MODIFIED.html dict-HTTP_NO_CONTENT.html dict-HTTP_OK.html dict-HTTP_PARTIAL_CONTENT.html dict-HTTP_PAYMENT_REQUIRED.html dict-HTTP_PRECONDITION_FAILED.html dict-HTTP_PROXY_AUTHENTICATION_REQUIRED.html dict-HTTP_REQUEST_ENTITY_TOO_LARGE.html dict-HTTP_REQUEST_TIME_OUT.html dict-HTTP_REQUEST_URI_TOO_LARGE.html dict-HTTP_RESET_CONTENT.html dict-HTTP_SEE_OTHER.html dict-HTTP_SERVICE_UNAVAILABLE.html dict-HTTP_SWITCHING_PROTOCOLS.html dict-HTTP_UNAUTHORIZED.html dict-HTTP_UNSUPPORTED_MEDIA_TYPE.html dict-HTTP_USE_PROXY.html dict-HTTP_VARIANT_ALSO_VARIES.html dict-HTTP_VERSION_NOT_SUPPORTED.html dict-ITERATE.html dict-ITERATE2.html dict-MAX_STRING_LEN.html dict-MODULE_MAGIC_NUMBER.html dict-MULTI_ERR.html dict-MULTI_OK.html dict-MULTI_TIMEOUT.html dict-M_CONNECT.html dict-M_DELETE.html dict-M_GET.html dict-M_INVALID.html dict-M_OPTIONS.html dict-M_POST.html dict-M_PUT.html dict-M_TRACE.html dict-NO_ARGS.html dict-OK.html dict-OR_AUTHCFG.html dict-OR_FILEINFO.html dict-OR_INDEXES.html dict-OR_LIMIT.html dict-OR_OPTIONS.html dict-RAW_ARGS.html dict-RSRC_CONF.html dict-SERVER_BUSY_DNS.html dict-SERVER_BUSY_KEEPALIVE.html dict-SERVER_BUSY_LOG.html dict-SERVER_BUSY_READ.html dict-SERVER_BUSY_WRITE.html dict-SERVER_DEAD.html dict-SERVER_GRACEFUL.html dict-SERVER_NUM_STATUS.html dict-SERVER_READY.html dict-SERVER_STARTING.html dict-SERVER_SUPPORT.html dict-SERVER_VERSION.html dict-START_PREQUEST.html dict-STOP_PREQUEST.html dict-TAKE1.html dict-TAKE12.html dict-TAKE123.html dict-TAKE13.html dict-TAKE2.html dict-TAKE23.html dict-TAKE3.html dict-ap_MD5Final.html dict-ap_MD5Init.html dict-ap_MD5Update.html dict-ap_add_cgi_vars.html dict-ap_add_common_vars.html dict-ap_add_loaded_module.html dict-ap_add_module.html dict-ap_add_named_module.html dict-ap_add_per_dir_conf.html dict-ap_add_per_url_conf.html dict-ap_allow_options.html dict-ap_allow_overrides.html dict-ap_append_arrays.html dict-ap_array_cat.html dict-ap_auth_name.html dict-ap_auth_type.html dict-ap_basic_http_header.html dict-ap_bclose.html dict-ap_bcreate.html dict-ap_bfilbuf.html dict-ap_bfileno.html dict-ap_bflsbuf.html dict-ap_bflush.html dict-ap_bgetopt.html dict-ap_bgets.html dict-ap_bhalfduplex.html dict-ap_block_alarms.html dict-ap_blookc.html dict-ap_bnonblock.html dict-ap_bonerror.html dict-ap_bprintf.html dict-ap_bpushfd.html dict-ap_bputs.html dict-ap_bread.html dict-ap_bsetflag.html dict-ap_bsetopt.html dict-ap_bskiplf.html dict-ap_bvputs.html dict-ap_bwrite.html dict-ap_bytes_in_free_blocks.html dict-ap_bytes_in_pool.html dict-ap_call_exec.html dict-ap_can_exec.html dict-ap_cfg_closefile.html dict-ap_cfg_getc.html dict-ap_cfg_getline.html dict-ap_chdir_file.html dict-ap_check_access.html dict-ap_check_alarm.html dict-ap_check_auth.html dict-ap_check_cmd_context.html dict-ap_check_user_id.html dict-ap_checkmask.html dict-ap_child_exit_modules.html dict-ap_child_init_modules.html dict-ap_child_terminate.html dict-ap_cleanup_for_exec.html dict-ap_clear_module_list.html dict-ap_clear_pool.html dict-ap_clear_table.html dict-ap_close_piped_log.html dict-ap_construct_server.html dict-ap_construct_url.html dict-ap_content_type_tolower.html dict-ap_copy_array.html dict-ap_copy_array_hdr.html dict-ap_copy_table.html dict-ap_core_reorder_directories.html dict-ap_count_dirs.html dict-ap_create_environment.html dict-ap_create_mutex.html dict-ap_create_per_dir_config.html dict-ap_create_request_config.html dict-ap_day_snames.html dict-ap_default_port_for_request.html dict-ap_default_port_for_scheme.html dict-ap_default_type.html dict-ap_destroy_mutex.html dict-ap_destroy_sub_req.html dict-ap_die.html dict-ap_discard_request_body.html dict-ap_document_root.html dict-ap_each_byterange.html dict-ap_error_log2stderr.html dict-ap_escape_html.html dict-ap_escape_path.html dict-ap_escape_path_segment.html dict-ap_escape_quotes.html dict-ap_escape_shell_cmd.html dict-ap_exists_scoreboard_image.html dict-ap_finalize_request_protocol.html dict-ap_finalize_sub_req_protocol.html dict-ap_find_command.html dict-ap_find_command_in_modules.html dict-ap_find_last_token.html dict-ap_find_linked_module.html dict-ap_find_module_name.html dict-ap_find_path_info.html dict-ap_find_pool.html dict-ap_find_token.html dict-ap_find_types.html dict-ap_fini_vhost_config.html dict-ap_fnmatch.html dict-ap_force_library_loading.html dict-ap_get_basic_auth_pw.html dict-ap_get_client_block.html dict-ap_get_gmtoff.html dict-ap_get_local_host.html dict-ap_get_module_config.html dict-ap_get_remote_host.html dict-ap_get_remote_logname.html dict-ap_get_server_built.html dict-ap_get_server_name.html dict-ap_get_server_port.html dict-ap_get_server_version.html dict-ap_get_time.html dict-ap_get_token.html dict-ap_get_virthost_addr.html dict-ap_getparents.html dict-ap_getword.html dict-ap_getword_conf.html dict-ap_getword_conf_nc.html dict-ap_getword_nc.html dict-ap_getword_nulls.html dict-ap_getword_nulls_nc.html dict-ap_getword_white.html dict-ap_getword_white_nc.html dict-ap_gm_timestr_822.html dict-ap_gname2id.html dict-ap_handle_command.html dict-ap_hard_timeout.html dict-ap_header_parse.html dict-ap_ht_time.html dict-ap_ind.html dict-ap_index_of_response.html dict-ap_init_alloc.html dict-ap_init_modules.html dict-ap_init_vhost_config.html dict-ap_init_virtual_host.html dict-ap_internal_redirect.html dict-ap_internal_redirect_handler.html dict-ap_invoke_handler.html dict-ap_is_directory.html dict-ap_is_fnmatch.html dict-ap_is_initial_req.html dict-ap_is_matchexp.html dict-ap_is_url.html dict-ap_keepalive_timeout.html dict-ap_kill_cleanup.html dict-ap_kill_cleanups_for_fd.html dict-ap_kill_cleanups_for_socket.html dict-ap_kill_timeout.html dict-ap_limit_section.html dict-ap_log_error.html dict-ap_log_error_old.html dict-ap_log_pid.html dict-ap_log_printf.html dict-ap_log_reason.html dict-ap_log_transaction.html dict-ap_log_unixerr.html dict-ap_make_array.html dict-ap_make_dirstr.html dict-ap_make_dirstr_parent.html dict-ap_make_dirstr_prefix.html dict-ap_make_full_path.html dict-ap_make_table.html dict-ap_matches_request_vhost.html dict-ap_md5.html dict-ap_md5context.html dict-ap_md5contextTo64.html dict-ap_md5digest.html dict-ap_meets_conditions.html dict-ap_merge_per_dir_configs.html dict-ap_month_snames.html dict-ap_no2slash.html dict-ap_note_auth_failure.html dict-ap_note_basic_auth_failure.html dict-ap_note_cleanups_for_fd.html dict-ap_note_cleanups_for_file.html dict-ap_note_cleanups_for_socket.html dict-ap_note_digest_auth_failure.html dict-ap_note_subprocess.html dict-ap_null_cleanup.html dict-ap_open_logs.html dict-ap_open_mutex.html dict-ap_open_piped_log.html dict-ap_os_canonical_filename.html dict-ap_os_is_path_absolute.html dict-ap_overlay_tables.html dict-ap_palloc.html dict-ap_parseHTTPdate.html dict-ap_parse_hostinfo_components.html dict-ap_parse_htaccess.html dict-ap_parse_uri.html dict-ap_parse_uri_components.html dict-ap_parse_vhost_addrs.html dict-ap_pcalloc.html dict-ap_pcfg_open_custom.html dict-ap_pcfg_openfile.html dict-ap_pclosedir.html dict-ap_pclosef.html dict-ap_pclosesocket.html dict-ap_pduphostent.html dict-ap_pfclose.html dict-ap_pfdopen.html dict-ap_pfopen.html dict-ap_pool_is_ancestor.html dict-ap_pool_join.html dict-ap_popendir.html dict-ap_popenf.html dict-ap_pregcomp.html dict-ap_pregfree.html dict-ap_pregsub.html dict-ap_process_request.html dict-ap_process_resource_config.html dict-ap_psignature.html dict-ap_psocket.html dict-ap_psprintf.html dict-ap_pstrcat.html dict-ap_pstrdup.html dict-ap_pstrndup.html dict-ap_push_array.html dict-ap_pvsprintf.html dict-ap_rationalize_mtime.html dict-ap_read_config.html dict-ap_read_request.html dict-ap_register_cleanup.html dict-ap_register_other_child.html dict-ap_remove_loaded_module.html dict-ap_remove_module.html dict-ap_requires.html dict-ap_reset_timeout.html dict-ap_response_code_string.html dict-ap_restart_time.html dict-ap_rfc1413.html dict-ap_rflush.html dict-ap_rind.html dict-ap_rprintf.html dict-ap_rputc.html dict-ap_rputs.html dict-ap_run_cleanup.html dict-ap_run_fixups.html dict-ap_run_post_read_request.html dict-ap_run_sub_req.html dict-ap_rvputs.html dict-ap_rwrite.html dict-ap_satisfies.html dict-ap_scan_script_header_err.html dict-ap_scan_script_header_err_buff.html dict-ap_scoreboard_image.html dict-ap_send_error_response.html dict-ap_send_fb.html dict-ap_send_fb_length.html dict-ap_send_fd.html dict-ap_send_fd_length.html dict-ap_send_header_field.html dict-ap_send_http_header.html dict-ap_send_http_options.html dict-ap_send_http_trace.html dict-ap_send_mmap.html dict-ap_send_size.html dict-ap_server_argv0.html dict-ap_server_root.html dict-ap_server_root_relative.html dict-ap_set_byterange.html dict-ap_set_callback_and_alarm.html dict-ap_set_content_length.html dict-ap_set_etag.html dict-ap_set_file_slot.html dict-ap_set_flag_slot.html dict-ap_set_keepalive.html dict-ap_set_last_modified.html dict-ap_set_module_config.html dict-ap_set_name_virtual_host.html dict-ap_set_string_slot.html dict-ap_set_string_slot_lower.html dict-ap_set_sub_req_protocol.html dict-ap_setup_client_block.html dict-ap_setup_prelinked_modules.html dict-ap_should_client_block.html dict-ap_show_directives.html dict-ap_show_modules.html dict-ap_snprintf.html dict-ap_soft_timeout.html dict-ap_some_auth_required.html dict-ap_spawn_child_err.html dict-ap_spawn_child_err_buff.html dict-ap_srm_command_loop.html dict-ap_start_restart.html dict-ap_start_shutdown.html dict-ap_str_tolower.html dict-ap_strcasecmp_match.html dict-ap_strcmp_match.html dict-ap_sub_req_lookup_file.html dict-ap_sub_req_lookup_uri.html dict-ap_suexec_enabled.html dict-ap_sync_scoreboard_image.html dict-ap_table_add.html dict-ap_table_addn.html dict-ap_table_do.html dict-ap_table_get.html dict-ap_table_merge.html dict-ap_table_mergen.html dict-ap_table_set.html dict-ap_table_setn.html dict-ap_table_unset.html dict-ap_time_process_request.html dict-ap_tm2sec.html dict-ap_translate_name.html dict-ap_uname2id.html dict-ap_unblock_alarms.html dict-ap_unescape_url.html dict-ap_unparse_uri_components.html dict-ap_unregister_other_child.html dict-ap_update_child_status.html dict-ap_update_mtime.html dict-ap_update_vhost_from_headers.html dict-ap_update_vhost_given_ip.html dict-ap_util_init.html dict-ap_util_uri_init.html dict-ap_uudecode.html dict-ap_vbprintf.html dict-ap_vformatter.html dict-ap_vformatter_buff.html dict-ap_vsnprintf.html dict-ap_wait_t.html dict-array_header.html dict-cmd_how.html dict-cmd_parms.html dict-command_rec.html dict-configfile_t.html dict-conn_rec.html dict-core_module.html dict-global_score.html dict-is_HTTP_CLIENT_ERROR.html dict-is_HTTP_ERROR.html dict-is_HTTP_INFO.html dict-is_HTTP_REDIRECT.html dict-is_HTTP_SERVER_ERROR.html dict-is_HTTP_SUCCESS.html dict-kill_conditions.html dict-module.html dict-mutex.html dict-parent_score.html dict-piped_log.html dict-pool.html dict-regex_t.html dict-regmatch_t.html dict-request_rec.html dict-scoreboard.html dict-server_rec.html dict-short_score.html dict-status_drops_connection.html dict-table.html dict-top_module.html dict-uri_components.html dict-vtime_t.html Log: A massive, mighty update from Chuck Murcko. Submitted by: Chuck Murcko Revision Changes Path 1.2 +2 -2 apache-devsite/apidoc/api-dict.html Index: api-dict.html =================================================================== RCS file: /home/cvs/apache-devsite/apidoc/api-dict.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- api-dict.html 1998/05/03 19:48:41 1.1 +++ api-dict.html 1999/03/06 18:16:23 1.2 @@ -18,8 +18,8 @@ </H1> <BLOCKQUOTE> <STRONG> - This file is very much under construction. You should not take - anything you find in it at face value. + This file is <!--very much--> under construction. <!--You should not take + anything you find in it at face value.--> </STRONG> </BLOCKQUOTE> <!-- DO NOT EDIT BELOW THIS LINE. The contents of this file between --> 1.8 +805 -568 apache-devsite/apidoc/api.list Index: api.list =================================================================== RCS file: /home/cvs/apache-devsite/apidoc/api.list,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- api.list 1998/06/10 11:55:48 1.7 +++ api.list 1999/03/06 18:16:23 1.8 @@ -45,7 +45,18 @@ #; The special tag '$*' will be replaced wherever it occurs in a record #; with the name of the entity being defined. #; +#; NOTE: current version won't allow comments at the end of the +#; doc file line if $* is used in the doc filename. #; +#; Example entry: +#; +#; R|ap_add_version_component\ +#; |void $*(const char *component);\ #; Definition +#; |/*\n * Called during modules-init phase\n */\n$*("MyMod/1.0");\ #; Example +#; |SA-identity\ #; Cross-references +#; |dict-$*.html #; Entity documentation HTML file +#; +#; #; Symbols related to how the server identifies itself #; X|SA-identity\ @@ -55,30 +66,30 @@ |\ | R|ap_add_version_component\ - |void $*(const char *component);\ #; Definition - |/*\n * Called during modules-init phase\n */\n$*("MyMod/1.0");\ #; Example - |SA-identity\ #; Cross-references - |dict-ap_add_version_component.html #; Entity documentation HTML file + |void $*(const char *component);\ + |/*\n * Called during modules-init phase\n */\n$*("MyMod/1.0");\ + |SA-identity\ + |dict-$*.html R|ap_get_server_built\ - |char *$*(void);\ #; Definition - |char *string;\nstring = $*();\ #; Examples - |SA-identity\ #; Cross-references - | #; Entity documentation HTML file -R|ap_get_server_name\ |char *$*(void);\ |char *string;\nstring = $*();\ |SA-identity\ - | + |dict-$*.html +R|ap_get_server_name\ + |char *$*(const request_rec *r);\ + |char *string;\nstring = $*();\ + |SA-identity\ + |dict-$*.html R|ap_get_server_version\ |char *$*(void);\ |char *string;\nstring = $*();\ |SA-identity\ - | + |dict-$*.html #; #; Stuff related to the module structure #; X|SA-module\ - |core_module,top_module,module,ap_add_module,ap_add_named_module\ + |core_module,top_module,module,ap_add_module,ap_add_named_module,ap_add_loaded_module,ap_remove_module,ap_remove_loaded_module\ |\ |\ | @@ -121,11 +132,11 @@ void (*child_exit) (server_rec *s, pool *p); \n \ #endif \n \ int (*post_read_request) (request_rec *)r; \n \ -} module; \ +} $*; \ |\ $* *mpointer; \n \ <EM>or</EM> \n \ -module action_module = \n \ +$* action_module = \n \ { \n \ STANDARD_MODULE_STUFF, \n \ NULL, /* initializer */ \n \ @@ -148,60 +159,101 @@ NULL /* post read-request */ \n \ }; \ |SA-module\ - | + |dict-$*.html R|ap_add_module\ |void $*(module *m);\ - |\ + |module mod; \n$*(mod);\ |SA-module\ | +R|ap_add_loaded_module\ + |void $*(module *m);\ + |module mod; \n$*(mod);\ + |SA-module\ + | R|ap_add_named_module\ |int $*(const char *name);\ - |\ + |char *modname; \nint result; \nresult = $*(modname);\ |SA-module\ | D|core_module\ |module $* {<EM>module-specific-info</EM>};\ - |\ + |module $* = { \n \ + STANDARD_MODULE_STUFF, \n \ + NULL, /* initializer */ \n \ + create_core_dir_config, /* create per-directory config structure */ \n \ + merge_core_dir_configs, /* merge per-directory config structures */ \n \ + create_core_server_config, /* create per-server config structure */ \n \ + merge_core_server_configs, /* merge per-server config structures */ \n \ + core_cmds, /* command table */ \n \ + core_handlers, /* handlers */ \n \ + core_translate, /* translate_handler */ \n \ + NULL, /* check_user_id */ \n \ + NULL, /* check auth */ \n \ + do_nothing, /* check access */ \n \ + do_nothing, /* type_checker */ \n \ + NULL, /* pre-run fixups */ \n \ + NULL, /* logger */ \n \ + NULL, /* header parser */ \n \ + NULL, /* child_init */ \n \ + NULL, /* child_exit */ \n \ + NULL /* post_read_request */ \n \ +}; \ |SA-module\ - | + |dict-$*.html D|top_module\ |module *$*;\ - |\ + |module *$* = NULL; \n \ +module *modp, *first; \n \ + ...determine modules to load and order of module list... \n \ +$* = first; \n \ +\n \ +for (modp = $*; modp; modp = modp->next) { \n \ + ...do some per directory config processing... \n \ +} \ |SA-module\ - | + |dict-$*.html #; #; Miscellaneous data cells #; D|ap_day_snames\ |const char $*[7][4];\ - |\ + |if (strcmp(week, $*[wk]) == 0)\nbreak; \ |\ - | + |dict-$*.html D|ap_month_snames\ |const char $*[12][4];\ - |\ + |if (strcmp(month, $*[mon]) == 0)\nbreak;\ |\ - | + |dict-$*.html D|ap_restart_time\ |time_t $*;\ - |\ + | time_t nowtime = time(NULL); \n \ + time_t up_time; \n \ + up_time = nowtime - $*; \ |\ - | + |dict-$*.html D|ap_server_argv0\ |char *$*;\ - |\ + |extern char *$*; \n$* = argv[0];\ |\ - | + |dict-$*.html D|ap_server_root\ |char $*[MAX_STRING_LEN];\ - |\ + |extern char $*[MAX_STRING_LEN]; \n \ +ap_cpystrn(ap_coredump_dir, $*, sizeof(ap_coredump_dir)); \ |\ - | + |dict-$*.html D|ap_suexec_enabled\ |int $*;\ - |\ + |extern int $*; \n \ +if (ap_suexec_enabled) { \n \ + ...processing for module using suexec features... \n \ +} \n \ +else { \n \ + ...processing for module not using suexec features... \n \ +} \ |\ - | + |dict-$*.html #; #; MD5 digesting functions #; @@ -267,27 +319,31 @@ elements.\ |$* <EM>identifier</EM>\ |\ - | + |dict-$*.html R|ap_acquire_mutex\ |int $*(mutex *mutex_id);\ - |\ + |static mutex *alloc_mutex = NULL; \n \ +(void) $*(alloc_mutex);\ |SA-mutex,SA-multi\ - |dict-ap_acquire_mutex.html + |dict-$*.html R|ap_create_mutex\ |mutex *$*(char *name);\ - |\ + |static mutex *alloc_mutex = NULL; \n \ +alloc_mutex = $*(NULL);\ |SA-mutex\ - | + |dict-$*.html R|ap_destroy_mutex\ |void $*(mutex *mutex_id);\ - |\ + |static mutex *start_mutex = NULL; \n \ +$*(start_mutex);\ |SA-mutex\ - | + |dict-$*.html R|ap_open_mutex\ |mutex *$*(char *name);\ - |\ + |static mutex *start_mutex = NULL; \n \ +start_mutex = $*(NULL);\ |SA-mutex\ - | + |dict-$*.html #; #; Stuff for the scoreboard #; @@ -303,74 +359,104 @@ | C|SERVER_DEAD\ |#define $* <EM>value</EM>\ - |\ + |switch (score_record.status) {\ncase $*: \n \ +ap_rputs("Dead", r); \n \ +break;\n}\ |SA-scoreboard\ - | + |dict-$*.html C|SERVER_STARTING\ |#define $* <EM>value</EM>\ - |\ + |switch (score_record.status) {\ncase $*: \n \ +ap_rputs("Starting", r); \n \ +break;\n}\ |SA-scoreboard\ - | + |dict-$*.html C|SERVER_READY\ |#define $* <EM>value</EM>\ - |\ + |switch (score_record.status) {\ncase $*: \n \ +ap_rputs("Ready", r); \n \ +break;\n}\ |SA-scoreboard\ - | + |dict-$*.html C|SERVER_BUSY_READ\ |#define $* <EM>value</EM>\ - |\ + |switch (score_record.status) {\ncase $*: \n \ +ap_rputs("<b>Read</b>", r); \n \ +break;\n}\ |SA-scoreboard\ - | + |dict-$*.html C|SERVER_BUSY_WRITE\ |#define $* <EM>value</EM>\ - |\ + |switch (score_record.status) {\ncase $*: \n \ +ap_rputs("<b>Write</b>", r); \n \ +break;\n}\ |SA-scoreboard\ - | + |dict-$*.html C|SERVER_BUSY_KEEPALIVE\ |#define $* <EM>value</EM>\ - |\ + |switch (score_record.status) {\ncase $*: \n \ +ap_rputs("<b>Keepalive</b>", r); \n \ +break;\n}\ |SA-scoreboard\ - | + |dict-$*.html C|SERVER_BUSY_LOG\ |#define $* <EM>value</EM>\ - |\ + |switch (score_record.status) {\ncase $*: \n \ +ap_rputs("<b>Logging</b>", r); \n \ +break;\n}\ |SA-scoreboard\ - | + |dict-$*.html C|SERVER_BUSY_DNS\ |#define $* <EM>value</EM>\ - |\ + |switch (score_record.status) {\ncase $*: \n \ +ap_rputs("<b>DNS lookup</b>", r); \n \ +break;\n}\ |SA-scoreboard\ - | + |dict-$*.html C|SERVER_GRACEFUL\ |#define $* <EM>value</EM>\ - |\ + |switch (score_record.status) {\ncase $*: \n \ +ap_rputs("Graceful", r); \n \ +break;\n}\ |SA-scoreboard\ - | + |dict-$*.html C|SERVER_NUM_STATUS\ |#define $* <EM>value</EM>\ - |\ + |if (score_record.status < $*)\nreturn OK;\ |SA-scoreboard\ - | + |dict-$*.html C|START_PREQUEST\ |#define $* <EM>value</EM>\ - |\ + |if (status == $*) {\n...deal with request start time...\n}\ |SA-scoreboard\ - | + |dict-$*.html C|STOP_PREQUEST\ |#define $* <EM>value</EM>\ - |\ + |if (status == $*) {\n...deal with request stop time...\n}\ |SA-scoreboard\ - | + |dict-$*.html D|ap_scoreboard_image\ |extern scoreboard *$*;\ - |\ + |$*->global.exit_generation = 0;\ |SA-scoreboard\ - | + |dict-$*.html S|vtime_t\ |typedef unsigned vtime_t;\ - |\ + |short_score *ss; \n \ +parent_score *ps = &ap_scoreboard_image->parent[i]; \n \ +if (ss->cur_vtime != ps->last_vtime) { \n \ + /* it has made progress, so update its last_rtime, \n \ + * last_vtime */ \n \ + ps->last_rtime = now; \n \ + ps->last_vtime = ss->cur_vtime; \n \ +} \n \ +else if (ps->last_rtime + ss->timeout_len < now) { \n \ + /* no progress, and the timeout length has been exceeded */ \n \ + ss->timeout_len = 0; \n \ + kill(ps->pid, SIGALRM); \n \ +} \ |SA-scoreboard\ - | + |dict-$*.html #; #; Here comes another bunch of confusing multi-line definitions.. #; @@ -382,16 +468,23 @@ vtime_t last_vtime; \n \ #endif \n \ } $*;\ - |\ + |$* ps_record; \n \ +for (i = 0; i < HARD_SERVER_LIMIT; ++i) { \n \ + ps_record = ap_scoreboard_image->parent[i]; \n \ +} \ |SA-scoreboard\ - | + |dict-$*.html S|global_score\ |typedef struct { \n \ int exit_generation; \n \ } $*;\ - |\ + |typedef struct { \n \ + short_score servers[HARD_SERVER_LIMIT]; \n \ + parent_score parent[HARD_SERVER_LIMIT]; \n \ + $* global; \n \ +} scoreboard; \ |SA-scoreboard\ - | + |dict-$*.html S|short_score\ |typedef struct { \n \ #ifdef OPTIMIZE_TIMEOUTS \n \ @@ -426,7 +519,7 @@ } $*;\ |\ |SA-scoreboard\ - | + |dict-$*.html S|scoreboard\ |typedef struct { \n \ short_score servers[HARD_SERVER_LIMIT]; \n \ @@ -435,14 +528,14 @@ } $*;\ |\ |SA-scoreboard\ - | + |dict-$*.html R|ap_sync_scoreboard_image\ - |\ - |\ + |void $*(void);\ + |$*();\ |SA-scoreboard\ | R|ap_exists_scoreboard_image\ - |\ + |int $*(void);\ |\ |SA-scoreboard\ | @@ -505,6 +598,14 @@ |\ |\ | +#; +#; Core records and data structures +#; +X|SA-core-rec\ + |conn_rec,request_rec,server_rec,cmd_parms,command_rec,BUFF,uri_components\ + |\ + |\ + |dict-$*.html S|conn_rec\ |typedef struct conn_rec conn_rec; \n \ struct conn_rec { \n \ @@ -527,8 +628,8 @@ signed int double_reverse:2; \n \ int keepalives; \n \ };\ - |\ |\ + |SA-core-rec\ | S|regex_t\ |typedef struct { \n \ @@ -541,9 +642,11 @@ |\ | S|regmatch_t\ + |typedef struct {\nregoff_t rm_so; // start of match \n \ +regoff_t rm_eo; // end of match \n \ +} regmatch_t; \ |\ |\ - |\ | S|request_rec\ |typedef struct request_rec request_rec; \n \ @@ -602,13 +705,64 @@ void *request_config; \n \ const struct htaccess_result *htaccess; \n \ };\ - |\ |\ + |SA-core-rec\ | S|server_rec\ - |\ - |\ + |struct server_rec { \n \ + \n \ + server_rec *next; \n \ + \n \ + /* description of where the definition came from */ \n \ + const char *defn_name; \n \ + unsigned defn_line_number; \n \ + \n \ + /* Full locations of server config info */ \n \ + \n \ + char *srm_confname; \n \ + char *access_confname; \n \ + \n \ + /* Contact information */ \n \ + \n \ + char *server_admin; \n \ + char *server_hostname; \n \ + unsigned short port; /* for redirects, etc. */ \n \ + \n \ + /* Log files --- note that transfer log is now in the modules... */ \n \ + \n \ + char *error_fname; \n \ + FILE *error_log; \n \ + int loglevel; \n \ + \n \ + /* Module-specific configuration for server, and defaults... */ \n \ + \n \ + int is_virtual; /* true if this is the virtual server */ \n \ + void *module_config; /* Config vector containing pointers to \n \ + * modules' per-server config structures. \n \ + */ \n \ + void *lookup_defaults; /* MIME type info, etc., before we start \n \ + * checking per-directory info. \n \ + */ \n \ + /* Transaction handling */ \n \ + \n \ + server_addr_rec *addrs; \n \ + int timeout; /* Timeout, in seconds, before we give up */ \n \ + int keep_alive_timeout; /* Seconds we'll wait for another request */ \n \ + int keep_alive_max; /* Maximum requests per connection */ \n \ + int keep_alive; /* Use persistent connections? */ \n \ + int send_buffer_size; /* size of TCP send buffer (in bytes) */ \n \ + \n \ + char *path; /* Pathname for ServerPath */ \n \ + int pathlen; /* Length of path */ \n \ + \n \ + array_header *names; /* Normal names for ServerAlias servers */ \n \ + array_header *wild_names; /* Wildcarded names for ServerAlias servers */ \n \ + \n \ + uid_t server_uid; /* effective user id when calling exec wrapper */ \n \ + gid_t server_gid; /* effective group id when calling exec wrapper */ \n \ +}; \ |\ + |SA-core-rec\ | S|BUFF\ |typedef struct buff_struct $*; \n \ @@ -633,8 +787,8 @@ Sfio_t *sf_out; \n \ #endif \n \ };\ - |\ |\ + |SA-core-rec\ | S|cmd_parms\ |typedef struct { \n \ @@ -650,10 +804,10 @@ const char *end_token; \n \ } $*;\ |\ - |\ + |SA-core-rec\ | S|command_rec\ - |typedef struct $* {\n \ + |typedef struct command_struct {\n \ const char *name;\n \ const char *(*func) ();\n \ void *cmd_data;\n \ @@ -661,8 +815,8 @@ enum cmd_how args_how;\n \ const char *errmsg;\n \ } $*;\ - |\ |\ + |SA-core-rec\ | #; #; Directive overrides @@ -677,37 +831,37 @@ |#define $* <EM>value</EM>\ |\ |SA-overrides\ - | + |dict-$*.html C|ACCESS_CONF\ |#define $* <EM>value</EM>\ |\ |SA-overrides\ - | + |dict-$*.html C|OR_AUTHCFG\ |#define $* <EM>value</EM>\ |\ |SA-overrides\ - | + |dict-$*.html C|OR_LIMIT\ |#define $* <EM>value</EM>\ |\ |SA-overrides\ - | + |dict-$*.html C|OR_OPTIONS\ |#define $* <EM>value</EM>\ |\ |SA-overrides\ - | + |dict-$*.html C|OR_FILEINFO\ |#define $* <EM>value</EM>\ |\ |SA-overrides\ - | + |dict-$*.html C|OR_INDEXES\ |#define $* <EM>value</EM>\ |\ |SA-overrides\ - | + |dict-$*.html #; #; Tables.. #; @@ -723,37 +877,37 @@ |typedef struct $* {<EM>opaque-structure</EM>};\ |\ |SA-tables\ - | + |dict-$*.html R|ap_clear_table\ |void $*(table *t);\ |\ |SA-tables\ - | + |dict-$*.html R|ap_copy_table\ |table *$*(pool *p, const table *t);\ |\ |SA-tables\ - | + |dict-$*.html R|ap_make_table\ |table *$*(pool *p, int nelts);\ |\ |SA-tables\ - | + |dict-$*.html R|ap_overlay_tables\ |table *$*(pool *p, const table *overlay, const table *base);\ |\ |SA-tables\ - | + |dict-$*.html R|ap_table_add\ |void $*(table *t, const char *key, const char *val);\ |\ |SA-tables\ - | + |dict-$*.html R|ap_table_addn\ |void $*(table *t, const char *key, const char *val);\ |\ |SA-tables\ - | + |dict-$*.html #; #; Here's an example of multiline definition with proper indenting. #; @@ -764,37 +918,37 @@ |SA-tables\ | R|ap_table_get\ + |const char *$*(const table *t, const char *key);\ |\ - |\ |SA-tables\ - | + |dict-$*.html R|ap_table_merge\ + |void $*(table *tab, const char *name, const char *more_val);\ |\ - |\ |SA-tables\ - | + |dict-$*.html R|ap_table_mergen\ + |void $*(table *tab, const char *name, const char *more_val);\ |\ - |\ |SA-tables\ - | + |dict-$*.html R|ap_table_set\ + |void $*(table *tab, const char *name, const char *val);\ |\ - |\ |SA-tables\ - | + |dict-$*.html R|ap_table_setn\ + |void $*(table *tab, const char *name, const char *val);\ |\ - |\ |SA-tables\ - | + |dict-$*.html R|ap_table_unset\ + |void $*(table *tab, const char *key);\ |\ - |\ |SA-tables\ - | + |dict-$*.html #; -#; Arrays.. +#; arrays.. #; X|SA-array\ |array_header,ap_array_cat,ap_append_arrays,ap_copy_array\ @@ -817,29 +971,29 @@ |void $*(array_header *dst, const array_header *src);\ |\ |SA-array\ - | + |dict-$*.html R|ap_copy_array\ |array_header *$*(pool *p, const array_header *src);\ |\ |SA-array\ - | + |dict-$*.html R|ap_copy_array_hdr\ |array_header *$*(pool *p, const array_header *src);\ |\ |SA-array\ - | + |dict-$*.html R|ap_make_array\ |array_header *$*(pool *p, int nelts, int elt_size);\ |\ |SA-array\ - | + |dict-$*.html R|ap_push_array\ |void *$*(array_header *a);\ |\ |SA-array\ - | + |dict-$*.html #; -#; Now the items relating to pools +#; now the items relating to pools #; X|SA-pool\ |pool,ap_bytes_in_pool,ap_clear_pool,ap_destroy_pool,ap_find_pool\ @@ -851,64 +1005,64 @@ |\ | S|pool\ - |[struct] pool <EM>opaque-structure</EM>\ + |[struct] pool <em>opaque-structure</em>\ |pool *p; \ \nchar *foo; \ - \nfoo = ap_pstrcat(p, "string 1", "string 2", NULL);\ + \nfoo = ap_pstrcat(p, "string 1", "string 2", null);\ |SA-pool\ - | + |dict-$*.html R|ap_bytes_in_pool\ + |long $*(pool *p);\ |\ - |\ |SA-pool\ - | + |dict-$*.html R|ap_clear_pool\ + |void $*(struct pool *a);\ |\ - |\ |SA-pool\ - | + |dict-$*.html R|ap_find_pool\ + |pool *$*(const void *ts);\ |\ - |\ |SA-pool\ | R|ap_pool_is_ancestor\ - |\ + |int $*(pool *a, pool *b);\ |\ |SA-pool\ | R|ap_pool_join\ + |void $*(pool *p, pool *sub);\ |\ - |\ |SA-pool\ | R|ap_make_sub_pool\ |pool *$*(pool *p);\ |\ |SA-pool\ - |dict-ap_make_sub_pool.html #; Hey! A real docco file!! + |dict-$*.html R|ap_destroy_pool\ |void $*(pool *p);\ |\ |SA-pool\ - |dict-ap_destroy_pool.html + |dict-$*.html R|ap_pstrcat\ |char *$*(struct pool *p, ...);\ |\ |SA-pool\ - | + |dict-$*.html R|ap_palloc\ |void *$*(struct pool *p, int nbytes);\ |\ |SA-pool\ - | + |dict-$*.html R|ap_pcalloc\ |void *$*(struct pool *p, int nbytes);\ |\ |SA-pool\ - | + |dict-$*.html R|ap_pclosedir\ - |void $*(pool *p, DIR * d);\ + |void $*(pool *p, dir * d);\ |\ |SA-pool\ | @@ -916,7 +1070,7 @@ |int $*(struct pool *p, int fd);\ |\ |SA-pool\ - | + |dict-$*.html R|ap_pclosesocket\ |int $*(pool *p, int sock);\ |\ @@ -928,27 +1082,27 @@ |SA-pool\ | R|ap_pfclose\ - |int $*(struct pool *p, FILE *f);\ + |int $*(struct pool *p, file *f);\ |\ |SA-pool\ - | + |dict-$*.html R|ap_pfdopen\ - |FILE *$*(struct pool *p, int fd, const char *fmode);\ + |file *$*(struct pool *p, int fd, const char *fmode);\ |\ |SA-pool\ - | + |dict-$*.html R|ap_pfopen\ - |FILE *$*(struct pool *p, const char *name, const char *fmode);\ + |file *$*(struct pool *p, const char *name, const char *fmode);\ |\ |SA-pool\ - | + |dict-$*.html R|ap_pgethostbyname\ |struct hostent *$*(pool *p, const char *hostname);\ |\ |SA-pool\ | R|ap_popendir\ - |DIR *$*(pool *p, const char *name);\ + |dir *$*(pool *p, const char *name);\ |\ |SA-pool\ | @@ -956,12 +1110,12 @@ |int $*(struct pool *p, const char *name, int flg, int mode);\ |\ |SA-pool\ - | + |dict-$*.html R|ap_pregcomp\ |regex_t *$*(pool *p, const char *pattern, int cflags);\ |\ |SA-pool\ - | + |dict-$*.html R|ap_pregfree\ |void $*(pool *p, regex_t *reg);\ |\ @@ -976,33 +1130,33 @@ |char *$*(struct pool *p, const char *s);\ |\ |SA-pool\ - | + |dict-$*.html R|ap_pstrndup\ |char *$*(struct pool *p, const char *s, int n);\ |\ |SA-pool\ - | + |dict-$*.html #; -#; Incomplete definitions! +#; incomplete definitions! #; R|ap_append_arrays\ |array_header *$*(pool *p, const array_header *a, const array_header *b);\ |\ |SA-array\ - | + |dict-$*.html R|ap_pregsub\ |char *$*(pool *p, const char *input, const char *source, size_t nmatch, \ regmatch_t pmatch[]);\ |\ |SA-pool\ - | + |dict-$*.html R|ap_vformatter\ |int $*(int (*flush_func)(ap_vformatter_buff *f), ap_vformatter_buff *b, \ const char *fmt, va_list ap);\ |\ |\ | -S|ap_vformatter_buff\ +s|ap_vformatter_buff\ |typedef struct {\n\ char *curpos;\n\ char *endpos;\n\ @@ -1011,9 +1165,9 @@ |\ | #; -#; Miscellany (for now) +#; miscellany (for now) #; -S|uri_components\ +s|uri_components\ |typedef struct { \n \ char *scheme; \n \ char *hostinfo; \n \ @@ -1029,9 +1183,9 @@ unsigned is_initialized:1; \n \ unsigned dns_looked_up:1; \n \ unsigned dns_resolved:1; \n \ -} uri_components; \ +} $*; \ |\ - |\ + |SA-core-rec\ | X|SA-dirdata\ |cmd_how,RAW_ARGS,TAKE1,TAKE2,ITERATE,ITERATE2,FLAG,NO_ARGS,TAKE12\ @@ -1056,206 +1210,215 @@ }; \ |\ |SA-dirdata\ - | + |dict-$*.html C|RAW_ARGS\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |static const command_rec autoindex_cmds[] =\n\ {\n\ - :\n\ + .\n\ {"IndexOptions", add_opts, NULL, DIR_CMD_PERMS, RAW_ARGS,\n\ "one or more index options"},\n\ - :\n\ + .\n\ {NULL}\n\ };\ |SA-dirdata\ - | + |dict-$*.html C|TAKE1\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |static const command_rec autoindex_cmds[] =\n\ {\n\ - :\n\ + .\n\ {"HeaderName", add_header, NULL, DIR_CMD_PERMS, TAKE1, "a filename"},\n\ - :\n\ + .\n\ {NULL}\n\ };\ |SA-dirdata\ - | + |dict-$*.html C|TAKE2\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |static const command_rec action_cmds[] =\n\ {\n\ {"Action", add_action, NULL, OR_FILEINFO, TAKE2,\n\ "a media type followed by a script name"},\n\ - :\n\ + .\n\ {NULL}\n\ };\ |SA-dirdata\ - | + |dict-$*.html C|ITERATE\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |static const command_rec autoindex_cmds[] =\n\ {\n\ - :\n\ + .\n\ {"IndexIgnore", add_ignore, NULL, DIR_CMD_PERMS, ITERATE,\n\ "one or more file extensions"},\n\ - :\n\ + .\n\ {NULL}\n\ };\ |SA-dirdata\ - | + |dict-$*.html C|ITERATE2\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |static const command_rec autoindex_cmds[] =\n\ {\n\ - {"AddIcon", add_icon, BY_PATH, DIR_CMD_PERMS, ITERATE2,\n\ - "an icon URL followed by one or more filenames"},\n\ - :\n\ + {"AddIcon", add_icon, BY_PATH, DIR_CMD_PERMS, ITERATE2,\N\ + "an icon url followed by one or more filenames"},\n\ + .\n\ {NULL}\n\ };\ |SA-dirdata\ - | + |dict-$*.html C|FLAG\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |static const command_rec autoindex_cmds[] =\n\ {\n\ - :\n\ + .\n\ {"FancyIndexing", fancy_indexing, NULL, DIR_CMD_PERMS, FLAG,\n\ - "Limited to 'on' or 'off' (superseded by IndexOptions FancyIndexing)"},\n\ - :\n\ + "limited to 'on' or 'off' (superseded by IndexOptions FancyIndexing)"},\n\ + .\n\ {NULL}\n\ };\ |SA-dirdata\ - | + |dict-$*.html C|NO_ARGS\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |static const command_rec negotiation_cmds[] =\n\ {\n\ {"CacheNegotiatedDocs", cache_negotiated_docs, NULL, RSRC_CONF, NO_ARGS,\n\ "no arguments (either present or absent)"},\n\ - :\n\ + .\n\ {NULL}\n\ };\ |SA-dirdata\ - | + |dict-$*.html C|TAKE12\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |static const command_rec config_log_cmds[] =\n\ {\n\ - :\n\ + .\n\ {"LogFormat", log_format, NULL, RSRC_CONF, TAKE12,\n\ "a log format string (see docs) and an optional format name"},\n\ - :\n\ + .\n\ {NULL}\n\ };\ |SA-dirdata\ - | + |dict-$*.html C|TAKE3\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |\ |SA-dirdata\ - | + |dict-$*.html C|TAKE23\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |static const command_rec headers_cmds[] =\n\ {\n\ {"Header", header_cmd, NULL, OR_FILEINFO, TAKE23,\n\ "an action, header and value"},\n\ - :\n\ + .\n\ {NULL}\n\ };\ |SA-dirdata\ - | + |dict-$*.html C|TAKE123\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |\ |SA-dirdata\ - | + |dict-$*.html C|TAKE13\ - |<EM>See</EM> cmd_how.\ + |<em>see</em> cmd_how.\ |\ |SA-dirdata\ - | + |dict-$*.html #; +#; A whole buncha misc.functions +#; R|ap_add_cgi_vars\ |void $*(request_rec *r);\ - |\ + |request_rec *r;\n$*(r);\ |\ - | + |dict-$*.html R|ap_add_common_vars\ |void $*(request_rec *r);\ - |\ + |request_rec *r;\n$*(r);\ |\ - | + |dict-$*.html R|ap_add_per_dir_conf\ |void $*(server_rec *s, void *dir_config);\ |\ |\ - | + |dict-$*.html R|ap_cpystrn\ |char *$*(char *buf, const char *str, size_t numbytes);\ + |char *ap_coredump_dir;\nchar *ap_server_root;\n$*(ap_coredump_dir, ap_server_root, sizeof(ap_coredump_dir));\ |\ - |\ - |dict-ap_cpystrn.html #; Zut! Another doc file! + |dict-$*.html R|ap_bprintf\ - |int $*(BUFF *fb, const char *fmt, ...);\ + |int $*(buff *fb, const char *fmt, ...);\ |\ |\ - | + |dict-$*.html R|ap_os_canonical_filename\ |char *$*(pool *p, const char *file);\ + |request_rec *r;\nr->filename = $*(r->pool, r->filename);\ |\ - |\ - | + |dict-$*.html R|ap_escape_quotes\ |char *$*(pool *p, const char *str);\ + |cmd_parms *cmd;\nchar *word1;\n \ +core_dir_config *aconfig = (core_dir_config *)mconfig; \n \ +aconfig->ap_auth_name = $*(cmd->pool, word1);\ |\ - |\ - | + |dict-$*.html R|ap_log_error_old\ |void $*(const char *err, server_rec *s);\ + |server_rec *s;\n$*("Yow!", s);\ |\ - |\ - | + |dict-$*.html R|ap_parse_hostinfo_components\ |int $*(pool *p, const char *hostinfo, uri_components *uptr);\ + |request_rec *r;\nconst char *uri;\nint status; \n \ +status = $*(r->pool, uri, &r->parsed_uri);\ |\ - |\ - | + |dict-$*.html R|ap_psprintf\ |char *$*(struct pool *p, const char *fmt, ...);\ + |pool *p;\nchar **real_code;\nchar base = 'x';\nint modifier = 0; \n \ +*real_code = $*(p, "%c%d", base, modifier);\ |\ - |\ - | + |dict-$*.html R|ap_pvsprintf\ |char *$*(struct pool *p, const char *fmt, va_list);\ + |pool *p;\nconst char *fmt;\nva_list ap;\nchar *res;\nres = $*(p, fmt, ap);\ |\ - |\ - | + |dict-$*.html R|ap_snprintf\ |int $*(char *buf, size_t nbytes, const char *fmt, ...);\ + |char buffer[huge_string_len];\nrequest_rec *r;\n \ +$*(buffer, sizeof(buffer), "connect %s http/1.0" crlf, r->uri);\ |\ - |\ - | + |dict-$*.html R|ap_add_per_url_conf\ |void $*(server_rec *s, void *url_config);\ + |server_rec *s;\nvoid *url_config;\n \ +$*(server_rec *s, void *url_config);\ |\ - |\ | R|ap_allow_options\ |int $*(request_rec *r);\ - |\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_allow_overrides\ |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - |\ | R|ap_vsnprintf\ |int $*(char *buf, size_t numbytes, const char *fmt, va_list ap);\ - |\ + |const char *text;\nchar str2[512];\nva_list ap;\n \ +$*(str2, sizeof(str2), text, ap);\ |\ - | + |dict-$*.html R|ap_auth_name\ |char *$*(request_rec *r);\ |\ @@ -1268,51 +1431,51 @@ | R|ap_basic_http_header\ |void $*(request_rec *r);\ - |\ + |request_rec *r;\n$*(r);\ |\ | R|ap_bclose\ - |int $*(BUFF *fb);\ + |int $*(buff *fb);\ |\ |\ | R|ap_bcreate\ - |BUFF *$*(pool *p, int flags);\ + |buff *$*(pool *p, int flags);\ |\ |\ | R|ap_bfilbuf\ - |int $*(BUFF *fb);\ + |int $*(buff *fb);\ |\ |\ | R|ap_bfileno\ - |int $*(BUFF *fb, int direction);\ + |int $*(buff *fb, int direction);\ |\ |\ | R|ap_bflsbuf\ - |int $*(int c, BUFF *fb);\ + |int $*(int c, buff *fb);\ |\ |\ | R|ap_bflush\ - |int $*(BUFF *fb);\ + |int $*(buff *fb);\ |\ |\ | R|ap_bgetopt\ - |int $*(BUFF *fb, int optname, void *optval);\ + |int $*(buff *fb, int optname, void *optval);\ |\ |\ | R|ap_bgets\ - |int $*(char *s, int n, BUFF *fb);\ + |int $*(char *s, int n, buff *fb);\ |\ |\ | R|ap_bhalfduplex\ - |void $*(BUFF *fb);\ + |void $*(buff *fb);\ |\ |\ | @@ -1320,59 +1483,59 @@ |void $*(void);\ |\ |\ - | + |dict-$*.html R|ap_blookc\ - |int $*(char *buff, BUFF *fb);\ + |int $*(char *buff, buff *fb);\ |\ |\ | R|ap_bnonblock\ - |int $*(BUFF *fb, int direction);\ + |int $*(buff *fb, int direction);\ |\ |\ | R|ap_bonerror\ - |void $*(BUFF *fb, void (*error) (BUFF *b, int, void *), void *data);\ + |void $*(buff *fb, void (*error) (buff *b, int, void *), void *data);\ |\ |\ | R|ap_bpushfd\ - |void $*(BUFF *fb, int fd_in, int fd_out);\ + |void $*(buff *fb, int fd_in, int fd_out);\ |\ |\ | R|ap_bputs\ - |int $*(const char *x, BUFF *fb);\ + |int $*(const char *x, buff *fb);\ |\ |\ | R|ap_bread\ - |int $*(BUFF *fb, void *buf, int nbyte);\ + |int $*(buff *fb, void *buf, int nbyte);\ |\ |\ | R|ap_bsetflag\ - |int $*(BUFF *fb, int flag, int value);\ + |int $*(buff *fb, int flag, int value);\ |\ |\ | R|ap_bsetopt\ - |int $*(BUFF *fb, int optname, const void *optval);\ + |int $*(buff *fb, int optname, const void *optval);\ |\ |\ | R|ap_bskiplf\ - |int $*(BUFF *fb);\ + |int $*(buff *fb);\ |\ |\ | R|ap_bvputs\ - |int $*(BUFF *fb, ...);\ + |int $*(buff *fb, ...);\ |\ |\ | R|ap_bwrite\ - |int $*(BUFF *fb, const void *buf, int nbyte);\ + |int $*(buff *fb, const void *buf, int nbyte);\ |\ |\ | @@ -1380,40 +1543,40 @@ |long $*(void);\ |\ |\ - | + |dict-$*.html R|ap_call_exec\ |int $*(request_rec *r, char *argv0, char **env, int shellcmd);\ |\ |\ - | + |dict-$*.html R|ap_can_exec\ |int $*(const struct stat *fstat);\ |\ |\ - | + |dict-$*.html R|ap_cfg_closefile\ |int $*(configfile_t *fp);\ |\ |\ - | + |dict-$*.html R|ap_cfg_getc\ |int $*(configfile_t *cfp);\ |\ |\ - | + |dict-$*.html R|ap_cfg_getline\ |int $*(char *buf, size_t bufsize, configfile_t *cfp);\ |\ |\ - | + |dict-$*.html R|ap_chdir_file\ |void $*(const char *file);\ |\ |\ - | + |dict-$*.html R|ap_check_access\ - |\ - |\ + |int $*(request_rec *);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_check_alarm\ @@ -1422,9 +1585,9 @@ |\ | R|ap_check_auth\ + |int $*(request_rec *);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - |\ - |\ | R|ap_check_cmd_context\ |const char *$*(cmd_parms *cmd, unsigned forbidden);\ @@ -1432,8 +1595,8 @@ |\ | R|ap_check_user_id\ - |\ - |\ + |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_checkmask\ @@ -1442,25 +1605,25 @@ |\ | R|ap_child_exit_modules\ - |\ + |void $*(pool *p, server_rec *s);\ |\ |\ | R|ap_child_init_modules\ + |void $*(pool *p, server_rec *s);\ |\ |\ - |\ | R|ap_child_terminate\ |void $*(request_rec *r);\ - |\ + |request_rec *r;\n$*(r);\ |\ | R|ap_cleanup_for_exec\ |void $*(void);\ |\ |\ - | + |dict-$*.html R|ap_clear_module_list\ |void $*(void);\ |\ @@ -1471,14 +1634,14 @@ const request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_construct_url\ |char *$*(pool *p, const char *uri, const request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_core_reorder_directories\ - |\ + |void $*(pool *, server_rec *);\ |\ |\ | @@ -1486,7 +1649,7 @@ |int $*(const char *path);\ |\ |\ - | + |dict-$*.html R|ap_create_environment\ |char **$*(pool *p, table *t);\ |\ @@ -1498,7 +1661,7 @@ |\ | R|ap_create_request_config\ - |\ + |void *$*(pool *p);\ |\ |\ | @@ -1519,18 +1682,18 @@ | R|ap_destroy_sub_req\ |void $*(request_rec *r);\ - |\ + |request_rec *r;\n$*(r);\ |\ - | + |dict-$*.html R|ap_die\ - |\ + |void $*(int type, request_rec *r);\ |\ |\ | R|ap_discard_request_body\ |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - |\ | R|ap_document_root\ |char *$*(request_rec *r);\ @@ -1551,25 +1714,25 @@ |char *$*(pool *p, const char *s);\ |\ |\ - | + |dict-$*.html R|ap_escape_path_segment\ |char *$*(pool *p, const char *s);\ |\ |\ - | + |dict-$*.html R|ap_escape_shell_cmd\ |char *$*(pool *p, const char *s);\ |\ |\ - | + |dict-$*.html R|ap_finalize_request_protocol\ - |\ - |\ + |void $*(request_rec *r);\ + |request_rec *r;\n$*(r);\ |\ | R|ap_finalize_sub_req_protocol\ - |\ - |\ + |void $*(request_rec *r);\ + |request_rec *r;\n$*(r);\ |\ | R|ap_find_command\ @@ -1606,16 +1769,16 @@ |int $*(pool *p, const char *line, const char *tok);\ |\ |\ - | + |dict-$*.html R|ap_find_types\ - |\ - |\ + |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_fini_vhost_config\ + |void $*(pool *p, server_rec *main_server);\ |\ |\ - |\ | R|ap_fnmatch\ |int $*(const char *s1, const char *s2, int n);\ @@ -1623,7 +1786,7 @@ |\ | R|ap_force_library_loading\ - |\ + |void $*(void)\ |\ |\ | @@ -1636,17 +1799,17 @@ |long $*(request_rec *r, char *buffer, int bufsiz);\ |\ |\ - | + |dict-$*.html R|ap_get_gmtoff\ |struct tm *$*(int *tz);\ |\ |\ - | + |dict-$*.html R|ap_get_local_host\ + |char *$*(pool *);\ |\ |\ - |\ - | + |dict-$*.html R|ap_get_module_config\ |void *$*(void *conf_vector, module *m);\ |\ @@ -1663,80 +1826,80 @@ |\ | R|ap_get_server_port\ - |unsigned $*(const *r);\ + |unsigned $*(const request_rec *r);\ + |const request_rec *r;\nint port;\nport = $*(r);\ |\ - |\ - | + |dict-$*.html R|ap_get_time\ |char *$*(void);\ |\ |\ - | + |dict-$*.html R|ap_get_token\ |char *$*(pool *p, char **accept_line, int accept_white);\ |\ |\ - | + |dict-$*.html R|ap_get_virthost_addr\ + |unsigned long $*(const char *w, unsigned short *ports);\ |\ |\ - |\ - | + |dict-$*.html R|ap_getparents\ |void $*(char *name);\ |\ |\ - | + |dict-$*.html R|ap_getword\ |char *$*(pool *p, const char **line, char stop);\ |\ |\ - | + |dict-$*.html R|ap_getword_conf\ |char *$*(pool *p, const char **line);\ |\ |\ - | + |dict-$*.html R|ap_getword_conf_nc\ |char *$*(pool *p, char **line);\ |\ |\ - | + |dict-$*.html R|ap_getword_nc\ |char *$*(pool *p, char **line, char stop);\ |\ |\ - | + |dict-$*.html R|ap_getword_nulls\ |char *$*(pool *p, const char **line, char stop);\ |\ |\ - | + |dict-$*.html R|ap_getword_nulls_nc\ |char *$*(pool *p, char **line, char stop);\ |\ |\ - | + |dict-$*.html R|ap_getword_white\ |char *$*(pool *p, const char **line);\ |\ |\ - | + |dict-$*.html R|ap_getword_white_nc\ |char *$*(pool *p, char **line);\ |\ |\ - | + |dict-$*.html R|ap_gm_timestr_822\ |char *$*(pool *p, time_t t);\ |\ |\ - | + |dict-$*.html R|ap_gname2id\ |gid_t $*(const char *name);\ |\ |\ - | + |dict-$*.html R|ap_handle_command\ |const char *$*(cmd_parms *parms, void *config, const char *l);\ |\ @@ -1746,17 +1909,17 @@ |void $*(char *reason, request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_header_parse\ - |\ - |\ + |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_ht_time\ |char *$*(pool *p, time_t t, const char *fmt, int gmt);\ |\ |\ - | + |dict-$*.html R|ap_ind\ |int $*(const char *str, char c);\ |\ @@ -1768,17 +1931,17 @@ |\ | R|ap_init_alloc\ - |\ + |pool * $*(void);\ |\ |\ | R|ap_init_modules\ + |void $*(pool *p, server_rec *s);\ |\ |\ - |\ | R|ap_init_vhost_config\ - |\ + |void $*(pool *p);\ |\ |\ | @@ -1792,22 +1955,22 @@ |void $*(const char *new_uri, request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_internal_redirect_handler\ |void $*(const char *new_uri, request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_invoke_handler\ + |int $*(request_rec *r)\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - |\ - |\ | R|ap_is_directory\ |int $*(const char *name);\ |\ |\ - | + |dict-$*.html R|ap_is_fnmatch\ |int $*(const char *str);\ |\ @@ -1815,46 +1978,46 @@ | R|ap_is_initial_req\ |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - |\ | R|ap_is_matchexp\ |int $*(const char *str);\ |\ |\ - | + |dict-$*.html R|ap_is_url\ |int $*(const char *u);\ |\ |\ - | + |dict-$*.html R|ap_keepalive_timeout\ - |\ + |void $*(char *reason, request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_kill_cleanup\ |void $*(pool *p, void *data, void (*plain_cleanup) (void *));\ |\ |\ - | + |dict-$*.html R|ap_kill_cleanups_for_fd\ |void $*(pool *p, int fd);\ |\ |\ - | + |dict-$*.html R|ap_kill_cleanups_for_socket\ |void $*(pool *p, int sock);\ |\ |\ - | + |dict-$*.html R|ap_kill_timeout\ |void $*(request_rec *r);\ + |request_rec *r;\n$*(r);\ |\ - |\ - | + |dict-$*.html R|ap_limit_section\ - |const char *$*(R (const char *szExp, const char *szFile, int nLine);\ + |const char *$*(r (const char *szexp, const char *szfile, int nline);\ |\ |\ | @@ -1865,9 +2028,9 @@ |\ | R|ap_log_pid\ + |void $*(pool *p, char *fname);\ |\ |\ - |\ | R|ap_log_printf\ |void $*(const server_rec *s, const char *fmt, ...);\ @@ -1880,8 +2043,8 @@ |\ | R|ap_log_transaction\ - |\ - |\ + |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_log_unixerr\ @@ -1894,7 +2057,7 @@ |char *$*(pool *a, const char *s, int n);\ |\ |\ - | + |dict-$*.html R|ap_make_dirstr_parent\ |char *$*(pool *p, const char *s);\ |\ @@ -1909,7 +2072,7 @@ |char *$*(pool *a, const char *dir, const char *f);\ |\ |\ - | + |dict-$*.html R|ap_matches_request_vhost\ |int $*(request_rec *r, const char *host, unsigned port);\ |\ @@ -1917,11 +2080,11 @@ | R|ap_meets_conditions\ |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - |\ | R|ap_merge_per_dir_configs\ - |\ + |void *$*(pool *p, void *base, void *new);\ |\ |\ | @@ -1929,49 +2092,49 @@ |void $*(char *name);\ |\ |\ - | + |dict-$*.html R|ap_note_auth_failure\ |void $*(request_rec *r);\ - |\ + |request_rec *r;\n$*(r);\ |\ | R|ap_note_basic_auth_failure\ |void $*(request_rec *r);\ + |request_rec *r;\n$*(r);\ |\ - |\ | R|ap_note_cleanups_for_fd\ |void $*(pool *p, int fd);\ |\ |\ - | + |dict-$*.html R|ap_note_cleanups_for_file\ - |void $*(pool *p, FILE *f);\ + |void $*(pool *p, file *f);\ |\ |\ - | + |dict-$*.html R|ap_note_cleanups_for_socket\ |void $*(pool *p, int sock);\ |\ |\ - | + |dict-$*.html R|ap_note_digest_auth_failure\ |void $*(request_rec *r);\ - |\ + |request_rec *r;\n$*(r);\ |\ | R|ap_note_subprocess\ |void $*(pool *p, int pid, enum kill_conditions how);\ |\ |\ - | + |dict-$*.html R|ap_null_cleanup\ |void $*(void *data);\ |\ |\ | R|ap_open_logs\ - |\ + |void $*(server_rec *s, pool *p);\ |\ |\ | @@ -1979,9 +2142,9 @@ |char *$*(pool *p, const char *path, int partial);\ |\ |\ - | + |dict-$*.html R|ap_os_is_path_absolute\ - |\ + |int ap_os_is_path_absolute(const char *file);\ |\ |\ | @@ -1989,9 +2152,10 @@ |time_t $*(const char *date);\ |\ |\ - | + |dict-$*.html R|ap_parse_htaccess\ - |\ + |int ap_parse_htaccess(void **result, request_rec *r, int override,\n \ + const char *path, const char *access_name); \ |\ |\ | @@ -2006,9 +2170,9 @@ |\ | R|ap_parse_vhost_addrs\ + |const char *$*(pool *p, const char *hostname, server_rec *s);\ |\ |\ - |\ | R|ap_pcfg_open_custom\ |configfile_t *$*(pool *p, const char *descr, void *param, \ @@ -2025,13 +2189,13 @@ |\ | R|ap_process_request\ - |\ - |\ + |void $*(request_rec *r);\ + |request_rec *r;\n$*(r);\ |\ | R|ap_process_resource_config\ - |\ - |\ + |void $*(request_rec *r);\ + |request_rec *r;\n$*(r);\ |\ | R|ap_psignature\ @@ -2045,31 +2209,37 @@ |\ | R|ap_read_config\ - |\ + |server_rec *$*(pool *conf_pool, pool *temp_pool, char *config_name); \ |\ |\ | R|ap_read_request\ + |request_rec *$*(conn_rec *c);\ |\ |\ - |\ | R|ap_register_cleanup\ |void $*(pool *p, void *data, void (*plain_cleanup) (void *), \ void (*child_cleanup) (void *));\ |\ |\ - | + |dict-$*.html R|ap_register_other_child\ |void $*(int pid, void (*maintenance) \ (int reason, void *data, int status), void *data, int write_fd);\ |\ |\ | +R|ap_remove_loaded_module\ + |void $*(module *m);\ + |module mod; \n \ +$*(mod);\ + |SA-module\ + | R|ap_remove_module\ |void $*(module *m);\ - |\ |\ + |SA-module\ | R|ap_requires\ |array_header *$*(request_rec *r);\ @@ -2078,22 +2248,22 @@ | R|ap_reset_timeout\ |void $*(request_rec *r);\ - |\ + |request_rec *r;\n$*(r);\ |\ - | + |dict-$*.html R|ap_response_code_string\ - |\ + |char *$*(request_rec *r, int error_index);\ |\ |\ | R|ap_rfc1413\ + |char *$*(conn_rec *conn, server_rec *srv);\ |\ |\ - |\ | R|ap_rflush\ |int $*(request_rec *r);\ - |\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_rind\ @@ -2105,42 +2275,42 @@ |int $*(request_rec *r, const char *fmt, ...);\ |\ |\ - | + |dict-$*.html R|ap_rputc\ |int $*(int c, request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_rputs\ |int $*(const char *str, request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_run_cleanup\ |void $*(pool *p, void *data, void (*cleanup) (void *));\ |\ |\ - | + |dict-$*.html R|ap_run_fixups\ - |\ - |\ + |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_run_post_read_request\ - |\ - |\ + |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_run_sub_req\ |int $*(request_rec *r);\ - |\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - | + |dict-$*.html R|ap_rvputs\ |int $*(request_rec *r, ...);\ |\ |\ - | + |dict-$*.html R|ap_rwrite\ |int $*(const void *buf, int nbyte, request_rec *r);\ |\ @@ -2148,44 +2318,44 @@ | R|ap_satisfies\ |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - |\ | R|ap_scan_script_header_err\ - |int $*(request_rec *r, FILE *f, char *buffer);\ + |int $*(request_rec *r, file *f, char *buffer);\ |\ |\ | R|ap_scan_script_header_err_buff\ - |int $*(request_rec *r, BUFF *f, char *buffer);\ + |int $*(request_rec *r, buff *f, char *buffer);\ |\ |\ | R|ap_send_error_response\ - |\ + |void $*(request_rec *r, int recursive_error);\ |\ |\ | R|ap_send_fb\ - |long $*(BUFF *f, request_rec *r);\ + |long $*(buff *f, request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_send_fb_length\ - |long $*(BUFF *f, request_rec *r, long length);\ + |long $*(buff *f, request_rec *r, long length);\ |\ |\ - | + |dict-$*.html R|ap_send_fd\ - |long $*(FILE *f, request_rec *r);\ + |long $*(file *f, request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_send_fd_length\ - |long $*(FILE *f, request_rec *r, long length);\ + |long $*(file *f, request_rec *r, long length);\ |\ |\ - | + |dict-$*.html R|ap_send_header_field\ |int $*(request_rec *r, const char *fieldname, const char *fieldval);\ |\ @@ -2193,17 +2363,17 @@ | R|ap_send_http_header\ |void $*(request_rec *r);\ + |request_rec *r;\n$*(r);\ |\ - |\ - | + |dict-$*.html R|ap_send_http_options\ - |\ - |\ + |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_send_http_trace\ - |\ - |\ + |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_send_mmap\ @@ -2223,13 +2393,13 @@ | R|ap_set_byterange\ |int $*(request_rec *r);\ - |\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ | R|ap_set_callback_and_alarm\ + |unsigned int $*(void (*fn) (int), int x);\ |\ |\ - |\ | R|ap_set_content_length\ |int $*(request_rec *r, long length);\ @@ -2238,7 +2408,7 @@ | R|ap_set_etag\ |void $*(request_rec *r);\ - |\ + |request_rec *r;\n$*(r);\ |\ | R|ap_set_file_slot\ @@ -2253,12 +2423,12 @@ | R|ap_set_keepalive\ |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - |\ | R|ap_set_last_modified\ |void $*(request_rec *r);\ - |\ + |request_rec *r;\n$*(r);\ |\ | R|ap_set_module_config\ @@ -2267,9 +2437,9 @@ |\ | R|ap_set_name_virtual_host\ + |const char *$*(cmd_parms *cmd, void *dummy, char *arg);\ |\ |\ - |\ | R|ap_set_string_slot\ |const char *$*(cmd_parms *cmd, char *s1, char *s2);\ @@ -2282,7 +2452,7 @@ |\ | R|ap_set_sub_req_protocol\ - |\ + |void $*(request_rec *rnew, const request_rec *r);\ |\ |\ | @@ -2290,46 +2460,45 @@ |int $*(request_rec *r, int read_policy);\ |\ |\ - | + |dict-$*.html R|ap_setup_prelinked_modules\ - |\ - |\ + |void $*(void);\ + |$*();\ |\ | R|ap_should_client_block\ |int $*(request_rec *r);\ - |\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - |\ - + |dict-$*.html R|ap_show_directives\ - |\ - |\ + |void $*(void);\ + |$*();\ |\ | R|ap_show_modules\ - |\ - |\ + |void $*(void);\ + |$*();\ |\ | R|ap_soft_timeout\ |void $*(char *str, request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_some_auth_required\ |int $*(request_rec *r);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - |\ | R|ap_spawn_child_err\ - |int $*(pool *p, int (*)(void *), void *, enum kill_conditions, \ + |int $*(pool *p, int (*func)(void *), void *data, enum kill_conditions, \ FILE **pipe_in, FILE **pipe_out, FILE **pipe_err);\ |\ |\ | R|ap_spawn_child_err_buff\ - |int $*(pool *p, int (*)(void *), void *, enum kill_conditions, \n \ + |int $*(pool *p, int (*func)(void *), void *data, enum kill_conditions, \n \ BUFF **pipe_in, BUFF **pipe_out, BUFF **pipe_err);\ |\ |\ @@ -2340,13 +2509,13 @@ |\ | R|ap_start_restart\ - |\ + |void $*(int);\ |\ |\ | R|ap_start_shutdown\ - |\ - |\ + |void $*(void);\ + |$*();\ |\ | R|ap_str_tolower\ @@ -2358,24 +2527,24 @@ |int $*(const char *str, const char *exp);\ |\ |\ - | + |dict-$*.html R|ap_strcmp_match\ |int $*(const char *str, const char *exp);\ |\ |\ - | + |dict-$*.html R|ap_sub_req_lookup_file\ |request_rec *$*(const char *new_file, const request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_sub_req_lookup_uri\ |request_rec *$*(const char *new_file, const request_rec *r);\ |\ |\ - | + |dict-$*.html R|ap_time_process_request\ - |\ + |void $*(int child_num, int status);\ |\ |\ | @@ -2383,27 +2552,27 @@ |time_t $*(const struct tm *t);\ |\ |\ - | + |dict-$*.html R|ap_translate_name\ + |int $*(request_rec *);\ + |request_rec *r;\nint result;\nresult = $*(r);\ |\ - |\ - |\ | R|ap_uname2id\ |uid_t $*(const char *name);\ |\ |\ - | + |dict-$*.html R|ap_unblock_alarms\ |void $*(void);\ |\ |\ - | + |dict-$*.html R|ap_unescape_url\ |int $*(char *url);\ |\ |\ - | + |dict-$*.html R|ap_unparse_uri_components\ |char *$*(pool *p, const uri_components *uptr, unsigned flags);\ |\ @@ -2415,9 +2584,9 @@ |\ | R|ap_update_child_status\ + |int $*(int child_num, int status, request_rec *r);\ |\ |\ - |\ | R|ap_update_mtime\ |time_t $*(request_rec *r, time_t dependency_mtime);\ @@ -2425,30 +2594,30 @@ |\ | R|ap_update_vhost_from_headers\ - |\ - |\ + |void $*(request_rec *r);\ + |request_rec *r;\n$*(r);\ |\ | R|ap_update_vhost_given_ip\ + |void $*(conn_rec *conn);\ |\ |\ - |\ | R|ap_util_init\ - |\ - |\ + |void $*(void);\ + |$*();\ |\ | R|ap_util_uri_init\ - |\ - |\ + |void $*(void);\ + |$*();\ |\ | R|ap_uudecode\ |char *$*(pool *p, const char *str);\ |\ |\ - | + |dict-$*.html R|ap_vbprintf\ |int $*(BUFF *fb, const char *fmt, va_list vlist);\ |\ @@ -2464,17 +2633,17 @@ |#define $* <EM>numbytes</EM>\ |char random_string[$*];\ |\ - | + |dict-$*.html C|SERVER_VERSION\ |#define $* <EM>string</EM>\ |Deprecated; use ap_get_server_version() instead.\ |\ - | + |dict-$*.html C|HARD_SERVER_LIMIT\ |#define $* <EM>value</EM>\ - |\ + |for (i = 0; i < $*; ++i) {\n ...per-child processing...\n}\ |\ - | + |dict-$*.html C|kill_conditions\ |enum $* { \n \ kill_never, \n \ @@ -2483,19 +2652,19 @@ just_wait, \n \ kill_only_once \n \ };\ - |\ + |struct process_chain *p;\np->kill_how = kill_never; \ |\ - | + |dict-$*.html C|MODULE_MAGIC_NUMBER\ |#define $* <EM>monotonically-increasing-value</EM>\ - |\ + |module *m;\nif (m->version != MODULE_MAGIC_NUMBER)\n exit(1);\ |\ - | + |dict-$*.html C|SERVER_SUPPORT\ |#define $* "http://www.apache.org/"\ - |\ + |ap_snprintf(buf, sizeof(buf), "For further assistance, go to $*");\ |\ - | + |dict-$*.html #; #; The values that module hooks can return. These have special meanings; #; real failures are indicated by using the HTTP_xxx values mentioned @@ -2508,212 +2677,218 @@ | C|OK\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (!is_HTTP_ERROR(r->status)) { \n \ + return $*; \n \ +} \ |SA-dirstat\ - | + |dict-$*.html C|DECLINED\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (is_HTTP_ERROR(r->status)) { \n \ + return $*; \n \ +} \ |SA-dirstat\ - | + |dict-$*.html C|DONE\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (!is_HTTP_ERROR(r->status)) { \n \ + return $*; \n \ +} \ |SA-dirstat\ - | + |dict-$*.html #; #; HTTP status code declarations. #; C|HTTP_CONTINUE\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_SWITCHING_PROTOCOLS\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_OK\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_CREATED\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_ACCEPTED\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_NON_AUTHORITATIVE\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_NO_CONTENT\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_RESET_CONTENT\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_PARTIAL_CONTENT\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_MULTIPLE_CHOICES\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_MOVED_PERMANENTLY\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_MOVED_TEMPORARILY\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_SEE_OTHER\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_NOT_MODIFIED\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_USE_PROXY\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_BAD_REQUEST\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_UNAUTHORIZED\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_PAYMENT_REQUIRED\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_FORBIDDEN\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_NOT_FOUND\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_METHOD_NOT_ALLOWED\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_NOT_ACCEPTABLE\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_PROXY_AUTHENTICATION_REQUIRED\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_REQUEST_TIME_OUT\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_CONFLICT\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_GONE\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_LENGTH_REQUIRED\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_PRECONDITION_FAILED\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_REQUEST_ENTITY_TOO_LARGE\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_REQUEST_URI_TOO_LARGE\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_UNSUPPORTED_MEDIA_TYPE\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_INTERNAL_SERVER_ERROR\ |#define $* <EM>value</EM>\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - |\ - | + |dict-$*.html C|HTTP_NOT_IMPLEMENTED\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_BAD_GATEWAY\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_SERVICE_UNAVAILABLE\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_GATEWAY_TIME_OUT\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_VERSION_NOT_SUPPORTED\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html C|HTTP_VARIANT_ALSO_VARIES\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->status == $*) {\n ...processing for $* status...\n \}\ |\ - | + |dict-$*.html #; Multithread stuff X|SA-multi\ |ap_acquire_mutex,MULTI_OK,MULTI_ERR,MULTI_TIMEOUT\ @@ -2722,19 +2897,61 @@ | C|MULTI_OK\ |#define $* <EM>value</EM>\ - |\ + |static int\nmap_rv(int rv)\n{ \n \ + switch(rv)\n { \n \ + case WAIT_OBJECT_0: \n \ + case WAIT_ABANDONED: \n \ + return($*); \n \ + case WAIT_TIMEOUT: \n \ + return(MULTI_TIMEOUT); \n \ + case WAIT_FAILED: \n \ + return(MULTI_ERR); \n \ + default: \n \ + assert(0); \n \ + } \n \n \ + assert(0); \n \ + return(0); \n \ +} \ |SA-multi\ - | + |dict-$*.html C|MULTI_TIMEOUT\ |#define $* <EM>value</EM>\ - |\ + |static int\nmap_rv(int rv)\n{ \n \ + switch(rv)\n { \n \ + case WAIT_OBJECT_0: \n \ + case WAIT_ABANDONED: \n \ + return(MULTI_OK); \n \ + case WAIT_TIMEOUT: \n \ + return($*); \n \ + case WAIT_FAILED: \n \ + return(MULTI_ERR); \n \ + default: \n \ + assert(0); \n \ + } \n \n \ + assert(0); \n \ + return(0); \n \ +} \ |SA-multi\ - | + |dict-$*.html C|MULTI_ERR\ |#define $* <EM>value</EM>\ - |\ + |static int\nmap_rv(int rv)\n{ \n \ + switch(rv)\n { \n \ + case WAIT_OBJECT_0: \n \ + case WAIT_ABANDONED: \n \ + return(MULTI_OK); \n \ + case WAIT_TIMEOUT: \n \ + return(MULTI_TIMEOUT); \n \ + case WAIT_FAILED: \n \ + return($*); \n \ + default: \n \ + assert(0); \n \ + } \n \n \ + assert(0); \n \ + return(0); \n \ +} \ |SA-multi\ - | + |dict-$*.html #; #; These are macros, but they are invoked as though they were routines - #; so that's how we list them. @@ -2748,34 +2965,46 @@ | R|is_HTTP_INFO\ |#define $*(x) (((x) >= 100) && ((x) < 200))\ - |\ + |request_rec *r;\nif (!$*(r->status)) { \n \ + return OK; \n \ +} \ |SA-status-check\ - | + |dict-$*.html R|is_HTTP_SUCCESS\ |#define $*(x) (((x) >= 200) && ((x) < 300))\ - |\ + |request_rec *r;\nif (!$*(r->status)) { \n \ + return OK; \n \ +} \ |SA-status-check\ - | + |dict-$*.html R|is_HTTP_REDIRECT\ |#define $*(x) (((x) >= 300) && ((x) < 400))\ - |\ + |request_rec *r;\nif (!$*(r->status)) { \n \ + return OK; \n \ +} \ |SA-status-check\ - | + |dict-$*.html R|is_HTTP_ERROR\ |#define $*(x) (((x) >= 400) && ((x) < 600))\ - |\ + |request_rec *r;\nif (!$*(r->status)) { \n \ + return DONE; \n \ +} \ |SA-status-check\ - | + |dict-$*.html R|is_HTTP_CLIENT_ERROR\ |#define $*(x) (((x) >= 400) && ((x) < 500))\ - |\ + |request_rec *r;\nif (!$*(r->status)) { \n \ + return DONE; \n \ +} \ |SA-status-check\ - | + |dict-$*.html R|is_HTTP_SERVER_ERROR\ |#define $*(x) (((x) >= 500) && ((x) < 600))\ - |\ + |request_rec *r;\nif (!$*(r->status)) { \n \ + return DONE; \n \ +} \ |SA-status-check\ - | + |dict-$*.html #; #; This is another messy definition; the spacing has to be done #; correctly for horizontal alignment in the final <PRE> block. @@ -2789,9 +3018,17 @@ ((x) == HTTP_INTERNAL_SERVER_ERROR) ||\n\ ((x) == HTTP_SERVICE_UNAVAILABLE) ||\n\ ((x) == HTTP_NOT_IMPLEMENTED))\ - |\ + | /* \n \ + * If we want to keep the connection, be sure that the request body \n \ + * (if any) has been read. \n \ + */ \n \ + if ((r->status != HTTP_NOT_MODIFIED) && (r->status != HTTP_NO_CONTENT) \n \ + && !$*(r->status) \n \ + && r->connection && (r->connection->keepalive != -1)) { \n \ + (void) ap_discard_request_body(r); \n \ + } \ |SA-status-check\ - | + |dict-$*.html X|SA-methods\ |M_GET,M_PUT,M_POST,M_DELETE,M_CONNECT,M_OPTIONS,M_TRACE,M_INVALID\ |\ @@ -2799,41 +3036,41 @@ | C|M_GET\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->method_number == $*) return HTTP_METHOD_NOT_ALLOWED;\ |SA-methods\ - | + |dict-$*.html C|M_PUT\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->method_number == $*) return HTTP_METHOD_NOT_ALLOWED;\ |SA-methods\ - | + |dict-$*.html C|M_POST\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->method_number == $*) return HTTP_METHOD_NOT_ALLOWED;\ |SA-methods\ - | + |dict-$*.html C|M_DELETE\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->method_number == $*) return HTTP_METHOD_NOT_ALLOWED;\ |SA-methods\ - | + |dict-$*.html C|M_CONNECT\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->method_number == $*) return HTTP_METHOD_NOT_ALLOWED;\ |SA-methods\ - | + |dict-$*.html C|M_OPTIONS\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->method_number == $*) return HTTP_METHOD_NOT_ALLOWED;\ |SA-methods\ - | + |dict-$*.html C|M_TRACE\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->method_number == $*) return HTTP_METHOD_NOT_ALLOWED;\ |SA-methods\ - | + |dict-$*.html C|M_INVALID\ |#define $* <EM>value</EM>\ - |\ + |request_rec *r;\nif (r->method_number == $*) return HTTP_METHOD_NOT_ALLOWED;\ |SA-methods\ - | + |dict-$*.html 1.2 +3 -2 apache-devsite/apidoc/dict-ap_acquire_mutex.html Index: dict-ap_acquire_mutex.html =================================================================== RCS file: /home/cvs/apache-devsite/apidoc/dict-ap_acquire_mutex.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- dict-ap_acquire_mutex.html 1998/05/25 19:51:57 1.1 +++ dict-ap_acquire_mutex.html 1999/03/06 18:16:38 1.2 @@ -1,6 +1,7 @@ <P> -Acquires a mutex. Only actually does anything on multithreaded platforms. +Acquires a <A HREF="#mutex">mutex</A>. Only actually does anything on +multithreaded platforms. </P> <P> Returns MULTI_OK, MULTI_ERR or MULTI_TIMEOUT. -</P> \ No newline at end of file +</P> 1.2 +7 -5 apache-devsite/apidoc/dict-ap_destroy_pool.html Index: dict-ap_destroy_pool.html =================================================================== RCS file: /home/cvs/apache-devsite/apidoc/dict-ap_destroy_pool.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- dict-ap_destroy_pool.html 1998/05/03 01:24:10 1.1 +++ dict-ap_destroy_pool.html 1999/03/06 18:16:46 1.2 @@ -1,5 +1,7 @@ - <P> - This function will recursively destroy the specified - <A HREF="#pool">pool</A> allocation area and any sub-pools of it, - making any memory allocated to them available for use elsewhere. - </P> +<P> +This function will recursively destroy the specified +<A HREF="#pool">pool</A> allocation area and any sub-pools of it, +making any memory allocated to them available for use elsewhere. +Cleanups for the contents of the destroyed pool are run, after the +subpools have been reclaimed. +</P> 1.5 +3 -1 apache-devsite/apidoc/mkapidict Index: mkapidict =================================================================== RCS file: /home/cvs/apache-devsite/apidoc/mkapidict,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- mkapidict 1998/05/26 11:56:05 1.4 +++ mkapidict 1999/03/06 18:17:26 1.5 @@ -12,6 +12,8 @@ # # Edit history: # +# 1998-06-23 Chuck Murcko +# Bug fix for ARGV[1] processing of arguments with value 0. # 1998-05-26 Ken Coar # Change missing-args message to a 'usage' display, change <B> references # to <STRONG>s, clean up some style issues, and document what Ben's @@ -35,7 +37,7 @@ $OutFile = "$ARGV[0].bak"; die "Need template file" if (!$ARGV[0]); -die "Need layout type" if (!$ARGV[1]); +die "Need layout type" if (!defined($ARGV[1])); $Layout = $ARGV[1]; 1.1 apache-devsite/apidoc/dict-ACCESS_CONF.html Index: dict-ACCESS_CONF.html =================================================================== <P> Bitmasks of allowed locations for a configuration directive are the union of those indicated by each set bit in the req_override mask. </P> <P> ACCESS_CONF allows *.conf inside <Directory> or <Location>. </P> 1.1 apache-devsite/apidoc/dict-AP_MD5_CTX.html Index: dict-AP_MD5_CTX.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-BUFF.html Index: dict-BUFF.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-DECLINED.html Index: dict-DECLINED.html =================================================================== <P> The module declines to handle this request. </P> 1.1 apache-devsite/apidoc/dict-DONE.html Index: dict-DONE.html =================================================================== <P> The module has served the response completely. It is safe to terminate with no more output to the client. </P> 1.1 apache-devsite/apidoc/dict-FLAG.html Index: dict-FLAG.html =================================================================== <P> Command takes a Boolean argument, one of 'On' or 'Off'. </P> 1.1 apache-devsite/apidoc/dict-HARD_SERVER_LIMIT.html Index: dict-HARD_SERVER_LIMIT.html =================================================================== <P> The maximum possible number of server processes. </P> 1.1 apache-devsite/apidoc/dict-HTTP_ACCEPTED.html Index: dict-HTTP_ACCEPTED.html =================================================================== <P> Constant denoting HTTP Accepted status. Indicates the request has been accepted for processing, but the processing has not been completed. </P> 1.1 apache-devsite/apidoc/dict-HTTP_BAD_GATEWAY.html Index: dict-HTTP_BAD_GATEWAY.html =================================================================== <P> Constant denoting HTTP Bad Gateway status. The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request. </P> 1.1 apache-devsite/apidoc/dict-HTTP_BAD_REQUEST.html Index: dict-HTTP_BAD_REQUEST.html =================================================================== <P> Constant denoting HTTP Bad Request status. The request could not be understood by the server due to malformed syntax. </P> 1.1 apache-devsite/apidoc/dict-HTTP_CONFLICT.html Index: dict-HTTP_CONFLICT.html =================================================================== <P> Constant denoting HTTP Conflict status. The request could not be completed due to a conflict with the current state of the resource. </P> 1.1 apache-devsite/apidoc/dict-HTTP_CONTINUE.html Index: dict-HTTP_CONTINUE.html =================================================================== <P> Constant denoting HTTP Continue status. The client may continue with its request. </P> 1.1 apache-devsite/apidoc/dict-HTTP_CREATED.html Index: dict-HTTP_CREATED.html =================================================================== <P> Constant denoting HTTP Created status. The request has been fulfilled and resulted in a new resource being created. </P> 1.1 apache-devsite/apidoc/dict-HTTP_FORBIDDEN.html Index: dict-HTTP_FORBIDDEN.html =================================================================== <P> Constant denoting HTTP Forbidden status. The server understood the request, but is refusing to fulfill it. </P> 1.1 apache-devsite/apidoc/dict-HTTP_GATEWAY_TIME_OUT.html Index: dict-HTTP_GATEWAY_TIME_OUT.html =================================================================== <P> Constant denoting HTTP Gateway Time Out status. The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server it accessed in attempting to complete the request. /P> 1.1 apache-devsite/apidoc/dict-HTTP_GONE.html Index: dict-HTTP_GONE.html =================================================================== <P> Constant denoting HTTP Gone status. The requested resource is no longer available at the server and no forwarding address is known. </P> 1.1 apache-devsite/apidoc/dict-HTTP_INTERNAL_SERVER_ERROR.html Index: dict-HTTP_INTERNAL_SERVER_ERROR.html =================================================================== <P> Constant denoting HTTP Internal Server Error status. The server encountered an unexpected condition which prevented it from fulfilling the request. </P> 1.1 apache-devsite/apidoc/dict-HTTP_LENGTH_REQUIRED.html Index: dict-HTTP_LENGTH_REQUIRED.html =================================================================== <P> Constant denoting HTTP Length Required status. The server refuses to accept the request without a defined Content-Length. </P> 1.1 apache-devsite/apidoc/dict-HTTP_METHOD_NOT_ALLOWED.html Index: dict-HTTP_METHOD_NOT_ALLOWED.html =================================================================== <P> Constant denoting HTTP Method Not Allowed status. The method specified in the Request-Line is not allowed for the resource identified by the Request-URI. </P> 1.1 apache-devsite/apidoc/dict-HTTP_MOVED_PERMANENTLY.html Index: dict-HTTP_MOVED_PERMANENTLY.html =================================================================== <P> Constant denoting HTTP Moved Permanently status. The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD be done using one of the returned URIs. </P> 1.1 apache-devsite/apidoc/dict-HTTP_MOVED_TEMPORARILY.html Index: dict-HTTP_MOVED_TEMPORARILY.html =================================================================== <P> Constant denoting HTTP Moved Temporarily status. The requested resource resides temporarily under a different URI. </P> 1.1 apache-devsite/apidoc/dict-HTTP_MULTIPLE_CHOICES.html Index: dict-HTTP_MULTIPLE_CHOICES.html =================================================================== <P> Constant denoting HTTP Multiple Choice status. The requested resource corresponds to any one of a set of representations, each with its own specific location, and agent-driven negotiation information is being provided so that the user (or user agent) can select a preferred representation and redirect its request to that location. </P> 1.1 apache-devsite/apidoc/dict-HTTP_NON_AUTHORITATIVE.html Index: dict-HTTP_NON_AUTHORITATIVE.html =================================================================== <P> Constant denoting HTTP Non Authoritative response status. The returned metainformation in the entity-header is not the definitive set as available from the origin server, but is gathered from a local or a third-party copy. </P> 1.1 apache-devsite/apidoc/dict-HTTP_NOT_ACCEPTABLE.html Index: dict-HTTP_NOT_ACCEPTABLE.html =================================================================== <P> Constant denoting HTTP Not Acceptable status. The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request. </P> 1.1 apache-devsite/apidoc/dict-HTTP_NOT_FOUND.html Index: dict-HTTP_NOT_FOUND.html =================================================================== <P> Constant denoting HTTP Not Found status. The server has not found anything matching the Request-URI. </P> 1.1 apache-devsite/apidoc/dict-HTTP_NOT_IMPLEMENTED.html Index: dict-HTTP_NOT_IMPLEMENTED.html =================================================================== <P> Constant denoting HTTP Not Implemented status. The server does not support the functionality required to fulfill the request. </P> 1.1 apache-devsite/apidoc/dict-HTTP_NOT_MODIFIED.html Index: dict-HTTP_NOT_MODIFIED.html =================================================================== <P> Constant denoting HTTP Not Modified status. If the client has performed a conditional GET request and access is allowed, but the document has not been modified, the server SHOULD respond with this status code. </P> 1.1 apache-devsite/apidoc/dict-HTTP_NO_CONTENT.html Index: dict-HTTP_NO_CONTENT.html =================================================================== <P> Constant denoting HTTP No Content status. The server has fulfilled the request but there is no new information to send back. </P> 1.1 apache-devsite/apidoc/dict-HTTP_OK.html Index: dict-HTTP_OK.html =================================================================== <P> Constant denoting HTTP OK status. The request has succeeded. </P> 1.1 apache-devsite/apidoc/dict-HTTP_PARTIAL_CONTENT.html Index: dict-HTTP_PARTIAL_CONTENT.html =================================================================== <P> Constant denoting HTTP Partial Content status. The server has fulfilled the partial GET request for the resource. </P> 1.1 apache-devsite/apidoc/dict-HTTP_PAYMENT_REQUIRED.html Index: dict-HTTP_PAYMENT_REQUIRED.html =================================================================== <P> Constant denoting HTTP Payment Required status. This code is reserved for future use. </P> 1.1 apache-devsite/apidoc/dict-HTTP_PRECONDITION_FAILED.html Index: dict-HTTP_PRECONDITION_FAILED.html =================================================================== <P> Constant denoting HTTP Precondition Failed status. The precondition given in one or more of the request-header fields evaluated to false when it was tested on the server. </P> 1.1 apache-devsite/apidoc/dict-HTTP_PROXY_AUTHENTICATION_REQUIRED.html Index: dict-HTTP_PROXY_AUTHENTICATION_REQUIRED.html =================================================================== <P> Constant denoting HTTP Proxy Authentication Required status. This code is similar to Unauthorized, but indicates that the client MUST first authenticate itself with the proxy. </P> 1.1 apache-devsite/apidoc/dict-HTTP_REQUEST_ENTITY_TOO_LARGE.html Index: dict-HTTP_REQUEST_ENTITY_TOO_LARGE.html =================================================================== <P> Constant denoting HTTP Request Entity Too Large status. The server is refusing to process a request because the request entity is larger than the server is willing or able to process. </P> 1.1 apache-devsite/apidoc/dict-HTTP_REQUEST_TIME_OUT.html Index: dict-HTTP_REQUEST_TIME_OUT.html =================================================================== <P> Constant denoting HTTP Request Time Out status. The client did not produce a request within the time that the server was prepared to wait. </P> 1.1 apache-devsite/apidoc/dict-HTTP_REQUEST_URI_TOO_LARGE.html Index: dict-HTTP_REQUEST_URI_TOO_LARGE.html =================================================================== <P> Constant denoting HTTP Request URI Too Long status. The server is refusing to service the request because the Request-URI is longer than the server is willing to interpret. </P> 1.1 apache-devsite/apidoc/dict-HTTP_RESET_CONTENT.html Index: dict-HTTP_RESET_CONTENT.html =================================================================== <P> Constant denoting HTTP Reset Content status. The server has fulfilled the request and the user agent SHOULD reset the document view which caused the request to be sent. </P> 1.1 apache-devsite/apidoc/dict-HTTP_SEE_OTHER.html Index: dict-HTTP_SEE_OTHER.html =================================================================== <P> Constant denoting HTTP See Other status. The response to the request can be found under a different URI and SHOULD be retrieved using a GET method on that resource. </P> 1.1 apache-devsite/apidoc/dict-HTTP_SERVICE_UNAVAILABLE.html Index: dict-HTTP_SERVICE_UNAVAILABLE.html =================================================================== <P> Constant denoting HTTP Service Unavailable status. The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. </P> 1.1 apache-devsite/apidoc/dict-HTTP_SWITCHING_PROTOCOLS.html Index: dict-HTTP_SWITCHING_PROTOCOLS.html =================================================================== <P> Constant denoting HTTP Switching Protocols status. The server understands and is willing to comply with the client's request, via the Upgrade message header field, for a change in the application protocol being used on this connection. </P> 1.1 apache-devsite/apidoc/dict-HTTP_UNAUTHORIZED.html Index: dict-HTTP_UNAUTHORIZED.html =================================================================== <P> Constant denoting HTTP Unauthorized status. The request requires user authentication. </P> 1.1 apache-devsite/apidoc/dict-HTTP_UNSUPPORTED_MEDIA_TYPE.html Index: dict-HTTP_UNSUPPORTED_MEDIA_TYPE.html =================================================================== <P> Constant denoting HTTP Unsupported Media Type status. The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method. </P> 1.1 apache-devsite/apidoc/dict-HTTP_USE_PROXY.html Index: dict-HTTP_USE_PROXY.html =================================================================== <P> Constant denoting HTTP Use Proxy status. The requested resource MUST be accessed through the proxy given by the Location field. </P> 1.1 apache-devsite/apidoc/dict-HTTP_VARIANT_ALSO_VARIES.html Index: dict-HTTP_VARIANT_ALSO_VARIES.html =================================================================== <P> Constant denoting HTTP Variant Also Varies status. This status is not yet defined. </P> 1.1 apache-devsite/apidoc/dict-HTTP_VERSION_NOT_SUPPORTED.html Index: dict-HTTP_VERSION_NOT_SUPPORTED.html =================================================================== <P> Constant denoting HTTP Version Not Supported status. The server does not support, or refuses to support, the HTTP protocol version that was used in the request message. </P> 1.1 apache-devsite/apidoc/dict-ITERATE.html Index: dict-ITERATE.html =================================================================== <P> Command takes one argument, which may occur more than once. </P> 1.1 apache-devsite/apidoc/dict-ITERATE2.html Index: dict-ITERATE2.html =================================================================== <P> Command takes one argument, the second of which which may occur more than once. </P> 1.1 apache-devsite/apidoc/dict-MAX_STRING_LEN.html Index: dict-MAX_STRING_LEN.html =================================================================== <P> The maximum allowed length of strings in Apache. Current value in Apache 1.3 is 8192. HUGE_STRING_LEN is preferred for buffer length. </P> 1.1 apache-devsite/apidoc/dict-MODULE_MAGIC_NUMBER.html Index: dict-MODULE_MAGIC_NUMBER.html =================================================================== <P> This constant represents an APACHE server module API version. Modules should have a version member of their internal module structure which matches the MODULE_MAGIC_NUMBER of the Apache source base they'll run with. </P> 1.1 apache-devsite/apidoc/dict-MULTI_ERR.html Index: dict-MULTI_ERR.html =================================================================== <P> Constant used for thread error return value. </P> 1.1 apache-devsite/apidoc/dict-MULTI_OK.html Index: dict-MULTI_OK.html =================================================================== <P> Constant used for thread success return value. </P> 1.1 apache-devsite/apidoc/dict-MULTI_TIMEOUT.html Index: dict-MULTI_TIMEOUT.html =================================================================== <P> Constant used for thread timeout return value. </P> 1.1 apache-devsite/apidoc/dict-M_CONNECT.html Index: dict-M_CONNECT.html =================================================================== <P> Constant representing the HTTP CONNECT method. </P> 1.1 apache-devsite/apidoc/dict-M_DELETE.html Index: dict-M_DELETE.html =================================================================== <P> Constant representing the HTTP DELETE method. </P> 1.1 apache-devsite/apidoc/dict-M_GET.html Index: dict-M_GET.html =================================================================== <P> Constant representing the HTTP GET method. </P> 1.1 apache-devsite/apidoc/dict-M_INVALID.html Index: dict-M_INVALID.html =================================================================== <P> Constant representing the HTTP INVALID method. </P> 1.1 apache-devsite/apidoc/dict-M_OPTIONS.html Index: dict-M_OPTIONS.html =================================================================== <P> Constant representing the HTTP OPTIONS method. </P> 1.1 apache-devsite/apidoc/dict-M_POST.html Index: dict-M_POST.html =================================================================== <P> Constant representing the HTTP POST method. </P> 1.1 apache-devsite/apidoc/dict-M_PUT.html Index: dict-M_PUT.html =================================================================== <P> Constant representing the HTTP PUT method. </P> 1.1 apache-devsite/apidoc/dict-M_TRACE.html Index: dict-M_TRACE.html =================================================================== <P> Constant representing the HTTP TRACE method. </P> 1.1 apache-devsite/apidoc/dict-NO_ARGS.html Index: dict-NO_ARGS.html =================================================================== <P> Command takes no arguments. </P> 1.1 apache-devsite/apidoc/dict-OK.html Index: dict-OK.html =================================================================== <P> The module has handled this stage of request processing. </P> 1.1 apache-devsite/apidoc/dict-OR_AUTHCFG.html Index: dict-OR_AUTHCFG.html =================================================================== <P> Bitmasks of allowed locations for a configuration directive are the union of those indicated by each set bit in the req_override mask. </P> <P> OR_AUTHCFG allows *.conf inside <Directory> or <Location> and .htaccess when AllowOverride AuthConfig. </P> 1.1 apache-devsite/apidoc/dict-OR_FILEINFO.html Index: dict-OR_FILEINFO.html =================================================================== <P> Bitmasks of allowed locations for a configuration directive are the union of those indicated by each set bit in the req_override mask. </P> <P> OR_FILEINFO allows *.conf anywhere and .htaccess when AllowOverride FileInfo. </P> 1.1 apache-devsite/apidoc/dict-OR_INDEXES.html Index: dict-OR_INDEXES.html =================================================================== <P> Bitmasks of allowed locations for a configuration directive are the union of those indicated by each set bit in the req_override mask. </P> <P> OR_INDEXES allows *.conf anywhere and .htaccess when AllowOverride Indexes. </P> 1.1 apache-devsite/apidoc/dict-OR_LIMIT.html Index: dict-OR_LIMIT.html =================================================================== <P> Bitmasks of allowed locations for a configuration directive are the union of those indicated by each set bit in the req_override mask. </P> <P> OR_LIMIT allows *.conf inside <Directory> or <Location> and .htaccess when AllowOverride Limit. </P> 1.1 apache-devsite/apidoc/dict-OR_OPTIONS.html Index: dict-OR_OPTIONS.html =================================================================== <P> Bitmasks of allowed locations for a configuration directive are the union of those indicated by each set bit in the req_override mask. </P> <P> OR_OPTIONS allows *.conf anywhere and .htaccess when AllowOverride Options. </P> 1.1 apache-devsite/apidoc/dict-RAW_ARGS.html Index: dict-RAW_ARGS.html =================================================================== <P> Command function (in cmd_func) parses the command itself. Pstrdup() is usually used to copy arguments into local storage. </P> 1.1 apache-devsite/apidoc/dict-RSRC_CONF.html Index: dict-RSRC_CONF.html =================================================================== <P> Bitmasks of allowed locations for a configuration directive are the union of those indicated by each set bit in the req_override mask. </P> <P> RSRC_CONF allows *.conf outside <Directory> or <Location>. </P> 1.1 apache-devsite/apidoc/dict-SERVER_BUSY_DNS.html Index: dict-SERVER_BUSY_DNS.html =================================================================== <P> Scoreboard state constant indicating the server is performing a DNS lookup. </P> 1.1 apache-devsite/apidoc/dict-SERVER_BUSY_KEEPALIVE.html Index: dict-SERVER_BUSY_KEEPALIVE.html =================================================================== <P> Scoreboard state constant indicating the server is servicing a keepalive (persistent HTTP) request </P> 1.1 apache-devsite/apidoc/dict-SERVER_BUSY_LOG.html Index: dict-SERVER_BUSY_LOG.html =================================================================== <P> Scoreboard state constant indicating the server is writing to a log file. </P> 1.1 apache-devsite/apidoc/dict-SERVER_BUSY_READ.html Index: dict-SERVER_BUSY_READ.html =================================================================== <P> Scoreboard state constant indicating the server is reading data from a client (browser). </P> 1.1 apache-devsite/apidoc/dict-SERVER_BUSY_WRITE.html Index: dict-SERVER_BUSY_WRITE.html =================================================================== <P> Scoreboard state constant indicating the server is writing data to a client (browser). </P> 1.1 apache-devsite/apidoc/dict-SERVER_DEAD.html Index: dict-SERVER_DEAD.html =================================================================== <P> Scoreboard state constant indicating the server is down. </P> 1.1 apache-devsite/apidoc/dict-SERVER_GRACEFUL.html Index: dict-SERVER_GRACEFUL.html =================================================================== <P> Scoreboard state constant indicating the server is performing a graceful restart (without dropping all pending connects). </P> 1.1 apache-devsite/apidoc/dict-SERVER_NUM_STATUS.html Index: dict-SERVER_NUM_STATUS.html =================================================================== <P> Scoreboard constant indicating the number of state variables, for range checking. </P> 1.1 apache-devsite/apidoc/dict-SERVER_READY.html Index: dict-SERVER_READY.html =================================================================== <P> Scoreboard state constant indicating the server is ready and waiting for a connection. </P> 1.1 apache-devsite/apidoc/dict-SERVER_STARTING.html Index: dict-SERVER_STARTING.html =================================================================== <P> Scoreboard state constant indicating the server is spawning. </P> 1.1 apache-devsite/apidoc/dict-SERVER_SUPPORT.html Index: dict-SERVER_SUPPORT.html =================================================================== <P> This is the location at which to seek support for the server. Third parties should change this *only* if they intend to provide support for their release of Apache. </P> 1.1 apache-devsite/apidoc/dict-SERVER_VERSION.html Index: dict-SERVER_VERSION.html =================================================================== <P> String containing the Apache server version; a legacy. </P> 1.1 apache-devsite/apidoc/dict-START_PREQUEST.html Index: dict-START_PREQUEST.html =================================================================== <P> This constant is used to indicate a request's processing is started. Useful for timing purposes. </P> 1.1 apache-devsite/apidoc/dict-STOP_PREQUEST.html Index: dict-STOP_PREQUEST.html =================================================================== <P> This constant is used to indicate a request's processing is stopped (not necessarily completed). Useful for timing purposes. </P> 1.1 apache-devsite/apidoc/dict-TAKE1.html Index: dict-TAKE1.html =================================================================== <P> Command will take one argument only. </P> 1.1 apache-devsite/apidoc/dict-TAKE12.html Index: dict-TAKE12.html =================================================================== <P> Command will take one or two arguments. </P> 1.1 apache-devsite/apidoc/dict-TAKE123.html Index: dict-TAKE123.html =================================================================== <P> Command will take one, two, or three arguments. </P> 1.1 apache-devsite/apidoc/dict-TAKE13.html Index: dict-TAKE13.html =================================================================== <P> Command will take one or three arguments only. </P> 1.1 apache-devsite/apidoc/dict-TAKE2.html Index: dict-TAKE2.html =================================================================== <P> Command will take one or two arguments. </P> 1.1 apache-devsite/apidoc/dict-TAKE23.html Index: dict-TAKE23.html =================================================================== <P> Command will take two or three arguments. </P> 1.1 apache-devsite/apidoc/dict-TAKE3.html Index: dict-TAKE3.html =================================================================== <P> Command will take three arguments only. </P> 1.1 apache-devsite/apidoc/dict-ap_MD5Final.html Index: dict-ap_MD5Final.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_MD5Init.html Index: dict-ap_MD5Init.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_MD5Update.html Index: dict-ap_MD5Update.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_add_cgi_vars.html Index: dict-ap_add_cgi_vars.html =================================================================== <P> Sets CGI script related variables in the subprocess (child) environment for the current request. Variables set are: </P> <TABLE> <TR><TD>GATEWAY_INTERFACE <TR><TD>SERVER_PROTOCOL <TR><TD>REQUEST_METHOD <TR><TD>QUERY_STRING <TR><TD>REQUEST_URI <TR><TD>SCRIPT_NAME <TR><TD>PATH_INFO <TR><TD>PATH_TRANSLATED </TABLE> 1.1 apache-devsite/apidoc/dict-ap_add_common_vars.html Index: dict-ap_add_common_vars.html =================================================================== <P> Adds common variables to the subprocess (child) environment. Variables placed there are: </P> <TABLE> <TR><TD>CGI variables (see <A HREF="#ap_add_cgi_vars">ap_add_cgi_vars</A>) <TR><TD>CONTENT_TYPE <TR><TD>CONTENT_LENGTH <TR><TD>PATH <TR><TD>SERVER_NAME <TR><TD>SERVER_PORT <TR><TD>REMOTE_HOST <TR><TD>REMOTE_ADDR <TR><TD>DOCUMENT_ROOT <TR><TD>SERVER_ADMIN <TR><TD>SCRIPT_FILENAME <TR><TD>REMOTE_PORT <TR><TD>REMOTE_USER <TR><TD>REMOTE_IDENT <TR><TD> <TR><TD>Apache custom error responses, if applicable: <TR><TD> <TR><TD>REDIRECT_QUERY_STRING <TR><TD>REDIRECT_URL <TR><TD> <TR><TD>The following are also added in Win32 server: <TR><TD> <TR><TD>SystemRoot <TR><TD>COMSPEC <TR><TD>WINDIR </TABLE> 1.1 apache-devsite/apidoc/dict-ap_add_loaded_module.html Index: dict-ap_add_loaded_module.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_add_module.html Index: dict-ap_add_module.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_add_named_module.html Index: dict-ap_add_named_module.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_add_per_dir_conf.html Index: dict-ap_add_per_dir_conf.html =================================================================== <P> Add per-directory configuration entry (for <directory> section); these are part of the core server config. </P> <P> Returns a <A HREF="#core_server_config">core_server_config</A> structure. </P> 1.1 apache-devsite/apidoc/dict-ap_add_per_url_conf.html Index: dict-ap_add_per_url_conf.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_allow_options.html Index: dict-ap_allow_options.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_allow_overrides.html Index: dict-ap_allow_overrides.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_append_arrays.html Index: dict-ap_append_arrays.html =================================================================== <P> Makes a new array consisting of <I>b</I> appended to <I>a</I>. If <I>b</I> is empty, the new array is the same as <I>a</I> until a new element is added. This is a result of using <A HREF=#ap_copy_array_header>ap_copy_array_header </A> to make the new array. </P> <P> Returns a pointer to the new array. </P> 1.1 apache-devsite/apidoc/dict-ap_array_cat.html Index: dict-ap_array_cat.html =================================================================== <P> Appends <I>src</I> to <I>dst</I>. <I>dst</I> is extended if necessary. </P> <P> NOTE: There is no check for equal size of <I>src</I> and <I>dst</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_auth_name.html Index: dict-ap_auth_name.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_auth_type.html Index: dict-ap_auth_type.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_basic_http_header.html Index: dict-ap_basic_http_header.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bclose.html Index: dict-ap_bclose.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bcreate.html Index: dict-ap_bcreate.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bfilbuf.html Index: dict-ap_bfilbuf.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bfileno.html Index: dict-ap_bfileno.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bflsbuf.html Index: dict-ap_bflsbuf.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bflush.html Index: dict-ap_bflush.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bgetopt.html Index: dict-ap_bgetopt.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bgets.html Index: dict-ap_bgets.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bhalfduplex.html Index: dict-ap_bhalfduplex.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_block_alarms.html Index: dict-ap_block_alarms.html =================================================================== <P> Blocks pending timeouts, protecting critical code sections. </P> <P> Calls to this function can be nested, but each call must have a corresponding call to <A HREF=#unblock_alarms>unblock_alarms</A>. </P> 1.1 apache-devsite/apidoc/dict-ap_blookc.html Index: dict-ap_blookc.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bnonblock.html Index: dict-ap_bnonblock.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bonerror.html Index: dict-ap_bonerror.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bprintf.html Index: dict-ap_bprintf.html =================================================================== <P> Copies formatted data to a <A HREF="#BUFF">BUFF</A> structure. </P> <P> Returns 0 on success, -1 on failure. </P> 1.1 apache-devsite/apidoc/dict-ap_bpushfd.html Index: dict-ap_bpushfd.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bputs.html Index: dict-ap_bputs.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bread.html Index: dict-ap_bread.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bsetflag.html Index: dict-ap_bsetflag.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bsetopt.html Index: dict-ap_bsetopt.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bskiplf.html Index: dict-ap_bskiplf.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bvputs.html Index: dict-ap_bvputs.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bwrite.html Index: dict-ap_bwrite.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_bytes_in_free_blocks.html Index: dict-ap_bytes_in_free_blocks.html =================================================================== <P> Returns the number of bytes in free blocks for all pools. </P> 1.1 apache-devsite/apidoc/dict-ap_bytes_in_pool.html Index: dict-ap_bytes_in_pool.html =================================================================== <P> Returns the number of bytes allocated for <I>p</I>. </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_call_exec.html Index: dict-ap_call_exec.html =================================================================== <P> Calls exec() or the setuid wrapper, if setuid wrappers are enabled, to run <I>argv0</I>. <I>env</I> is a NULL-terminated array of strings to use as the program's environment, and <I>shellcmd</I> is a boolean indicating whether a shell should be spawned to run the command. If <I>r->args</I> is set and doesn't contain "=", it is passed to <I>argv0</I> as command line arguments. </P> <P> Never returns. </P> 1.1 apache-devsite/apidoc/dict-ap_can_exec.html Index: dict-ap_can_exec.html =================================================================== <P> Returns nonzero if the file <I>fstat</I> can be executed, 0 if it cannot. </P> 1.1 apache-devsite/apidoc/dict-ap_cfg_closefile.html Index: dict-ap_cfg_closefile.html =================================================================== <P> Closes <I>fp</I>. </P> <P> Returns 0 on success, -1 on error. </P> 1.1 apache-devsite/apidoc/dict-ap_cfg_getc.html Index: dict-ap_cfg_getc.html =================================================================== <P> Read one character from a configfile_t. Increments <I>cfp->line_number</I> if a newline is encountered. </P> <P> Returns the character found. </P> 1.1 apache-devsite/apidoc/dict-ap_cfg_getline.html Index: dict-ap_cfg_getline.html =================================================================== <P> Reads a line from a file, stripping whitespace. Reads up to <I>bufsize</I> characters from <I>cfp</I> into <I>buf</I>, converting any whitespace encountered to single spaces. </P> <P> Returns 0 on success, 1 if EOF encountered. </P> 1.1 apache-devsite/apidoc/dict-ap_chdir_file.html Index: dict-ap_chdir_file.html =================================================================== <P> Does a chdir to the directory containing <I>file</I>. The function finds the last slash in the path <I>file</I> and changes to that directory. </P> <P> Does nothing if there are no slashes in <I>file</I>. Does not check that chdir succeeds. </P> 1.1 apache-devsite/apidoc/dict-ap_check_access.html Index: dict-ap_check_access.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_check_alarm.html Index: dict-ap_check_alarm.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_check_auth.html Index: dict-ap_check_auth.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_check_cmd_context.html Index: dict-ap_check_cmd_context.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_check_user_id.html Index: dict-ap_check_user_id.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_checkmask.html Index: dict-ap_checkmask.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_child_exit_modules.html Index: dict-ap_child_exit_modules.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_child_init_modules.html Index: dict-ap_child_init_modules.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_child_terminate.html Index: dict-ap_child_terminate.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_cleanup_for_exec.html Index: dict-ap_cleanup_for_exec.html =================================================================== <P> Destroys all pools using <I>child_cleanup</I> methods. </P> <P> Note: call ONLY after forking and before execing a child process! </P> 1.1 apache-devsite/apidoc/dict-ap_clear_module_list.html Index: dict-ap_clear_module_list.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_clear_pool.html Index: dict-ap_clear_pool.html =================================================================== <P> Clears a pool, destroying all subpools of the pool using <A HREF="#ap_destroy_pool>ap_destroy_pool</A>. The pool is then ready to be reused. </P> 1.1 apache-devsite/apidoc/dict-ap_clear_table.html Index: dict-ap_clear_table.html =================================================================== <P> Clears the contents of <I>t</I>, readying it for reuse. </P> 1.1 apache-devsite/apidoc/dict-ap_close_piped_log.html Index: dict-ap_close_piped_log.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_construct_server.html Index: dict-ap_construct_server.html =================================================================== <P> Builds the server part of a URL, by appending :<I>port</I> to <I>hostname</I> if <I>port</I> isn't 80 (the HTTP port). </P> <P> Returns the server string. </P> 1.1 apache-devsite/apidoc/dict-ap_construct_url.html Index: dict-ap_construct_url.html =================================================================== <P> Builds a URL by prefixing http:// to the server name contained in <I>r</I>, and postfixing the path found in <I>uri</I>. </P> <P> Returns the constructed URL. </P> 1.1 apache-devsite/apidoc/dict-ap_content_type_tolower.html Index: dict-ap_content_type_tolower.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_copy_array.html Index: dict-ap_copy_array.html =================================================================== <P> Makes a new copy of <I>arr</I> in the pool <I>p</I>. </P> <P> Reutns a pointer to the new array. </P> 1.1 apache-devsite/apidoc/dict-ap_copy_array_hdr.html Index: dict-ap_copy_array_hdr.html =================================================================== <P> Copies <I>arr</I> into the pool <I>p</I> without copying the array's contents. If <A HREF=#ap_push_array>ap_push_array</A> is used to extend the new array, the original array is copied to it before the extend takes place. </P> <P> Returns a pointer to the new array. </P> 1.1 apache-devsite/apidoc/dict-ap_copy_table.html Index: dict-ap_copy_table.html =================================================================== <P> Returns a pointer to a copy of <I>t</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_core_reorder_directories.html Index: dict-ap_core_reorder_directories.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_count_dirs.html Index: dict-ap_count_dirs.html =================================================================== <P> Returns the number of slashes in <I>path</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_create_environment.html Index: dict-ap_create_environment.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_create_mutex.html Index: dict-ap_create_mutex.html =================================================================== <P> Creates a <A HREF="#mutex">mutex</A>. Only actually does anything on multithreaded platforms. </P> <P> Returns a <A HREF="#mutex">mutex *</A> in <I>name</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_create_per_dir_config.html Index: dict-ap_create_per_dir_config.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_create_request_config.html Index: dict-ap_create_request_config.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_day_snames.html Index: dict-ap_day_snames.html =================================================================== <P> An array of short names of the days, globally accessible. </P> 1.1 apache-devsite/apidoc/dict-ap_default_port_for_request.html Index: dict-ap_default_port_for_request.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_default_port_for_scheme.html Index: dict-ap_default_port_for_scheme.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_default_type.html Index: dict-ap_default_type.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_destroy_mutex.html Index: dict-ap_destroy_mutex.html =================================================================== <P> Destroys a <A HREF="#mutex">mutex</A>. Only actually does anything on multithreaded platforms. </P> <P> Returns nothing. </P> 1.1 apache-devsite/apidoc/dict-ap_destroy_sub_req.html Index: dict-ap_destroy_sub_req.html =================================================================== <P> Destroys a subrequest generated by <A HREF=#ap_sub_req_lookup_file>ap_sub_req_lookup_file</A> or <A HREF=#ap_sub_req_lookup_uri>ap_sub_req_lookup_uri and releases all memory allocated to it. </P> 1.1 apache-devsite/apidoc/dict-ap_die.html Index: dict-ap_die.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_discard_request_body.html Index: dict-ap_discard_request_body.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_document_root.html Index: dict-ap_document_root.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_each_byterange.html Index: dict-ap_each_byterange.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_error_log2stderr.html Index: dict-ap_error_log2stderr.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_escape_html.html Index: dict-ap_escape_html.html =================================================================== <P> Escapes HTML contained in <I>s</I> so that <, >, and & are displayed correctly. </P> <P> Returns a pointer to the escaped string. </P> 1.1 apache-devsite/apidoc/dict-ap_escape_path.html Index: dict-ap_escape_path.html =================================================================== <P> Escapes <I>path</I> according to RFC 1808. If <I>partial</I> is nonzero, the path is assumed partial so that ./ is not allowed to hide :. </P> <P> Returns a pointer to the escaped path. </P> 1.1 apache-devsite/apidoc/dict-ap_escape_path_segment.html Index: dict-ap_escape_path_segment.html =================================================================== <P> Returns an escaped version of <I>s</I>, per RFC 1808. </P> 1.1 apache-devsite/apidoc/dict-ap_escape_quotes.html Index: dict-ap_escape_quotes.html =================================================================== <P> Given a string, replace any bare " with \" . </P> <P> Returns a pointer to the quote-escaped string. </P> 1.1 apache-devsite/apidoc/dict-ap_escape_shell_cmd.html Index: dict-ap_escape_shell_cmd.html =================================================================== <P> Prefixes dangerous (exploitable) characters in <I>s</I> with \. The current set of such characters is: </P> <P> &;`'"|*?~<>^()[]{}$\ and \n </P> <P> Returns the escaped string. Note that '&' is converted to ' ' on both OS/2 and Win32 systems. </P> 1.1 apache-devsite/apidoc/dict-ap_exists_scoreboard_image.html Index: dict-ap_exists_scoreboard_image.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_finalize_request_protocol.html Index: dict-ap_finalize_request_protocol.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_finalize_sub_req_protocol.html Index: dict-ap_finalize_sub_req_protocol.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_find_command.html Index: dict-ap_find_command.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_find_command_in_modules.html Index: dict-ap_find_command_in_modules.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_find_last_token.html Index: dict-ap_find_last_token.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_find_linked_module.html Index: dict-ap_find_linked_module.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_find_module_name.html Index: dict-ap_find_module_name.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_find_path_info.html Index: dict-ap_find_path_info.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_find_pool.html Index: dict-ap_find_pool.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_find_token.html Index: dict-ap_find_token.html =================================================================== <P> Searches for <I>tok</I> in <I>line</I>. The token must be an exact match and be delimited by control characters, tabs, spaces, or one of: </P> <P> ()<>{}[]?=\/@,; </P> <P> Returns nonzero if found, zero if not found or failure. The definition of token is taken from RFC 2068. </P> 1.1 apache-devsite/apidoc/dict-ap_find_types.html Index: dict-ap_find_types.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_fini_vhost_config.html Index: dict-ap_fini_vhost_config.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_fnmatch.html Index: dict-ap_fnmatch.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_force_library_loading.html Index: dict-ap_force_library_loading.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_get_basic_auth_pw.html Index: dict-ap_get_basic_auth_pw.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_get_client_block.html Index: dict-ap_get_client_block.html =================================================================== <P> Reads up to <I>bufsize</I> characters into <I>buffer</I> from the client. <A HREF=#ap_setup_client_block>ap_setup_client_block</A> and <A HREF=#ap_should_client_block>ap_should_client_block</A> should be called before using this. </P> <P> Returns the number of bytes read, or 0 if no more data or an error. </P> 1.1 apache-devsite/apidoc/dict-ap_get_gmtoff.html Index: dict-ap_get_gmtoff.html =================================================================== <P> Fills in <I>tz</I> with the offset of local time from GMT in seconds. </P> <P> Returns the local time. </P> 1.1 apache-devsite/apidoc/dict-ap_get_local_host.html Index: dict-ap_get_local_host.html =================================================================== <P> Returns a pointer to the fully qualified domain name of the local host. </P> <P> On failure, logs an error and exit()s. </P> 1.1 apache-devsite/apidoc/dict-ap_get_module_config.html Index: dict-ap_get_module_config.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_get_remote_host.html Index: dict-ap_get_remote_host.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_get_remote_logname.html Index: dict-ap_get_remote_logname.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_get_server_built.html Index: dict-ap_get_server_built.html =================================================================== <P> Returns the date and time the server was built, or the string "unknown" if this data is indeterminate. </P> 1.1 apache-devsite/apidoc/dict-ap_get_server_name.html Index: dict-ap_get_server_name.html =================================================================== <P> Returns the hostname of the server running Apache. </P> <P> There are two options regarding what the "name" of a server is. The "canonical" name as defined by ServerName and Port, or the "client's name" as supplied by a possible Host: header or full URI. </P> 1.1 apache-devsite/apidoc/dict-ap_get_server_port.html Index: dict-ap_get_server_port.html =================================================================== <P> Returns the TCP port number where the server running Apache is listening. </P> <P> The port passed in the client's headers is not trusted; the port of the actual socket is used. </P> 1.1 apache-devsite/apidoc/dict-ap_get_server_version.html Index: dict-ap_get_server_version.html =================================================================== <P> Returns the server version string. </P> 1.1 apache-devsite/apidoc/dict-ap_get_time.html Index: dict-ap_get_time.html =================================================================== <P> Uses ctime() to get current time, remoning the newline. </P> <P> Returns pointer to a string containing the time. </P> 1.1 apache-devsite/apidoc/dict-ap_get_token.html Index: dict-ap_get_token.html =================================================================== <P> iExtracts a token from <I>accept_line</I>, skipping leading whitespace. The token is comma or semicolon delimited. Whitespace may also be processed as a delimiter if <I>accept_white</I> is nonzero. The token itself may conatin delimiters if it is enclosed in double quotes, which are stripped in the result. </P> <P> Returns a pointer to the token, allocated from <I>p</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_get_virthost_addr.html Index: dict-ap_get_virthost_addr.html =================================================================== <P> Converts a server hostname (<name>[:<port>]) to an IP address in network order. It writes <I>ports</I> with the port number. </P> <P> Returns the IP address on success. Returns INADDR_ANY if <I>w</I> is malformed, and logs an error and exit()s if the host has nultiple IP addresses. </P> 1.1 apache-devsite/apidoc/dict-ap_getparents.html Index: dict-ap_getparents.html =================================================================== <P> Strips '.' and '..' from a path, according to RFC 1808 <I>(Relative Uniform Resource Locators)</I>.</P> <P> Returns the processed string. In addition to being useful for correct URL matching, this function also has important security implications. </P> 1.1 apache-devsite/apidoc/dict-ap_getword.html Index: dict-ap_getword.html =================================================================== <P> Copies everything from <I>line</I> up to <I>stop</I> to a new string. <I>line</I> is updated to point to the first character after <I>stop</I>. Multiple occurrences of <I>stop</I> are skipped if present. </P> <P> Returns a pointer to the new string. If <I>line</I> contains no <I>stop</I>, the entire string is copied. </P> 1.1 apache-devsite/apidoc/dict-ap_getword_conf.html Index: dict-ap_getword_conf.html =================================================================== <P> Copies everything from <I>line</I> up to <I>stop</I> to a new string. <I>line</I> is updated to point to the first character after <I>stop</I>. Multiple occurrences of <I>stop</I> are skipped if present. Words can be separated by whitespace, and quote- and backslash-escaped characters are handled correctly. </P> <P> Returns a pointer to the new string. If <I>line</I> contains no <I>stop</I>, the entire string is copied. Quotes and backslashes are stripped. </P> 1.1 apache-devsite/apidoc/dict-ap_getword_conf_nc.html Index: dict-ap_getword_conf_nc.html =================================================================== <P> Copies everything from <I>line</I> up to <I>stop</I> to a new string. <I>line</I> is updated to point to the first character after <I>stop</I>. Multiple occurrences of <I>stop</I> are skipped if present. Words can be separated by whitespace, and quote- and backslash-escaped characters are handled correctly. Allows non-const <I>line</I>. </P> <P> Returns a pointer to the new string. If <I>line</I> contains no <I>stop</I>, the entire string is copied. Quotes and backslashes are stripped. </P> 1.1 apache-devsite/apidoc/dict-ap_getword_nc.html Index: dict-ap_getword_nc.html =================================================================== <P> Copies everything from <I>line</I> up to <I>stop</I> to a new string. <I>line</I> is updated to point to the first character after <I>stop</I>. Multiple occurrences of <I>stop</I> are skipped if present. Allows non-const <I>line</I>. </P> <P> Returns a pointer to the new string. If <I>line</I> contains no <I>stop</I>, the entire string is copied. </P> 1.1 apache-devsite/apidoc/dict-ap_getword_nulls.html Index: dict-ap_getword_nulls.html =================================================================== <P> Copies everything from <I>line</I> up to <I>stop</I> to a new string. <I>line</I> is updated to point to the first character after <I>stop</I>. Multiple occurrences of <I>stop</I> are not skipped if present, so that null characters are correctly processed. </P> <P> Returns a pointer to the new string. If <I>line</I> contains no <I>stop</I>, the entire string is copied. </P> 1.1 apache-devsite/apidoc/dict-ap_getword_nulls_nc.html Index: dict-ap_getword_nulls_nc.html =================================================================== <P> Copies everything from <I>line</I> up to <I>stop</I> to a new string. <I>line</I> is updated to point to the first character after <I>stop</I>. Multiple occurrences of <I>stop</I> are not skipped if present, so that null characters are correctly processed. Allows non-const <I>line</I>. </P> <P> Returns a pointer to the new string. If <I>line</I> contains no <I>stop</I>, the entire string is copied. </P> 1.1 apache-devsite/apidoc/dict-ap_getword_white.html Index: dict-ap_getword_white.html =================================================================== <P> Copies everything from <I>line</I> up to <I>stop</I> to a new string. <I>line</I> is updated to point to the first character after <I>stop</I>. Multiple occurrences of <I>stop</I> are skipped if present. Words are separated by whitespace. </P> <P> Returns a pointer to the new string. If <I>line</I> contains no <I>stop</I>, the entire string is copied. </P> 1.1 apache-devsite/apidoc/dict-ap_getword_white_nc.html Index: dict-ap_getword_white_nc.html =================================================================== <P> Copies everything from <I>line</I> up to <I>stop</I> to a new string. <I>line</I> is updated to point to the first character after <I>stop</I>. Multiple occurrences of <I>stop</I> are skipped if present. Words are separated by whitespace. Allows non-const <I>line</I>. </P> <P> Returns a pointer to the new string. If <I>line</I> contains no <I>stop</I>, the entire string is copied. </P> 1.1 apache-devsite/apidoc/dict-ap_gm_timestr_822.html Index: dict-ap_gm_timestr_822.html =================================================================== <P> Formats time as specified by RFC822 <I>(Standard for the Format of ARPA Internet Text Messages)</I>. The format is always GMT. </P> <P> Returns a pointer to a string containing the time. </P> 1.1 apache-devsite/apidoc/dict-ap_gname2id.html Index: dict-ap_gname2id.html =================================================================== <P> Returns the GID corresponding to <I>name</I>. </P> <P> If <I>name</I>'s first character is #, returns the number following as GID; otherwise, uses getgrnam() to look up the GID. </P> 1.1 apache-devsite/apidoc/dict-ap_handle_command.html Index: dict-ap_handle_command.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_hard_timeout.html Index: dict-ap_hard_timeout.html =================================================================== <P> Sets an alarm to expire when the server's configured timeout expires. When the alarm expires, the current request is aborted by longjmp() back to the top level and destroying all pools for the current request. </P> <P> <I>reason</I> is logged to the error log. </P> 1.1 apache-devsite/apidoc/dict-ap_header_parse.html Index: dict-ap_header_parse.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_ht_time.html Index: dict-ap_ht_time.html =================================================================== <P> Formats time using strftime(). If <I>gmt</I> is nonzero, time is formatted as GMT. Otherwise, it is formatted as local time. </P> <P> Returns a pointer to a string containing the time. </P> 1.1 apache-devsite/apidoc/dict-ap_ind.html Index: dict-ap_ind.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_index_of_response.html Index: dict-ap_index_of_response.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_init_alloc.html Index: dict-ap_init_alloc.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_init_modules.html Index: dict-ap_init_modules.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_init_vhost_config.html Index: dict-ap_init_vhost_config.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_init_virtual_host.html Index: dict-ap_init_virtual_host.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_internal_redirect.html Index: dict-ap_internal_redirect.html =================================================================== <P> Internally redirects a request to <I>uri</I>. The redirect is processed immediately. </P> 1.1 apache-devsite/apidoc/dict-ap_internal_redirect_handler.html Index: dict-ap_internal_redirect_handler.html =================================================================== <P> Internally redirects a request to <I>uri</I>. The redirect is processed immediately using the handler specified by <I>r</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_invoke_handler.html Index: dict-ap_invoke_handler.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_is_directory.html Index: dict-ap_is_directory.html =================================================================== <P> Returns nonzero if <I>path</I> is a directory, 0 if it isn't. </P> 1.1 apache-devsite/apidoc/dict-ap_is_fnmatch.html Index: dict-ap_is_fnmatch.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_is_initial_req.html Index: dict-ap_is_initial_req.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_is_matchexp.html Index: dict-ap_is_matchexp.html =================================================================== <P> Tests whether <I>exp</I> contains '*' or '?'. </P> <P> Returns 1 on match, 0 otherwise. </P> 1.1 apache-devsite/apidoc/dict-ap_is_url.html Index: dict-ap_is_url.html =================================================================== <P> Returns nonzero if <I>u</I> is a URL, 0 if it isn't. </P> 1.1 apache-devsite/apidoc/dict-ap_keepalive_timeout.html Index: dict-ap_keepalive_timeout.html =================================================================== <P> Sets an alarm to expire when the server's configured keepalive timeout expires. When the alarm expires, the current request is aborted by longjmp() back to the top level and destroying all pools for the current request. </P> <P> <I>reason</I> is logged to the error log. This function should only be used when waiting for a client request. </P> 1.1 apache-devsite/apidoc/dict-ap_kill_cleanup.html Index: dict-ap_kill_cleanup.html =================================================================== <P> Removes a previously registered cleanup function from <I>p</I>. The cleanup function is identified by <I>plain_cleanup</I> and <I>data</I>. </P> <P> Note: <I>data</I> must point to the same memory that was used for the <A HREF=#ap_register_cleanup>ap_register_cleanup</A> call. </P> 1.1 apache-devsite/apidoc/dict-ap_kill_cleanups_for_fd.html Index: dict-ap_kill_cleanups_for_fd.html =================================================================== <P> Kill cleanups for <I>fd</I> registered previously; i.e., with <A HREF=#ap_note_cleanups_for_fd>ap_note_cleanups_for_fd</A>. </P> <P> Normally done automatically when <I>fd</I> is closed. </P> 1.1 apache-devsite/apidoc/dict-ap_kill_cleanups_for_socket.html Index: dict-ap_kill_cleanups_for_socket.html =================================================================== <P> Kill cleanups for <I>sock</I> registered previously; i.e., with <A HREF=#ap_note_cleanups_for_socket>ap_note_cleanups_for_socket</A>. </P> <P> Normally done automatically when <I>sock</I> is closed. </P> 1.1 apache-devsite/apidoc/dict-ap_kill_timeout.html Index: dict-ap_kill_timeout.html =================================================================== <P> Clears the current timeout on the <A HREF=#request_rec>request_rec</A> <I>r</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_limit_section.html Index: dict-ap_limit_section.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_log_error.html Index: dict-ap_log_error.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_log_error_old.html Index: dict-ap_log_error_old.html =================================================================== <P> Logs the message string in <I>err</I> to <I>s->error_log</I>. </P> <P> Implemented in terms of <A HREF="#ap_log_error">ap_log_error</A>. </P> 1.1 apache-devsite/apidoc/dict-ap_log_pid.html Index: dict-ap_log_pid.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_log_printf.html Index: dict-ap_log_printf.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_log_reason.html Index: dict-ap_log_reason.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_log_transaction.html Index: dict-ap_log_transaction.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_log_unixerr.html Index: dict-ap_log_unixerr.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_make_array.html Index: dict-ap_make_array.html =================================================================== <P> Allocates enough memory to contain <I>nelts</I> elements of size <I>elt_size</I>. The array grows to contain the number of elements requested. </P> <P> Returns a pointer to the new array. </P> 1.1 apache-devsite/apidoc/dict-ap_make_dirstr.html Index: dict-ap_make_dirstr.html =================================================================== <P> Copies <I>s</I>, a path, guaranteed to end at a slash, and truncates the path at the <I>n</I>th slash. </P> <P> Returns a pointer to the copied string, allocated in <I>p</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_make_dirstr_parent.html Index: dict-ap_make_dirstr_parent.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_make_dirstr_prefix.html Index: dict-ap_make_dirstr_prefix.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_make_full_path.html Index: dict-ap_make_full_path.html =================================================================== <P> Appends <I>f</I> to <I>dir</I>, allowing one slash only between them. </P> <P> Returns a pointer to the joined path. </P> 1.1 apache-devsite/apidoc/dict-ap_make_table.html Index: dict-ap_make_table.html =================================================================== <P> Makes a new <A HREF=#table>table</A> with enough memory for <I>nelts</I> elements. </P> <P> Returns a pointer to the new <A HREF=#table>table</A>. </P> 1.1 apache-devsite/apidoc/dict-ap_matches_request_vhost.html Index: dict-ap_matches_request_vhost.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_md5.html Index: dict-ap_md5.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_md5context.html Index: dict-ap_md5context.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_md5contextTo64.html Index: dict-ap_md5contextTo64.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_md5digest.html Index: dict-ap_md5digest.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_meets_conditions.html Index: dict-ap_meets_conditions.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_merge_per_dir_configs.html Index: dict-ap_merge_per_dir_configs.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_month_snames.html Index: dict-ap_month_snames.html =================================================================== <P> An array of short names of the months, globally accessible. </P> 1.1 apache-devsite/apidoc/dict-ap_no2slash.html Index: dict-ap_no2slash.html =================================================================== <P> Removes double slashes from a path. </P> <P> This is important for correct interpretation of URLs. </P> 1.1 apache-devsite/apidoc/dict-ap_note_auth_failure.html Index: dict-ap_note_auth_failure.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_note_basic_auth_failure.html Index: dict-ap_note_basic_auth_failure.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_note_cleanups_for_fd.html Index: dict-ap_note_cleanups_for_fd.html =================================================================== <P> Register a cleanup to close <I>fd</I> then <I>p</I> is destroyed. </P> <P> Normally, this is done automatically when the file is closed. </P> 1.1 apache-devsite/apidoc/dict-ap_note_cleanups_for_file.html Index: dict-ap_note_cleanups_for_file.html =================================================================== <P> Register a cleanup to close <I>f</I> then <I>p</I> is destroyed. </P> <P> Normally, this is done automatically when the stream is closed. </P> 1.1 apache-devsite/apidoc/dict-ap_note_cleanups_for_socket.html Index: dict-ap_note_cleanups_for_socket.html =================================================================== <P> Register a cleanup function <I>socket_cleanup</I> to close <I>sock</I> when <I>p</I> is destroyed. </P> <P> Normally, this is done automatically when the socket is closed. </P> 1.1 apache-devsite/apidoc/dict-ap_note_digest_auth_failure.html Index: dict-ap_note_digest_auth_failure.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_note_subprocess.html Index: dict-ap_note_subprocess.html =================================================================== <P> Registers a subprocess which will be killed on pool destruction. </P> <P> See <A HREF=#kill_conditions>kill_conditions</A> for the various ways the child process can be killed. </P> 1.1 apache-devsite/apidoc/dict-ap_null_cleanup.html Index: dict-ap_null_cleanup.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_open_logs.html Index: dict-ap_open_logs.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_open_mutex.html Index: dict-ap_open_mutex.html =================================================================== <P> Opens a <A HREF="#mutex">mutex</A>. Only actually does anything on multithreaded platforms. </P> <P> Returns a <A HREF="#mutex">mutex *</A> in <I>name</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_open_piped_log.html Index: dict-ap_open_piped_log.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_os_canonical_filename.html Index: dict-ap_os_canonical_filename.html =================================================================== <P> Returns a canonical filename. Processing (if any) is OS-dependent. </P> 1.1 apache-devsite/apidoc/dict-ap_os_is_path_absolute.html Index: dict-ap_os_is_path_absolute.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_overlay_tables.html Index: dict-ap_overlay_tables.html =================================================================== <P> Concatenates <I>overlay</I> then <I>base</I> into a new table. No merging of key/value pairs is done. </P> <P> Returns a pointer to the new table. </P> 1.1 apache-devsite/apidoc/dict-ap_palloc.html Index: dict-ap_palloc.html =================================================================== <P> Allocates memory in a pool of at least <I>size</I> bytes. </P> <P> Returns a pointer to the new block of memory. </P> 1.1 apache-devsite/apidoc/dict-ap_parseHTTPdate.html Index: dict-ap_parseHTTPdate.html =================================================================== <P> Parses a date in one of three formats - RFC1123, RFC1036, or ANSI C asctime() format. </P> <P> Returns the time in seconds since 1 Jan 1970 00:00 GMT. The timezone field is ignored, since HTTP time is always GMT. </P> 1.1 apache-devsite/apidoc/dict-ap_parse_hostinfo_components.html Index: dict-ap_parse_hostinfo_components.html =================================================================== <P> Special case for CONNECT parsing: it comes with the hostinfo part only */ See the INTERNET-DRAFT document "Tunneling SSL Through a WWW Proxy" currently at http://www.mcom.com/newsref/std/tunneling_ssl.html for the format of the "CONNECT host:port HTTP/1.0" request </P> <P> Returns HTTP_OK on success, HTTP_BAD_REQUEST on failure. </P> 1.1 apache-devsite/apidoc/dict-ap_parse_htaccess.html Index: dict-ap_parse_htaccess.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_parse_uri.html Index: dict-ap_parse_uri.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_parse_uri_components.html Index: dict-ap_parse_uri_components.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_parse_vhost_addrs.html Index: dict-ap_parse_vhost_addrs.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_pcalloc.html Index: dict-ap_pcalloc.html =================================================================== <P> Allocates memory in a pool of at least <I>size</I> bytes, and initializes the memory to zero. </P> <P> Returns a rointer to the newly allocated block of memory. </P> 1.1 apache-devsite/apidoc/dict-ap_pcfg_open_custom.html Index: dict-ap_pcfg_open_custom.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_pcfg_openfile.html Index: dict-ap_pcfg_openfile.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_pclosedir.html Index: dict-ap_pclosedir.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_pclosef.html Index: dict-ap_pclosef.html =================================================================== <P> Closes a file previously opened with <A HREF=#popenf>popenf</A>. The file's cleanup function is destroyed.</P> <P> Returns a normal <I>close</I> return value. </P> 1.1 apache-devsite/apidoc/dict-ap_pclosesocket.html Index: dict-ap_pclosesocket.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_pduphostent.html Index: dict-ap_pduphostent.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_pfclose.html Index: dict-ap_pfclose.html =================================================================== <P> Closes a stream, and removes any cleanup function from the <I>p</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_pfdopen.html Index: dict-ap_pfdopen.html =================================================================== <P> Opens a stream (similar to <I>fdopen</I>), but ensures the stream is closed when <I>p</I> is destroyed.</P> <P> Returns a new stream pointer, or NULL on error. </P> 1.1 apache-devsite/apidoc/dict-ap_pfopen.html Index: dict-ap_pfopen.html =================================================================== <P> Opens a stream (similar to <I>fopen</I>), but ensures the stream is closed when <I>p</I> is destroyed.</P> <P> Returns a new stream pointer, or NULL on error. </P> 1.1 apache-devsite/apidoc/dict-ap_pool_is_ancestor.html Index: dict-ap_pool_is_ancestor.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_pool_join.html Index: dict-ap_pool_join.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_popendir.html Index: dict-ap_popendir.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_popenf.html Index: dict-ap_popenf.html =================================================================== <P> This function opens a file, with automatic cleanup when <I>p</I> is destroyed. </P> <P> Returns <I>fd</I>, or -1 on error. </P> 1.1 apache-devsite/apidoc/dict-ap_pregcomp.html Index: dict-ap_pregcomp.html =================================================================== <P> Equivalent to <I>regcomp</I>, but any memory used is freed when <I>p</I> is destroyed. </P> 1.1 apache-devsite/apidoc/dict-ap_pregfree.html Index: dict-ap_pregfree.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_pregsub.html Index: dict-ap_pregsub.html =================================================================== <P> Equivalent to regsub(), but uses <I>p</I> for memory allocation. </P> 1.1 apache-devsite/apidoc/dict-ap_process_request.html Index: dict-ap_process_request.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_process_resource_config.html Index: dict-ap_process_resource_config.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_psignature.html Index: dict-ap_psignature.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_psocket.html Index: dict-ap_psocket.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_psprintf.html Index: dict-ap_psprintf.html =================================================================== <P> Writes formatted data to a <A HREF="#pool">pool</A>. Returns 0 on success, exits with return code 1 if out of memory. </P> <P> ap_psprintf is implemented by writing directly into the current block of the pool, starting right at first_avail. If there's insufficient room, then a new block is allocated and the earlier output is copied over. The new block isn't linked into the pool until all the output is done. </P> <P> Note that this is completely safe because nothing else can allocate in this pool while ap_psprintf is running. alarms are blocked, and the only thing outside of alloc.c that's invoked is ap_vformatter -- which was purposefully written to be self-contained with no callouts. </P> <P> ap_psprintf is implemented using <A HREF="#ap_pvsprintf">ap_pvsprintf</A>. </P> 1.1 apache-devsite/apidoc/dict-ap_pstrcat.html Index: dict-ap_pstrcat.html =================================================================== <P> Concatenates the NULL-terminated string list into a new block of memory. </P> <P> Returns a pointer to the new block of memory. </P> 1.1 apache-devsite/apidoc/dict-ap_pstrdup.html Index: dict-ap_pstrdup.html =================================================================== <P> Duplicates a string within a pool. </P> <P> If <I>s</I> is NULL, the function returns NULL. Otherwise, returns a pointer to the new copy of the string <I>s</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_pstrndup.html Index: dict-ap_pstrndup.html =================================================================== <P> Allocates <I>n</I> + 1 bytes of memory and copies up to <I>n</I> characters from <I>s</I>. The result is NULL-terminated. </P> <P> Returns NULL if <I>s</I> is NULL, otherwise returns a pointer to the (possibly partly) copied memory. </P> 1.1 apache-devsite/apidoc/dict-ap_push_array.html Index: dict-ap_push_array.html =================================================================== <P> Allocates more memory for the additional array element(s). </P> <P> Returns a pointer to the next element of <I>arr</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_pvsprintf.html Index: dict-ap_pvsprintf.html =================================================================== <P> Writes a varargs list to a <A HREF="#pool">pool</A>. Returns 0 on success, exits with return code 1 if out of memory. </P> <P> <A HREF="#ap_psprintf">ap_psprintf</A> is implemented using ap_pvsprintf. </P> 1.1 apache-devsite/apidoc/dict-ap_rationalize_mtime.html Index: dict-ap_rationalize_mtime.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_read_config.html Index: dict-ap_read_config.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_read_request.html Index: dict-ap_read_request.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_register_cleanup.html Index: dict-ap_register_cleanup.html =================================================================== <P> Registers two functions to be called when <I>p</I> is destroyed. There are two reasons a pool can be destroyed:<BR><BR> The server has finished with that pool.<BR><BR> The server has forked and is preparing to <I>exec</I> another program.<BR><BR> In the first case, the <I>plain_cleanup</I> function is called; in the second, the <I>child_cleanup</I> function is called. </P> <P> <I>Data</I> is passed as the only argument to the cleanup function. </P> 1.1 apache-devsite/apidoc/dict-ap_register_other_child.html Index: dict-ap_register_other_child.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_remove_loaded_module.html Index: dict-ap_remove_loaded_module.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_remove_module.html Index: dict-ap_remove_module.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_requires.html Index: dict-ap_requires.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_reset_timeout.html Index: dict-ap_reset_timeout.html =================================================================== <P> Resets the hard or soft timeout to its original value. </P> 1.1 apache-devsite/apidoc/dict-ap_response_code_string.html Index: dict-ap_response_code_string.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_restart_time.html Index: dict-ap_restart_time.html =================================================================== <P> The time, represented as a time_t, when the server was started. </P> 1.1 apache-devsite/apidoc/dict-ap_rfc1413.html Index: dict-ap_rfc1413.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_rflush.html Index: dict-ap_rflush.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_rind.html Index: dict-ap_rind.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_rprintf.html Index: dict-ap_rprintf.html =================================================================== <P> Sends the printf() style list of strings to the client. </P> <P> Returns the number of bytes sent on success, or -1 on error. </P> 1.1 apache-devsite/apidoc/dict-ap_rputc.html Index: dict-ap_rputc.html =================================================================== <P> Sends the character in <I>c</I> to the client. </P> <P> Returns <I>c</I>, or EOF if the connection has been closed. </P> 1.1 apache-devsite/apidoc/dict-ap_rputs.html Index: dict-ap_rputs.html =================================================================== <P> Sends the string <I>str</I> to the client. </P> <P> Returns the number of bytes sent on success, or -1 on error. </P> 1.1 apache-devsite/apidoc/dict-ap_run_cleanup.html Index: dict-ap_run_cleanup.html =================================================================== <P> Runs a cleanup function <I>cleanup</I>, with alarms blocked. </P> <P> Usually not used except for special cases, as cleanups run automatically. </P> 1.1 apache-devsite/apidoc/dict-ap_run_fixups.html Index: dict-ap_run_fixups.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_run_post_read_request.html Index: dict-ap_run_post_read_request.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_run_sub_req.html Index: dict-ap_run_sub_req.html =================================================================== <P> Runs a subrequest generated with <A HREF=#ap_sub_req_lookup_file>ap_sub_req_lookup_file</A> or <A HREF=#ap_sub_req_lookup_uri>ap_sub_req_lookup_uri. </P> <P> Returns the status code of the request handler. </P> 1.1 apache-devsite/apidoc/dict-ap_rvputs.html Index: dict-ap_rvputs.html =================================================================== <P> Sends the NULL terminated list of strings to the client. </P> <P> Returns the number of bytes sent on success, or -1 on error. </P> 1.1 apache-devsite/apidoc/dict-ap_rwrite.html Index: dict-ap_rwrite.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_satisfies.html Index: dict-ap_satisfies.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_scan_script_header_err.html Index: dict-ap_scan_script_header_err.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_scan_script_header_err_buff.html Index: dict-ap_scan_script_header_err_buff.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_scoreboard_image.html Index: dict-ap_scoreboard_image.html =================================================================== <P> A (hopefully) shared memory image of the server scoreboard structure. </P> 1.1 apache-devsite/apidoc/dict-ap_send_error_response.html Index: dict-ap_send_error_response.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_send_fb.html Index: dict-ap_send_fb.html =================================================================== <P> Copies the BUFF <I>f</I> to the client. </P> <P> Returns the number of bytes sent. </P> 1.1 apache-devsite/apidoc/dict-ap_send_fb_length.html Index: dict-ap_send_fb_length.html =================================================================== <P> Copies no more than <I>length</I> bytes from the BUFF <I>f</I> to the client. If <I>length</I> is < 0, copies the whole buffer. </P> <P> Returns the number of bytes sent. </P> ~ 1.1 apache-devsite/apidoc/dict-ap_send_fd.html Index: dict-ap_send_fd.html =================================================================== <P> Copies the stream <I>f</I> to the client. </P> <P> Returns the number of bytes sent. </P> 1.1 apache-devsite/apidoc/dict-ap_send_fd_length.html Index: dict-ap_send_fd_length.html =================================================================== <P> Copies no more than <I>length</I> bytes from the stream <I>f</I> to the client. If <I>length</I> is < 0, copies the whole file. </P> <P> Returns the number of bytes sent. </P> ~ 1.1 apache-devsite/apidoc/dict-ap_send_header_field.html Index: dict-ap_send_header_field.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_send_http_header.html Index: dict-ap_send_http_header.html =================================================================== <P> Sends HTTP headers to the client from <I>r->headers_out</I>. Additional HTTP headers may be sent by the server, depending on HTTP protocol version. This must be called in a request handler before sending content. </P> 1.1 apache-devsite/apidoc/dict-ap_send_http_options.html Index: dict-ap_send_http_options.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_send_http_trace.html Index: dict-ap_send_http_trace.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_send_mmap.html Index: dict-ap_send_mmap.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_send_size.html Index: dict-ap_send_size.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_server_argv0.html Index: dict-ap_server_argv0.html =================================================================== <P> The command line argument string by which Apache was invoked, </P> 1.1 apache-devsite/apidoc/dict-ap_server_root.html Index: dict-ap_server_root.html =================================================================== <P> The string value of the ServerRoot configuration directive, the root directory of the server installation. </P> 1.1 apache-devsite/apidoc/dict-ap_server_root_relative.html Index: dict-ap_server_root_relative.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_byterange.html Index: dict-ap_set_byterange.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_callback_and_alarm.html Index: dict-ap_set_callback_and_alarm.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_content_length.html Index: dict-ap_set_content_length.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_etag.html Index: dict-ap_set_etag.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_file_slot.html Index: dict-ap_set_file_slot.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_flag_slot.html Index: dict-ap_set_flag_slot.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_keepalive.html Index: dict-ap_set_keepalive.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_last_modified.html Index: dict-ap_set_last_modified.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_module_config.html Index: dict-ap_set_module_config.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_name_virtual_host.html Index: dict-ap_set_name_virtual_host.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_string_slot.html Index: dict-ap_set_string_slot.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_string_slot_lower.html Index: dict-ap_set_string_slot_lower.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_set_sub_req_protocol.html Index: dict-ap_set_sub_req_protocol.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_setup_client_block.html Index: dict-ap_setup_client_block.html =================================================================== <P> Readies to receive data from the client, normally because the client made a PUT or POST request. Should be called before <A HREF=#ap_should_client_block>ap_should_client_block</A>. </P> <P> Returns OK if data is allowed from the client, or a status code if it is not. Note that OK will be returned even if the request doesn't contain client data. </P> 1.1 apache-devsite/apidoc/dict-ap_setup_prelinked_modules.html Index: dict-ap_setup_prelinked_modules.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_should_client_block.html Index: dict-ap_should_client_block.html =================================================================== <P> Checks if the client will send data and invites it to continue doing so. Sends a 100 Continue response if HTTP 1.1 or higher. This function should be called after <A HREF=#ap_setup_client_block>ap_setup_client_block</A> and before <A HREF=#ap_get_client_block>ap_get_client_block</A>. </P> <P> Returns 1 if the client should send data, 0 if not. </P> 1.1 apache-devsite/apidoc/dict-ap_show_directives.html Index: dict-ap_show_directives.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_show_modules.html Index: dict-ap_show_modules.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_snprintf.html Index: dict-ap_snprintf.html =================================================================== <P> These are snprintf implementations based on <A HREF="#ap_vformatter"> ap_vformatter()</A>. </P> <P> Note that various standards and implementations disagree on the return value of snprintf, and side-effects due to %n in the formatting string. ap_snprintf behaves as follows: </P> <P> Process the format string until the entire string is exhausted, or the buffer fills. If the buffer fills then stop processing immediately (so no further %n arguments are processed), and return the buffer length. In all cases the buffer is NUL terminated. </P> <P> In no event does ap_snprintf return a negative number. It's not possible to distinguish between an output which was truncated, and an output which exactly filled the buffer. </P> 1.1 apache-devsite/apidoc/dict-ap_soft_timeout.html Index: dict-ap_soft_timeout.html =================================================================== <P> Sets an alarm to expire when the server's configured timeout expires. When the alarm expires, the client connection is closed, and no further I/O is done. </P> <P> <I>str</I> is logged to the error log. </P> 1.1 apache-devsite/apidoc/dict-ap_some_auth_required.html Index: dict-ap_some_auth_required.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_spawn_child_err.html Index: dict-ap_spawn_child_err.html =================================================================== <P> Spawns a child process. Pipes may be optionally connected to the child's standard input, output, and error. If any of the pipes are NULL, they aren't created. If <I>func</I> will need cleanup, it calls <A HREF=#ap_cleanup_for_exec>ap_cleanup_for_exec</A>. </P> <P> See <A HREF=#kill_conditions>kill_conditions</A> for the various ways the child process can be killed. Returns PID of the child, or -1 on error. <</P> 1.1 apache-devsite/apidoc/dict-ap_spawn_child_err_buff.html Index: dict-ap_spawn_child_err_buff.html =================================================================== <P> Spawns a child process. <A HREF=#BUFF>BUFF</A>s may be optionally connected to the child's standard input, output, and error. If any of the <A HREF=#BUFF>BUFF</A>s are NULL, they aren't created. If <I>func</I> will need cleanup, it calls <A HREF=#ap_cleanup_for_exec>ap_cleanup_for_exec</A>. </P> <P> See <A HREF=#kill_conditions>kill_conditions</A> for the various ways the child process can be killed. Returns PID of the child, or -1 on error. <</P> 1.1 apache-devsite/apidoc/dict-ap_srm_command_loop.html Index: dict-ap_srm_command_loop.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_start_restart.html Index: dict-ap_start_restart.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_start_shutdown.html Index: dict-ap_start_shutdown.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_str_tolower.html Index: dict-ap_str_tolower.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_strcasecmp_match.html Index: dict-ap_strcasecmp_match.html =================================================================== <P> Matches <I>str</I> to <I>exp</I>. '*' can be used for anynumber of characters, and '?' can be used for any single character. </P> <P> Returns 1 for success, 0 for failure, and -1 for abort. Deprecated, use newer regex functions instead. </P> 1.1 apache-devsite/apidoc/dict-ap_strcmp_match.html Index: dict-ap_strcmp_match.html =================================================================== <P> Matches <I>str</I> to <I>exp</I>. '*' can be used for anynumber of characters, and '?' can be used for any single character. </P> <P> Returns 1 for success, 0 for failure, and -1 for abort. Deprecated, use newer regex functions instead. </P> 1.1 apache-devsite/apidoc/dict-ap_sub_req_lookup_file.html Index: dict-ap_sub_req_lookup_file.html =================================================================== <P> Processes <I>new_file</I> to produce a new <A HREF=#request_rec>request_rec</A>, which is processed up to the point where the new request handler would be called. If the URI is relative, it is processed relative to the URI of <I>r</I>. </P> <P> Returns the new <A HREF=#request_rec>request_rec</A>, whose <I>status</I> member contains any error code. </P> 1.1 apache-devsite/apidoc/dict-ap_sub_req_lookup_uri.html Index: dict-ap_sub_req_lookup_uri.html =================================================================== <P> Processes the URI <I>new_file</I> to produce a new <A HREF=#request_rec>request_rec</A>, which is processed up to the point where the new request handler would be called. If the URI is relative, it is processed relative to the URI of <I>r</I>. </P> <P> Returns the new <A HREF=#request_rec>request_rec</A>, whose <I>status</I> member contains any error code. </P> 1.1 apache-devsite/apidoc/dict-ap_suexec_enabled.html Index: dict-ap_suexec_enabled.html =================================================================== <P> Boolean value indicating whether the suexec facility is active. </P> 1.1 apache-devsite/apidoc/dict-ap_sync_scoreboard_image.html Index: dict-ap_sync_scoreboard_image.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_table_add.html Index: dict-ap_table_add.html =================================================================== <P> Adds a new value <I>val</I> to <I>t</I>, associated with <I>key</I>. </P> <P> A new table entry is always created, even if it duplicates another. </P> 1.1 apache-devsite/apidoc/dict-ap_table_addn.html Index: dict-ap_table_addn.html =================================================================== <P> Adds a new value <I>val</I> to <I>t</I>, associated with <I>key</I>. </P> <P> A new table entry is always created, even if it duplicates another. This function does not use <A HREF=#ap_pstrdup>ap_pstrdup</A>. </P> 1.1 apache-devsite/apidoc/dict-ap_table_do.html Index: dict-ap_table_do.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_table_get.html Index: dict-ap_table_get.html =================================================================== <P> Returns the value of <I>key</I> in table <I>t</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_table_merge.html Index: dict-ap_table_merge.html =================================================================== <P> If <I>name</I> exists as a key value in <I>tab</I>, <I>more_val</I> is added to the table. A new entry is created otherwise. </P> <P> If more than one occurrence of <I>name</I> exists, only the first is modified. </P> 1.1 apache-devsite/apidoc/dict-ap_table_mergen.html Index: dict-ap_table_mergen.html =================================================================== <P> If <I>name</I> exists as a key value in <I>tab</I>, <I>more_val</I> is added to the table. A new entry is created otherwise. </P> <P> If more than one occurrence of <I>name</I> exists, only the first is modified. This function does not use <A HREF=#ap_pstrdup>ap_pstrdup</A>. </P> 1.1 apache-devsite/apidoc/dict-ap_table_set.html Index: dict-ap_table_set.html =================================================================== <P> Replaces or creates <I>t</I> with new <I>val</I> in table <I>t</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_table_setn.html Index: dict-ap_table_setn.html =================================================================== <P> Replaces or creates <I>t</I> with new <I>val</I> in table <I>t</I>. </P> <P> This function does not use <A HREF=#ap_pstrdup>ap_pstrdup</A>. </P> 1.1 apache-devsite/apidoc/dict-ap_table_unset.html Index: dict-ap_table_unset.html =================================================================== <P> Removes the table entry corresponding to <I>key</I>. </P> <P> Removing nonexistent entries is not an error condition. </P> 1.1 apache-devsite/apidoc/dict-ap_time_process_request.html Index: dict-ap_time_process_request.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_tm2sec.html Index: dict-ap_tm2sec.html =================================================================== <P> Returns time <I>t</I> to seconds since 1 Jan 1970 00:00 GMT. </P> <P> <I>t</I> is assumed to be time in GMT format. </P> 1.1 apache-devsite/apidoc/dict-ap_translate_name.html Index: dict-ap_translate_name.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_uname2id.html Index: dict-ap_uname2id.html =================================================================== <P> Returns the UID corresponding to <I>name</I>. </P> <P> If <I>name</I>'s first character is #, returns the number following as UID; otherwise, uses getpwnam() to look up the UID. </P> 1.1 apache-devsite/apidoc/dict-ap_unblock_alarms.html Index: dict-ap_unblock_alarms.html =================================================================== <P> Removes a block on alarms for a call to <A HREF=#block_alarms>block_alarms</A>. </P> 1.1 apache-devsite/apidoc/dict-ap_unescape_url.html Index: dict-ap_unescape_url.html =================================================================== <P> Replaces escape sequences (%nn) in a URL with the original unescaped character. Replacement is done in place. </P> <P> Returns 0 on success, BAD_REQUEST if a bad escape sequence is found, or NOT_FOUND if %2F (/) is found. </P> 1.1 apache-devsite/apidoc/dict-ap_unparse_uri_components.html Index: dict-ap_unparse_uri_components.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_unregister_other_child.html Index: dict-ap_unregister_other_child.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_update_child_status.html Index: dict-ap_update_child_status.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_update_mtime.html Index: dict-ap_update_mtime.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_update_vhost_from_headers.html Index: dict-ap_update_vhost_from_headers.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_update_vhost_given_ip.html Index: dict-ap_update_vhost_given_ip.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_util_init.html Index: dict-ap_util_init.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_util_uri_init.html Index: dict-ap_util_uri_init.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_uudecode.html Index: dict-ap_uudecode.html =================================================================== <P> Returns a uudecoded version of <I>str</I>. </P> 1.1 apache-devsite/apidoc/dict-ap_vbprintf.html Index: dict-ap_vbprintf.html =================================================================== <P> Copies formatted data to a <A HREF="#BUFF">BUFF</A> structure. </P> <P> Returns 0 on success, -1 on failure. </P> 1.1 apache-devsite/apidoc/dict-ap_vformatter.html Index: dict-ap_vformatter.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_vformatter_buff.html Index: dict-ap_vformatter_buff.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-ap_vsnprintf.html Index: dict-ap_vsnprintf.html =================================================================== <P> These are vsnprintf implementations based on <A HREF="#ap_vformatter"> ap_vformatter()</A>. </P> <P> Note that various standards and implementations disagree on the return value of vsnprintf, and side-effects due to %n in the formatting string. ap_vsnprintf behaves as follows: </P> <P> Process the format string until the entire string is exhausted, or the buffer fills. If the buffer fills then stop processing immediately (so no further %n arguments are processed), and return the buffer length. In all cases the buffer is NUL terminated. </P> <P> In no event does ap_vsnprintf return a negative number. It's not possible to distinguish between an output which was truncated, and an output which exactly filled the buffer. </P> 1.1 apache-devsite/apidoc/dict-ap_wait_t.html Index: dict-ap_wait_t.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-array_header.html Index: dict-array_header.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-cmd_how.html Index: dict-cmd_how.html =================================================================== <P> A set of values designating how argument processing is done for a given instance of a <A HREF="#command_rec">command_rec</A>. Note that for all of these values except RAW_ARGS, the config routine is passed a freshly allocated string which can be modified or stored. It's only necessary to do pstrdup() copying with RAW_ARGS. The allowable values are: </P> <TABLE> <TR> <TD>RAW_ARGS <TD>cmd_func parses command line itself <TR> <TD>TAKE1 <TD>one argument only <TR> <TD>TAKE2 <TD>two arguments only <TR> <TD>ITERATE <TD>one argument, occuring multiple times (e.g., IndexIgnore) <TR> <TD>ITERATE2 <TD>two arguments, 2nd occurs multiple times (e.g., AddIcon) <TR> <TD>FLAG <TD>One of 'On' or 'Off' <TR> <TD>NO_ARGS <TD>No argsuments at all, e.g. </Directory> <TR> <TD>TAKE12 <TD>one or two arguments <TR> <TD>TAKE3 <TD>three arguments only <TR> <TD>TAKE23 <TD>two or three arguments <TR> <TD>TAKE123 <TD>one, two or three arguments <TR> <TD>TAKE13 <TD>one or three arguments </TABLE> 1.1 apache-devsite/apidoc/dict-cmd_parms.html Index: dict-cmd_parms.html =================================================================== <P> This structure is passed to a command which is being invoked, to carry a large variety of miscellaneous data. </P> 1.1 apache-devsite/apidoc/dict-command_rec.html Index: dict-command_rec.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-configfile_t.html Index: dict-configfile_t.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-conn_rec.html Index: dict-conn_rec.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-core_module.html Index: dict-core_module.html =================================================================== <P> This global module structure will be first in the core static module list. The core_module is exposed to other modules for NCSA back compatibility. </P> 1.1 apache-devsite/apidoc/dict-global_score.html Index: dict-global_score.html =================================================================== <P> <I>exit_generation</I> is a boolean, set by the main process if a graceful restart is required. </P> 1.1 apache-devsite/apidoc/dict-is_HTTP_CLIENT_ERROR.html Index: dict-is_HTTP_CLIENT_ERROR.html =================================================================== <P> Macro which returns boolean true if the HTTP status code passed to it denotes a client error. </P> 1.1 apache-devsite/apidoc/dict-is_HTTP_ERROR.html Index: dict-is_HTTP_ERROR.html =================================================================== <P> Macro which returns boolean true if the HTTP status code passed to it denotes a client or server error. </P> 1.1 apache-devsite/apidoc/dict-is_HTTP_INFO.html Index: dict-is_HTTP_INFO.html =================================================================== <P> Macro which returns boolean true if the HTTP status code passed to it denotes an information message. </P> 1.1 apache-devsite/apidoc/dict-is_HTTP_REDIRECT.html Index: dict-is_HTTP_REDIRECT.html =================================================================== <P> Macro which returns boolean true if the HTTP status code passed to it denotes a redirect. </P> 1.1 apache-devsite/apidoc/dict-is_HTTP_SERVER_ERROR.html Index: dict-is_HTTP_SERVER_ERROR.html =================================================================== <P> Macro which returns boolean true if the HTTP status code passed to it denotes a server error. </P> 1.1 apache-devsite/apidoc/dict-is_HTTP_SUCCESS.html Index: dict-is_HTTP_SUCCESS.html =================================================================== <P> Macro which returns boolean true if the HTTP status code passed to it denotes a successful result. </P> 1.1 apache-devsite/apidoc/dict-kill_conditions.html Index: dict-kill_conditions.html =================================================================== <P> Enumeration of process termination conditions, used by Apache process control functions such as ap_note_subprocess() and ap_spawn_child(). The values signify: </P> <TABLE BORDER=0> <TR> <TD>kill_never <TD>process is never sent any signals <TR> <TD>kill_always <TD>process is sent SIGKILL on pool cleanup <TR> <TD>kill_after_timeout <TD>send SIGTERM, wait 3 seconds, send SIGKILL <TR> <TD>just_wait <TD>wait forever for the process to complete <TR> <TD>kill_only_once <TD>send SIGTERM and then wait </TABLE> 1.1 apache-devsite/apidoc/dict-module.html Index: dict-module.html =================================================================== <P> A server extension module in Apache can declare handlers for a particular phase --- these are C functions which return an integer status code, and which take as argument a pointer to a structure known as a request_rec, which contains and coordinates all of the information regarding a particular request: the URI requested, type of the request, relevant directory-specific configuration information, and the like. In fact, the interface between the server core and extension modules (including the ones which implement the server's native NCSA emulation functionality) is through a module structure which consists mostly of pointers to handlers for various phases, or NULL, if the module elects not to handle that phase (there is also other information concerned with configuration management). </P> <P> As a special case, a module can declare several handlers for the response-handling phase, distinguished by the types of entities (scripts, directories, ordinary files of particular kinds, or anything at all) that they wish to handle. The server core code does a dispatch based on the type of the entity requested to find the handler (or handlers, if the first one declines the request) which it eventually invokes. </P> 1.1 apache-devsite/apidoc/dict-mutex.html Index: dict-mutex.html =================================================================== <P> Internal structure of a thread locking mechanism. </P> 1.1 apache-devsite/apidoc/dict-parent_score.html Index: dict-parent_score.html =================================================================== <P> This structure contains data which the parent generally writes and the children rarely read. </P> <P> The parent_rec structure contains time(0) of the last change, and the last vtime the parent has seen. </P> 1.1 apache-devsite/apidoc/dict-piped_log.html Index: dict-piped_log.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-pool.html Index: dict-pool.html =================================================================== <P> Memory pool allocation routines in Apache are designed so that we don't have to keep track of EVERYTHING so that it can be explicitly freed later. (a fundamentally unsound strategy --- particularly in the presence of die()). </P> <P> Instead, we maintain pools, and allocate items (both memory and I/O handlers) from the pools --- currently there are two, one for per transaction info (request_rec/conn_rec), and one for config info (server_rec). When a transaction is over, we can delete everything in the per-transaction pool without fear, and without thinking too hard about it either. There are two reasons a pool can be destroyed:<BR><BR> The server has finished with that pool.<BR><BR> The server has forked and is preparing to <I>exec</I> another program. </P> 1.1 apache-devsite/apidoc/dict-regex_t.html Index: dict-regex_t.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-regmatch_t.html Index: dict-regmatch_t.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-request_rec.html Index: dict-request_rec.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-scoreboard.html Index: dict-scoreboard.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-server_rec.html Index: dict-server_rec.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-short_score.html Index: dict-short_score.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-status_drops_connection.html Index: dict-status_drops_connection.html =================================================================== <P> Macro representing a Boolean expression for all HTTP error response values which will cause the current connection to be dropped. </P> 1.1 apache-devsite/apidoc/dict-table.html Index: dict-table.html =================================================================== <P> A table is an association between two strings known as <I>key</I> and <I>value</I>, accessed via <I>key</I>. </P> 1.1 apache-devsite/apidoc/dict-top_module.html Index: dict-top_module.html =================================================================== <P> This global module structure will be first in the non-core module list. </P> 1.1 apache-devsite/apidoc/dict-uri_components.html Index: dict-uri_components.html =================================================================== <P> </P> <P> </P> 1.1 apache-devsite/apidoc/dict-vtime_t.html Index: dict-vtime_t.html =================================================================== <P> A "virtual time" is simply a counter that indicates that a child is making progress. The parent checks up on each child, and when they have made progress it resets the last_rtime element. But when the child hasn't made progress in a time that's roughly timeout_len seconds long, it is sent a SIGALRM. </P> <P> Vtime is an optimization that is used only when the scoreboard is in shared memory (it's not easy/feasible to do it in a scoreboard file). The essential observation is that timeouts rarely occur, the vast majority of hits finish before any timeout happens. So it really is suboptimal to have to ask the operating system to set up and destroy alarms many times during a request. </P>