* 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. */
| 460 | * and to free the old/bad one depending on what is appropriate. |
| 461 | */ |
| 462 | gboolean |
| 463 | initializeCib(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 | |
| 474 | static void |
| 475 | sync_directory(const char *name) |