X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fnmem_xml.h;h=6e804042ab6d17ea6f5dd7bf96046e8cb0c714dd;hp=4b5bf74216ed67c652615359e3722fefb7bbe70b;hb=2788a4851b551e1a3efb320a2878b809f2d8a9d7;hpb=24483d4ace499b46ae33f06594d2d1f75f422f44 diff --git a/include/yaz/nmem_xml.h b/include/yaz/nmem_xml.h index 4b5bf74..6e80404 100644 --- a/include/yaz/nmem_xml.h +++ b/include/yaz/nmem_xml.h @@ -1,5 +1,5 @@ -/* - * Copyright (c) 1995-2006, Index Data +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2009 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,6 @@ * (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_xml.h,v 1.1 2006-10-27 12:19:15 adam Exp $ */ /** * \file nmem_xml.h @@ -35,18 +34,18 @@ #include -#if YAZ_HAVE_XML2 -#include +#include YAZ_BEGIN_CDECL +#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 YAZ_END_CDECL #endif -#endif /* * Local variables: * c-basic-offset: 4