You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@locus.apache.org on 2000/06/06 06:11:08 UTC
cvs commit: apache-2.0/src/include http_core.h
wrowe 00/06/05 21:11:08
Modified: src/main http_core.c
src/include http_core.h
Log:
Hmmm... exporting a hook, very interesting :-)
But the win32 build believes hooks are pretty uninteresting, mostly
static __cdecl calls, so pound this declaration into NONSTD.
Revision Changes Path
1.69 +1 -1 apache-2.0/src/main/http_core.c
Index: http_core.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/main/http_core.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- http_core.c 2000/06/06 01:49:30 1.68
+++ http_core.c 2000/06/06 04:11:07 1.69
@@ -2371,7 +2371,7 @@
* Core handlers for various phases of server operation...
*/
-API_EXPORT(int) ap_core_translate(request_rec *r)
+API_EXPORT_NONSTD(int) ap_core_translate(request_rec *r)
{
void *sconf = r->server->module_config;
core_server_config *conf = ap_get_module_config(sconf, &core_module);
1.13 +1 -1 apache-2.0/src/include/http_core.h
Index: http_core.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/include/http_core.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- http_core.h 2000/06/06 01:49:30 1.12
+++ http_core.h 2000/06/06 04:11:08 1.13
@@ -137,7 +137,7 @@
API_EXPORT(unsigned long) ap_get_limit_req_body(const request_rec *r);
API_EXPORT(void) ap_custom_response(request_rec *r, int status, char *string);
API_EXPORT(int) ap_exists_config_define(char *name);
-API_EXPORT(int) ap_core_translate(request_rec *r);
+API_EXPORT_NONSTD(int) ap_core_translate(request_rec *r);
/* Authentication stuff. This is one of the places where compatibility
* with the old config files *really* hurts; they don't discriminate at