X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fccl_xml.h;h=f821395358f1899ae43cef3f8d1f92798f3bcb2e;hp=ae61bf4d59f58165dc8e92e17bf949f011fa41ab;hb=45bf7a223153a11dcc07b1f1cb988f02af3a23f1;hpb=d940392c53c32ccf76fb287cc5b997b9e921a431 diff --git a/include/yaz/ccl_xml.h b/include/yaz/ccl_xml.h index ae61bf4..f821395 100644 --- a/include/yaz/ccl_xml.h +++ b/include/yaz/ccl_xml.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data. + * Copyright (C) 1995-2011 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: @@ -37,6 +37,7 @@ YAZ_BEGIN_CDECL +#if YAZ_HAVE_XML2 /** \brief configures CCL bibset using XML configuration \param bibset CCL bibliographic profile \param ptr xml node pointer pointing to "cclmap" element @@ -64,13 +65,14 @@ YAZ_BEGIN_CDECL YAZ_EXPORT int ccl_xml_config(CCL_bibset bibset, const xmlNode *ptr, const char **addinfo); - +#endif YAZ_END_CDECL #endif /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab