Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 13690 invoked by uid 500); 31 Jan 2002 18:56:36 -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 13677 invoked from network); 31 Jan 2002 18:56:36 -0000 Date: 31 Jan 2002 18:56:35 -0000 Message-ID: <20020131185635.37414.qmail@icarus.apache.org> From: bnicholes@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/include/arch/netware apr_private.h X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N bnicholes 02/01/31 10:56:35 Modified: include/arch/netware apr_private.h Log: Added the APIs for handling application NLM registration with the APR library NLM Revision Changes Path 1.5 +18 -2 apr/include/arch/netware/apr_private.h Index: apr_private.h =================================================================== RCS file: /home/cvs/apr/include/arch/netware/apr_private.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- apr_private.h 18 Oct 2001 22:10:09 -0000 1.4 +++ apr_private.h 31 Jan 2002 18:56:35 -0000 1.5 @@ -71,7 +71,9 @@ #include #include #include +#include #include +#include //#include "memcheck.h" @@ -155,8 +157,22 @@ #define SIZEOF_CHAR 1 #define SIZEOF_SSIZE_T SIZEOF_INT -//unsigned __stdcall SignalHandling(void *); -//int thread_ready(void); +void netware_pool_proc_cleanup (); + +// library-private data... +extern int gLibId; +extern void *gLibHandle; + +/* NLM registration routines for managing which NLMs + are using the library. */ +int register_NLM(void *NLMHandle); +int unregister_NLM(void *NLMHandle); + +/* Redefine malloc to use the library malloc call so + that all of the memory resources will be owned + and can be shared by the library. */ +#undef malloc +#define malloc(x) library_malloc(gLibHandle,x) #endif /*APR_PRIVATE_H*/ #endif /*NETWARE*/