X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fccl_xml.h;h=4f5de7e2af1d82923de6a854332b5c3aa2964697;hp=a7abed6eb029b0690d36e1fd664885f038865e73;hb=6437a10ee3d3160d01d04afe071901e8f496ad34;hpb=ee6ab2ee3a9ee1a8c65d7272ec7fba1d886f5af0 diff --git a/include/yaz/ccl_xml.h b/include/yaz/ccl_xml.h index a7abed6..4f5de7e 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-2013 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: ccl_xml.h,v 1.1 2007-01-08 10:48:07 adam Exp $ */ /** * \file ccl_xml.h @@ -38,15 +37,16 @@ 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 \param addinfo has error message if configuration could not be parsed \retval 0 OK \retval -1 errors. Inspect addinfo for error message - + Configuration example: - \verbatim +\verbatim @@ -60,18 +60,19 @@ YAZ_BEGIN_CDECL - \endverbatim +\endverbatim */ 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