1 /* 2 * Copyright 2021-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 #ifndef PCMK__PCMKI_PCMKI_RESOURCE__H 10 #define PCMK__PCMKI_PCMKI_RESOURCE__H 11 12 #include <glib.h> 13 14 #include <crm/cib/cib_types.h> 15 #include <crm/common/scheduler.h> 16 #include <crm/common/output_internal.h> 17 18 int pcmk__resource_delete(cib_t *cib, uint32_t cib_opts, const char *rsc_id, 19 const char *rsc_type); 20 21 int pcmk__resource_digests(pcmk__output_t *out, pcmk_resource_t *rsc, 22 const pcmk_node_t *node, GHashTable *overrides); 23 24 #endif /* PCMK__PCMKI_PCMKI_RESOURCE__H */