summaryrefslogtreecommitdiff
path: root/shmem
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-01-25 07:16:01 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-01-25 07:16:01 +0000
commit0d1f920e4c4f182bcfdd269e40fc50702b509e46 (patch)
tree623cd818a485888d26e5ece791215806d4b95556 /shmem
parenta412f69aa39c4dd649490e8b364d99dc7503a5fa (diff)
downloadlibapr-0d1f920e4c4f182bcfdd269e40fc50702b509e46.tar.gz
Simple workaround, for now. Aaron is researching, but if something
obscure is already obvious to OS2/BeOS folks, feel free to round out. I suspect it's simply the pointer to the phys mem, filling out the internals of apr_shm_t, but I'm not certain. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62831 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'shmem')
-rw-r--r--shmem/beos/shm.c14
-rw-r--r--shmem/os2/shm.c14
-rw-r--r--shmem/unix/shm.c13
-rw-r--r--shmem/win32/shm.c2
4 files changed, 43 insertions, 0 deletions
diff --git a/shmem/beos/shm.c b/shmem/beos/shm.c
index 65de9e102..274a4a049 100644
--- a/shmem/beos/shm.c
+++ b/shmem/beos/shm.c
@@ -168,3 +168,17 @@ APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m)
}
APR_POOL_IMPLEMENT_ACCESSOR(shm)
+
+APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm,
+ apr_shm_t *shm)
+{
+ return APR_ENOTIMPL;
+}
+
+APR_DECLARE(apr_status_t) apr_os_shm_put(apr_shm_t **m,
+ apr_os_shm_t *osshm,
+ apr_pool_t *pool)
+{
+ return APR_ENOTIMPL;
+}
+
diff --git a/shmem/os2/shm.c b/shmem/os2/shm.c
index 8c3c5bc77..cb922e7d7 100644
--- a/shmem/os2/shm.c
+++ b/shmem/os2/shm.c
@@ -145,3 +145,17 @@ APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m)
}
APR_POOL_IMPLEMENT_ACCESSOR(shm)
+
+APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm,
+ apr_shm_t *shm)
+{
+ return APR_ENOTIMPL;
+}
+
+APR_DECLARE(apr_status_t) apr_os_shm_put(apr_shm_t **m,
+ apr_os_shm_t *osshm,
+ apr_pool_t *pool)
+{
+ return APR_ENOTIMPL;
+}
+
diff --git a/shmem/unix/shm.c b/shmem/unix/shm.c
index d7508cff3..f965e9dae 100644
--- a/shmem/unix/shm.c
+++ b/shmem/unix/shm.c
@@ -564,3 +564,16 @@ APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m)
APR_POOL_IMPLEMENT_ACCESSOR(shm)
+APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm,
+ apr_shm_t *shm)
+{
+ return APR_ENOTIMPL;
+}
+
+APR_DECLARE(apr_status_t) apr_os_shm_put(apr_shm_t **m,
+ apr_os_shm_t *osshm,
+ apr_pool_t *pool)
+{
+ return APR_ENOTIMPL;
+}
+
diff --git a/shmem/win32/shm.c b/shmem/win32/shm.c
index 8f9b2b7aa..3d619f6d8 100644
--- a/shmem/win32/shm.c
+++ b/shmem/win32/shm.c
@@ -265,6 +265,8 @@ APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m)
return m->length;
}
+APR_POOL_IMPLEMENT_ACCESSOR(shm)
+
APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm,
apr_shm_t *shm)
{