summaryrefslogtreecommitdiff
path: root/misc/win32/start.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-14 15:58:54 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-14 15:58:54 +0000
commit00a9ca6dfcb4118e8b5fd850a29512b6350a64e0 (patch)
treec07dfce5f37b9ffae3b9b7b8b0b435fb98cdc74b /misc/win32/start.c
parentcf78e17a5bfa07c2801e0c9005e09496679db918 (diff)
downloadlibapr-00a9ca6dfcb4118e8b5fd850a29512b6350a64e0.tar.gz
Change ap_context_t to ap_pool_t. This compiles, runs, and serves pages
on Linux, but probably breaks somewhere. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc/win32/start.c')
-rw-r--r--misc/win32/start.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/misc/win32/start.c b/misc/win32/start.c
index 49cbffb20..eb281e9df 100644
--- a/misc/win32/start.c
+++ b/misc/win32/start.c
@@ -69,12 +69,12 @@ ap_status_t clean_cont(void *data)
}
-ap_status_t ap_create_context(ap_context_t **newcont, ap_context_t *cont)
+ap_status_t ap_create_pool(ap_pool_t **newcont, ap_pool_t *cont)
{
int iVersionRequested;
WSADATA wsaData;
int err;
- ap_context_t *new;
+ ap_pool_t *new;
ap_pool_t *pool;
if (cont) {
@@ -88,7 +88,7 @@ ap_status_t ap_create_context(ap_context_t **newcont, ap_context_t *cont)
return APR_ENOPOOL;
}
- new = (ap_context_t *)ap_palloc(cont, sizeof(ap_context_t));
+ new = (ap_pool_t *)ap_palloc(cont, sizeof(ap_pool_t));
new->pool = pool;
new->prog_data = NULL;
@@ -111,13 +111,13 @@ ap_status_t ap_create_context(ap_context_t **newcont, ap_context_t *cont)
return APR_SUCCESS;
}
-ap_status_t ap_destroy_context(ap_context_t *cont)
+ap_status_t ap_destroy_context(ap_pool_t *cont)
{
ap_destroy_pool(cont);
return APR_SUCCESS;
}
-ap_status_t ap_get_oslevel(ap_context_t *cont, ap_oslevel_e *level)
+ap_status_t ap_get_oslevel(ap_pool_t *cont, ap_oslevel_e *level)
{
static OSVERSIONINFO oslev;
static unsigned int servpack = 0;
@@ -177,7 +177,7 @@ ap_status_t ap_get_oslevel(ap_context_t *cont, ap_oslevel_e *level)
ap_status_t ap_set_userdata(void *data, char *key,
ap_status_t (*cleanup) (void *),
- ap_context_t *cont)
+ ap_pool_t *cont)
{
datastruct *dptr = NULL, *dptr2 = NULL;
if (cont) {
@@ -207,7 +207,7 @@ ap_status_t ap_set_userdata(void *data, char *key,
return APR_ENOCONT;
}
-ap_status_t ap_get_userdata(void **data, char *key, ap_context_t *cont)
+ap_status_t ap_get_userdata(void **data, char *key, ap_pool_t *cont)
{
datastruct *dptr = NULL;
if (cont) {