Fix a few Doxygen warnings
[yaz-moved-to-github.git] / include / yaz / ccl_xml.h
index ae61bf4..4f5de7e 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
 /* 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:
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
 
 YAZ_BEGIN_CDECL
 
 
 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
 /** \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:
     Configuration example:
-    \verbatim
+\verbatim
 <cclmap defaultattrset="bib-1">
    <qual name="term">
        <attr type="u" value="1016"/>
 <cclmap defaultattrset="bib-1">
    <qual name="term">
        <attr type="u" value="1016"/>
@@ -59,18 +60,19 @@ YAZ_BEGIN_CDECL
    </qual>
   <directive name="and" value="+"/>
 </cclmap>
    </qual>
   <directive name="and" value="+"/>
 </cclmap>
-    \endverbatim
+\endverbatim
 */
 YAZ_EXPORT
 int ccl_xml_config(CCL_bibset bibset, const xmlNode *ptr,
                    const char **addinfo);
 */
 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
 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
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab