1 /* 2 * Copyright 2023 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 BASED_TRANSACTION__H 11 #define BASED_TRANSACTION__H 12 13 #include <crm_internal.h> 14 15 #include <libxml/tree.h> 16 17 char *based_transaction_source_str(const pcmk__client_t *client, 18 const char *origin); 19 20 int based_commit_transaction(xmlNodePtr transaction, 21 const pcmk__client_t *client, 22 const char *origin, xmlNodePtr *result_cib); 23 24 #endif // BASED_TRANSACTION__H