pacemaker
2.1.9-49aab99839
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <crm/cib/internal.h>
#include <crm/common/output.h>
#include <crm/common/results.h>
#include <crm/common/scheduler.h>
#include <pacemaker-internal.h>
#include <pacemaker.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "libpacemaker_private.h"
Go to the source code of this file.
Functions | |
int | pcmk__parse_cib (pcmk__output_t *out, const char *cib_source, xmlNodePtr *cib_object) |
int | pcmk__verify (pcmk_scheduler_t *scheduler, pcmk__output_t *out, xmlNode **cib_object) |
int | pcmk_verify (xmlNodePtr *xml, const char *cib_source) |
Verify that a CIB is error-free or output errors and warnings. More... | |
int pcmk__parse_cib | ( | pcmk__output_t * | out, |
const char * | cib_source, | ||
xmlNodePtr * | cib_object | ||
) |
Definition at line 26 of file pcmk_verify.c.
int pcmk__verify | ( | pcmk_scheduler_t * | scheduler, |
pcmk__output_t * | out, | ||
xmlNode ** | cib_object | ||
) |
Definition at line 50 of file pcmk_verify.c.
int pcmk_verify | ( | xmlNodePtr * | xml, |
const char * | cib_source | ||
) |
Verify that a CIB is error-free or output errors and warnings.
This high-level function essentially implements crm_verify(8). It operates on an input CIB file, which can be inputted through one of several ways. It writes out XML-formatted output.
[in,out] | xml | The destination for the result, as an XML tree |
[in] | cib_source | Source of the CIB: NULL -> use live cib, "-" -> stdin "<..." -> xml str, otherwise -> xml file name |
Definition at line 119 of file pcmk_verify.c.