diff --git a/include/pacemaker-internal.h b/include/pacemaker-internal.h index 2e75d09..bf33f3e 100644 --- a/include/pacemaker-internal.h +++ b/include/pacemaker-internal.h @@ -1,5 +1,5 @@ /* - * Copyright 2019 the Pacemaker project contributors + * Copyright 2019-2021 the Pacemaker project contributors * * The version control history for this file may have further details. * @@ -14,6 +14,7 @@ # include # include # include +# include # include # include # include diff --git a/include/pcmki/Makefile.am b/include/pcmki/Makefile.am index 7aa64c7..446c801 100644 --- a/include/pcmki/Makefile.am +++ b/include/pcmki/Makefile.am @@ -1,5 +1,5 @@ # -# Copyright 2019 the Pacemaker project contributors +# Copyright 2019-2021 the Pacemaker project contributors # # The version control history for this file may have further details. # @@ -13,6 +13,7 @@ noinst_HEADERS = pcmki_error.h \ pcmki_cluster_queries.h \ pcmki_fence.h \ pcmki_output.h \ + pcmki_resource.h \ pcmki_sched_allocate.h \ pcmki_sched_notif.h \ pcmki_sched_utils.h \ diff --git a/include/pcmki/pcmki_resource.h b/include/pcmki/pcmki_resource.h new file mode 100644 index 0000000..effa945 --- /dev/null +++ b/include/pcmki/pcmki_resource.h @@ -0,0 +1,14 @@ +/* + * Copyright 2021 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 PCMKI_RESOURCE__H +#define PCMKI_RESOURCE__H + +#include + +#endif /* PCMK_RESOURCE__H */ diff --git a/lib/pacemaker/Makefile.am b/lib/pacemaker/Makefile.am index 4129ade..760c04a 100644 --- a/lib/pacemaker/Makefile.am +++ b/lib/pacemaker/Makefile.am @@ -1,5 +1,5 @@ # -# Copyright 2004-2019 the Pacemaker project contributors +# Copyright 2004-2021 the Pacemaker project contributors # # The version control history for this file may have further details. # @@ -31,6 +31,7 @@ libpacemaker_la_SOURCES = libpacemaker_la_SOURCES += pcmk_cluster_queries.c libpacemaker_la_SOURCES += pcmk_fence.c libpacemaker_la_SOURCES += pcmk_output.c +libpacemaker_la_SOURCES += pcmk_resource.c libpacemaker_la_SOURCES += pcmk_sched_allocate.c libpacemaker_la_SOURCES += pcmk_sched_bundle.c libpacemaker_la_SOURCES += pcmk_sched_clone.c diff --git a/lib/pacemaker/pcmk_resource.c b/lib/pacemaker/pcmk_resource.c new file mode 100644 index 0000000..05614fc --- /dev/null +++ b/lib/pacemaker/pcmk_resource.c @@ -0,0 +1,21 @@ +/* + * Copyright 2021 the Pacemaker project contributors + * + * The version control history for this file may have further details. + * + * This source code is licensed under the GNU General Public License version 2 + * or later (GPLv2+) WITHOUT ANY WARRANTY. + */ + +#include + +#include +#include + +#include +#include +#include +#include + +#include +#include