1 /* 2 * Copyright 2024 the Pacemaker project contributors 3 * 4 * The version control history for this file may have further details. 5 * 6 * This source code is licensed under the GNU Lesser General Public License 7 * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY. 8 */ 9 10 #ifndef PCMK__CRM_COMMON_XML_COMMENT_INTERNAL__H 11 #define PCMK__CRM_COMMON_XML_COMMENT_INTERNAL__H 12 13 /* 14 * Internal-only wrappers for and extensions to libxml2 XML comment functions 15 */ 16 17 #include <libxml/tree.h> // xmlDoc, xmlNode 18 19 #ifdef __cplusplus 20 extern "C" { 21 #endif 22 23 xmlNode *pcmk__xc_create(xmlDoc *doc, const char *content); 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 #endif // PCMK__XML_COMMENT_INTERNAL__H