diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2010-03-05 20:09:46 +0100 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2010-03-05 20:09:46 +0100 |
commit | 8e5e0e80857a1c2f682b9dd6e7fcda258b8e86ca (patch) | |
tree | 77764c82c2507742ca2af432823672baf3869270 /modules/arch/win32/mod_isapi.c | |
parent | revert r918671; these four functions don't need to be (diff) | |
download | apache2-8e5e0e80857a1c2f682b9dd6e7fcda258b8e86ca.tar.xz apache2-8e5e0e80857a1c2f682b9dd6e7fcda258b8e86ca.zip |
Prevent future developers from being as easily confused; prefix the
registered callback function names with regfnXxx.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@919543 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | modules/arch/win32/mod_isapi.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/modules/arch/win32/mod_isapi.c b/modules/arch/win32/mod_isapi.c index 6c1705b614..13930613fe 100644 --- a/modules/arch/win32/mod_isapi.c +++ b/modules/arch/win32/mod_isapi.c @@ -485,10 +485,10 @@ struct isapi_cid { apr_thread_mutex_t *completed; }; -static int APR_THREAD_FUNC GetServerVariable (isapi_cid *cid, - char *variable_name, - void *buf_ptr, - apr_uint32_t *buf_size) +static int APR_THREAD_FUNC regfnGetServerVariable(isapi_cid *cid, + char *variable_name, + void *buf_ptr, + apr_uint32_t *buf_size) { request_rec *r = cid->r; const char *result; @@ -587,9 +587,9 @@ static int APR_THREAD_FUNC GetServerVariable (isapi_cid *cid, return 0; } -static int APR_THREAD_FUNC ReadClient(isapi_cid *cid, - void *buf_data, - apr_uint32_t *buf_size) +static int APR_THREAD_FUNC regfnReadClient(isapi_cid *cid, + void *buf_data, + apr_uint32_t *buf_size) { request_rec *r = cid->r; apr_uint32_t read = 0; @@ -804,10 +804,10 @@ static apr_ssize_t send_response_header(isapi_cid *cid, return ate; } -static int APR_THREAD_FUNC WriteClient(isapi_cid *cid, - void *buf_ptr, - apr_uint32_t *size_arg, - apr_uint32_t flags) +static int APR_THREAD_FUNC regfnWriteClient(isapi_cid *cid, + void *buf_ptr, + apr_uint32_t *size_arg, + apr_uint32_t flags) { request_rec *r = cid->r; conn_rec *c = r->connection; @@ -860,11 +860,11 @@ static int APR_THREAD_FUNC WriteClient(isapi_cid *cid, return (rv == APR_SUCCESS); } -static int APR_THREAD_FUNC ServerSupportFunction(isapi_cid *cid, - apr_uint32_t HSE_code, - void *buf_ptr, - apr_uint32_t *buf_size, - apr_uint32_t *data_type) +static int APR_THREAD_FUNC regfnServerSupportFunction(isapi_cid *cid, + apr_uint32_t HSE_code, + void *buf_ptr, + apr_uint32_t *buf_size, + apr_uint32_t *data_type) { request_rec *r = cid->r; conn_rec *c = r->connection; @@ -1495,10 +1495,10 @@ static apr_status_t isapi_handler (request_rec *r) cid->ecb->lpszContentType = (char*) apr_table_get(e, "CONTENT_TYPE"); /* Set up the callbacks */ - cid->ecb->GetServerVariable = GetServerVariable; - cid->ecb->WriteClient = WriteClient; - cid->ecb->ReadClient = ReadClient; - cid->ecb->ServerSupportFunction = ServerSupportFunction; + cid->ecb->GetServerVariable = regfnGetServerVariable; + cid->ecb->WriteClient = regfnWriteClient; + cid->ecb->ReadClient = regfnReadClient; + cid->ecb->ServerSupportFunction = regfnServerSupportFunction; /* Set up client input */ res = ap_setup_client_block(r, REQUEST_CHUNKED_ERROR); |