summaryrefslogtreecommitdiffstats
path: root/include/pcmki/pcmki_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pcmki/pcmki_resource.h')
-rw-r--r--include/pcmki/pcmki_resource.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/pcmki/pcmki_resource.h b/include/pcmki/pcmki_resource.h
new file mode 100644
index 0000000..dc8ac69
--- /dev/null
+++ b/include/pcmki/pcmki_resource.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2021-2022 the Pacemaker project contributors
+ *
+ * The version control history for this file may have further details.
+ *
+ * This source code is licensed under the GNU Lesser General Public License
+ * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
+ */
+#ifndef PCMK__PCMKI_PCMKI_RESOURCE__H
+#define PCMK__PCMKI_PCMKI_RESOURCE__H
+
+#include <glib.h>
+
+#include <crm/common/output_internal.h>
+#include <crm/pengine/pe_types.h>
+
+int pcmk__resource_digests(pcmk__output_t *out, pe_resource_t *rsc,
+ const pe_node_t *node, GHashTable *overrides);
+
+#endif /* PCMK__PCMKI_PCMKI_RESOURCE__H */