diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-01-19 08:04:36 +0100 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-01-19 08:04:36 +0100 |
commit | 59bbd68becf86e8485b1d863b7e66c82614c161a (patch) | |
tree | 41b86a03d3950ed7c77e7b625f0b16d7ac92f419 /os | |
parent | Remove some STATUS items that are already in APR's STATUS file. (diff) | |
download | apache2-59bbd68becf86e8485b1d863b7e66c82614c161a.tar.xz apache2-59bbd68becf86e8485b1d863b7e66c82614c161a.zip |
The big change. This is part 3 of the apr-util symbols rename, please
see the first commit of srclib/apr-util/include (cvs apr-util/include)
for the quick glance at symbols changed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87731 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os')
-rw-r--r-- | os/unix/unixd.c | 4 | ||||
-rw-r--r-- | os/unix/unixd.h | 2 | ||||
-rw-r--r-- | os/win32/mod_isapi.c | 76 |
3 files changed, 41 insertions, 41 deletions
diff --git a/os/unix/unixd.c b/os/unix/unixd.c index 168a9a9cb0..1db01cddf6 100644 --- a/os/unix/unixd.c +++ b/os/unix/unixd.c @@ -419,8 +419,8 @@ AP_DECLARE(void) unixd_set_rlimit(cmd_parms *cmd, struct rlimit **plimit, #endif } -AP_HOOK_STRUCT( - AP_HOOK_LINK(get_suexec_identity) +APR_HOOK_STRUCT( + APR_HOOK_LINK(get_suexec_identity) ) AP_IMPLEMENT_HOOK_RUN_FIRST(ap_unix_identity_t *, get_suexec_identity, diff --git a/os/unix/unixd.h b/os/unix/unixd.h index 205efcaf74..1e6224ea03 100644 --- a/os/unix/unixd.h +++ b/os/unix/unixd.h @@ -67,7 +67,7 @@ #ifdef HAVE_SYS_RESOURCE_H #include <sys/resource.h> #endif -#include "ap_hooks.h" +#include "apr_hooks.h" #include "apr_thread_proc.h" #include <pwd.h> diff --git a/os/win32/mod_isapi.c b/os/win32/mod_isapi.c index 54a9e8de2a..543fff835f 100644 --- a/os/win32/mod_isapi.c +++ b/os/win32/mod_isapi.c @@ -77,7 +77,7 @@ #include "apr_strings.h" #include "apr_portable.h" -#include "ap_buckets.h" +#include "apr_buckets.h" #include "ap_config.h" #include "httpd.h" #include "http_config.h" @@ -648,17 +648,17 @@ BOOL WINAPI WriteClient (HCONN ConnID, LPVOID Buffer, LPDWORD lpwdwBytes, DWORD dwReserved) { request_rec *r = ((isapi_cid *)ConnID)->r; - ap_bucket_brigade *bb; - ap_bucket *b; + apr_bucket_brigade *bb; + apr_bucket *b; if (dwReserved == HSE_IO_SYNC) ; /* XXX: Fake it */ - bb = ap_brigade_create(r->pool); - b = ap_bucket_create_transient(Buffer, (apr_size_t)lpwdwBytes); - AP_BRIGADE_INSERT_TAIL(bb, b); - b = ap_bucket_create_eos(); - AP_BRIGADE_INSERT_TAIL(bb, b); + bb = apr_brigade_create(r->pool); + b = apr_bucket_create_transient(Buffer, (apr_size_t)lpwdwBytes); + APR_BRIGADE_INSERT_TAIL(bb, b); + b = apr_bucket_create_eos(); + APR_BRIGADE_INSERT_TAIL(bb, b); ap_pass_brigade(r->output_filters, bb); return TRUE; @@ -796,14 +796,14 @@ BOOL WINAPI ServerSupportFunction(HCONN hConn, DWORD dwHSERequest, return FALSE; } else if (ate < headlen) { - ap_bucket_brigade *bb; - ap_bucket *b; - bb = ap_brigade_create(cid->r->pool); - b = ap_bucket_create_transient((char*) lpdwDataType + ate, + apr_bucket_brigade *bb; + apr_bucket *b; + bb = apr_brigade_create(cid->r->pool); + b = apr_bucket_create_transient((char*) lpdwDataType + ate, headlen - ate); - AP_BRIGADE_INSERT_TAIL(bb, b); - b = ap_bucket_create_eos(); - AP_BRIGADE_INSERT_TAIL(bb, b); + APR_BRIGADE_INSERT_TAIL(bb, b); + b = apr_bucket_create_eos(); + APR_BRIGADE_INSERT_TAIL(bb, b); ap_pass_brigade(cid->r->output_filters, bb); } return TRUE; @@ -885,8 +885,8 @@ BOOL WINAPI ServerSupportFunction(HCONN hConn, DWORD dwHSERequest, { HSE_TF_INFO *tf = (HSE_TF_INFO*)lpvBuffer; apr_status_t rv; - ap_bucket_brigade *bb; - ap_bucket *b; + apr_bucket_brigade *bb; + apr_bucket *b; apr_file_t *fd; if (!cid->isa->fakeasync && (tf->dwFlags & HSE_IO_ASYNC)) { @@ -903,7 +903,7 @@ BOOL WINAPI ServerSupportFunction(HCONN hConn, DWORD dwHSERequest, } /* apr_dupfile_oshandle (&fd, tf->hFile, r->pool); */ - bb = ap_brigade_create(r->pool); + bb = apr_brigade_create(r->pool); if (tf->dwFlags & HSE_IO_SEND_HEADERS) { @@ -922,35 +922,35 @@ BOOL WINAPI ServerSupportFunction(HCONN hConn, DWORD dwHSERequest, (apr_size_t)tf->HeadLength); if (ate < 0) { - ap_brigade_destroy(bb); + apr_brigade_destroy(bb); SetLastError(TODO_ERROR); return FALSE; } if (ate < (apr_size_t)tf->HeadLength) { - b = ap_bucket_create_transient((char*)tf->pHead + ate, + b = apr_bucket_create_transient((char*)tf->pHead + ate, (apr_size_t)tf->HeadLength - ate); - AP_BRIGADE_INSERT_TAIL(bb, b); + APR_BRIGADE_INSERT_TAIL(bb, b); } } else if (tf->pHead && tf->HeadLength) { - b = ap_bucket_create_transient((char*)tf->pHead, + b = apr_bucket_create_transient((char*)tf->pHead, (apr_size_t)tf->HeadLength); - AP_BRIGADE_INSERT_TAIL(bb, b); + APR_BRIGADE_INSERT_TAIL(bb, b); } - b = ap_bucket_create_file(fd, (apr_off_t)tf->Offset, + b = apr_bucket_create_file(fd, (apr_off_t)tf->Offset, (apr_size_t)tf->BytesToWrite); - AP_BRIGADE_INSERT_TAIL(bb, b); + APR_BRIGADE_INSERT_TAIL(bb, b); if (tf->pTail && (apr_size_t)tf->TailLength) { - b = ap_bucket_create_transient((char*)tf->pTail, + b = apr_bucket_create_transient((char*)tf->pTail, (apr_size_t)tf->TailLength); - AP_BRIGADE_INSERT_TAIL(bb, b); + APR_BRIGADE_INSERT_TAIL(bb, b); } - b = ap_bucket_create_eos(); - AP_BRIGADE_INSERT_TAIL(bb, b); + b = apr_bucket_create_eos(); + APR_BRIGADE_INSERT_TAIL(bb, b); ap_pass_brigade(r->output_filters, bb); /* we do nothing with (tf->dwFlags & HSE_DISCONNECT_AFTER_SEND) @@ -1099,14 +1099,14 @@ BOOL WINAPI ServerSupportFunction(HCONN hConn, DWORD dwHSERequest, return FALSE; } else if (ate < (apr_off_t)shi->cchHeader) { - ap_bucket_brigade *bb; - ap_bucket *b; - bb = ap_brigade_create(cid->r->pool); - b = ap_bucket_create_transient(shi->pszHeader + ate, + apr_bucket_brigade *bb; + apr_bucket *b; + bb = apr_brigade_create(cid->r->pool); + b = apr_bucket_create_transient(shi->pszHeader + ate, (apr_size_t)shi->cchHeader - ate); - AP_BRIGADE_INSERT_TAIL(bb, b); - b = ap_bucket_create_eos(); - AP_BRIGADE_INSERT_TAIL(bb, b); + APR_BRIGADE_INSERT_TAIL(bb, b); + b = apr_bucket_create_eos(); + APR_BRIGADE_INSERT_TAIL(bb, b); ap_pass_brigade(cid->r->output_filters, bb); } return TRUE; @@ -1266,8 +1266,8 @@ static const char *isapi_cmd_cachefile(cmd_parms *cmd, void *dummy, static void isapi_hooks(apr_pool_t *cont) { - ap_hook_post_config(isapi_post_config, NULL, NULL, AP_HOOK_MIDDLE); - ap_hook_handler(isapi_handler, NULL, NULL, AP_HOOK_MIDDLE); + ap_hook_post_config(isapi_post_config, NULL, NULL, APR_HOOK_MIDDLE); + ap_hook_handler(isapi_handler, NULL, NULL, APR_HOOK_MIDDLE); } static const command_rec isapi_cmds[] = { |