MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / initializeCib

Function initializeCib

cib/io.c:462–472  ·  view source on GitHub ↗

* This method will not free the old CIB pointer or the new one. * We rely on the caller to have saved a pointer to the old CIB * and to free the old/bad one depending on what is appropriate. */

Source from the content-addressed store, hash-verified

460 * and to free the old/bad one depending on what is appropriate.
461 */
462gboolean
463initializeCib(xmlNode * new_cib)
464{
465 if (new_cib == NULL) {
466 return FALSE;
467 }
468
469 the_cib = new_cib;
470 initialized = TRUE;
471 return TRUE;
472}
473
474static void
475sync_directory(const char *name)

Callers 1

activateCibXmlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected