X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fnmem_xml.h;h=ae9e90d6a20b73f9011cbe00da04cdf1d48b1b30;hp=6d282c0cc261cea8c9a7fe3fa9d8f7dae68d33e4;hb=d606d0d7c6015414a1d5ba065d09b507679be5a3;hpb=d940392c53c32ccf76fb287cc5b997b9e921a431 diff --git a/include/yaz/nmem_xml.h b/include/yaz/nmem_xml.h index 6d282c0..ae9e90d 100644 --- a/include/yaz/nmem_xml.h +++ b/include/yaz/nmem_xml.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data. + * Copyright (C) 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: @@ -38,8 +38,10 @@ 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 @@ -47,6 +49,7 @@ YAZ_END_CDECL /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab