X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fnmem.h;h=e786d0bf7ada90c0566b3e2a28eaf7bebf617ff2;hb=8d691989077a0addcbd840d769dce6700f3d9622;hp=2666fe7b2fd43e72836bb05d651b744da40dfa9a;hpb=964580242e2e0b2e570f652afa58bfb90ad0bb5e;p=yaz-moved-to-github.git diff --git a/include/yaz/nmem.h b/include/yaz/nmem.h index 2666fe7..e786d0b 100644 --- a/include/yaz/nmem.h +++ b/include/yaz/nmem.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-2006, Index Data + * Copyright (c) 1995-2007, Index Data * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -24,7 +24,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: nmem.h,v 1.22 2006-10-09 21:02:41 adam Exp $ */ +/* $Id: nmem.h,v 1.24 2007-01-03 08:42:14 adam Exp $ */ /** * \file nmem.h @@ -39,10 +39,6 @@ #include #include -#if YAZ_HAVE_XML2 -#include -#endif - #define NMEM_DEBUG 0 #ifndef NMEM_DEBUG @@ -97,11 +93,6 @@ YAZ_EXPORT void nmem_strsplit(NMEM nmem, const char *delim, YAZ_EXPORT void nmem_strsplit_blank(NMEM nmem, const char *dstr, char ***darray, int *num); -#if YAZ_HAVE_XML2 -/** \brief copies TEXT Libxml2 node data to NMEM */ -YAZ_EXPORT char *nmem_text_node_cdata(const xmlNode *ptr, NMEM nmem); -#endif - /** \brief creates and allocates integer for NMEM */ YAZ_EXPORT int *nmem_intdup (NMEM mem, int v);