library/src/filesystem/BP-FilesystemRegistry.cc
// Closes a handle and destroys all associated memory.
Closes a handle and destroys all associated memory.
Closes a handle and destroys all associated memory .
BP_ERROR_T BP_FSRegCloseDestroy
(
		P_BP_FSREG fs_reg
)
{
	if(!fs_reg)
		return ERR_FAILURE;
	if(!fs_reg->hreg)
		return ERR_FAILURE;
	return BP_DestroyHashTableRegistry(fs_reg->hreg);
}
BP_ERROR_T BP_FSRegCloseDestroy ( P_BP_FSREG fs_reg ) { if ( ! fs_reg ) return ERR_FAILURE ; if ( ! fs_reg -> hreg ) return ERR_FAILURE ; return BP_DestroyHashTableRegistry ( fs_reg -> hreg ) ; }
Closes a handle and destroys all associated memory.
Closes a handle and destroys all associated memory .
// ensure we have a filesystem registry // destroy the registry (registry destroys everything, including // fs_reg itself.