VirtualBox

Ignore:
Timestamp:
Mar 25, 2015 4:56:48 PM (10 years ago)
Author:
vboxsync
Message:

Main/Medium+Snapshot: make all code recursing over trees (objects containing lists of child objects) use as little stack as possible, and establish safe depth limits to avoid crashes, plus related cleanups in related code areas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/SnapshotImpl.h

    r50504 r54948  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * VirtualBox COM class implementation
    64 */
    75
    86/*
    9  * Copyright (C) 2006-2013 Oracle Corporation
     7 * Copyright (C) 2006-2015 Oracle Corporation
    108 *
    119 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    9290                                Snapshot *pSnapshotToIgnore);
    9391
    94     HRESULT i_saveSnapshot(settings::Snapshot &data, bool aAttrsOnly);
    95     HRESULT i_saveSnapshotImpl(settings::Snapshot &data, bool aAttrsOnly);
     92    HRESULT i_saveSnapshot(settings::Snapshot &data) const;
     93    HRESULT i_saveSnapshotImpl(settings::Snapshot &data) const;
     94    HRESULT i_saveSnapshotImplOne(settings::Snapshot &data) const;
    9695
     96    HRESULT i_uninitOne(AutoWriteLock &writeLock,
     97                        CleanupMode_T cleanupMode,
     98                        MediaList &llMedia,
     99                        std::list<Utf8Str> &llFilenames);
    97100    HRESULT i_uninitRecursively(AutoWriteLock &writeLock,
    98101                                CleanupMode_T cleanupMode,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette