static int installed = 0; extern int BonsaiInit() { if (installed) return(0); installed = 1; (void)SPCR_Init(); (void)XR_install_CedarCore(); (void)XR_install_BasicCedar(); (void)XR_VerboseCommit(); (void)XR_run_BasicCedar(); installed = 2; (void)XR_install_CommanderSysPImpl(); (void)XR_VerboseCommit(); (void)XR_run_CommanderSysPImpl(); installed = 3; (void)XR_install_CommanderPackage(); (void)XR_VerboseCommit(); (void)XR_run_CommanderPackage(); installed = 4; return(1); }