X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fnmem.h;h=c5802e489c1c375f808aea5dd3a023ddc4c39ef3;hb=9dfcbb70828f8d5b524c9bb45852246ae1dd6878;hp=189b25d5fb519b616c38a56f0edc6421fce9b3e4;hpb=c168cffc46e3b2b66e66e48f94f8e87b6566702b;p=yaz-moved-to-github.git diff --git a/include/yaz/nmem.h b/include/yaz/nmem.h index 189b25d..c5802e4 100644 --- a/include/yaz/nmem.h +++ b/include/yaz/nmem.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: nmem.h,v 1.20 2006-08-11 12:50:23 adam Exp $ + * $Id: nmem.h,v 1.21 2006-08-13 17:30:57 adam Exp $ */ /** @@ -97,8 +97,10 @@ 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);