Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 81331 invoked by uid 500); 19 Apr 2001 14:24:23 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 81294 invoked by uid 1121); 19 Apr 2001 14:24:18 -0000 Date: 19 Apr 2001 14:24:18 -0000 Message-ID: <20010419142418.81293.qmail@apache.org> From: trawick@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/dso/unix dso.c trawick 01/04/19 07:24:17 Modified: dso/unix dso.c Log: implement apr_os_dso_handle_get|put() so that Apache builds again; Apache's exports.c reflected that the prototypes were added but the function wasn't actually implemented more implementations forthcoming as people figure out they can't link... Revision Changes Path 1.36 +17 -0 apr/dso/unix/dso.c Index: dso.c =================================================================== RCS file: /home/cvs/apr/dso/unix/dso.c,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- dso.c 2001/04/19 07:18:47 1.35 +++ dso.c 2001/04/19 14:24:14 1.36 @@ -54,6 +54,7 @@ #include "dso.h" #include "apr_strings.h" +#include "apr_portable.h" #if APR_HAS_DSO @@ -67,6 +68,22 @@ #if APR_HAVE_STRING_H #include /* for strerror() on HP-UX */ #endif + +APR_DECLARE(apr_status_t) apr_os_dso_handle_put(apr_dso_handle_t **aprdso, + apr_os_dso_handle_t *osdso, + apr_pool_t *pool) +{ + *aprdso = apr_pcalloc(pool, sizeof **aprdso); + (*aprdso)->handle = *osdso; + return APR_SUCCESS; +} + +APR_DECLARE(apr_status_t) apr_os_dso_handle_get(apr_os_dso_handle_t *osdso, + apr_dso_handle_t *aprdso) +{ + *osdso = aprdso->handle; + return APR_SUCCESS; +} static apr_status_t dso_cleanup(void *thedso) {