VirtualBox

Changeset 28692 in vbox for trunk/include


Ignore:
Timestamp:
Apr 24, 2010 7:14:03 PM (15 years ago)
Author:
vboxsync
Message:

iprt: XmlFileWrite - expose the two suffixes write() uses when fSafe is set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpp/xml.h

    r28689 r28692  
    683683     *                                 specified name.
    684684     *                              -# The directory changes are flushed to disk.
     685     *                          The suffixes are available via s_pszTmpSuff and
     686     *                          s_pszPrevSuff.
    685687     */
    686688    void write(const char *pcszFilename, bool fSafe);
    687689
    688690    static int WriteCallback(void *aCtxt, const char *aBuf, int aLen);
    689     static int CloseCallback (void *aCtxt);
     691    static int CloseCallback(void *aCtxt);
     692
     693    /** The suffix used by XmlFileWriter::write() for the temporary file. */
     694    static const char * const s_pszTmpSuff;
     695    /** The suffix used by XmlFileWriter::write() for the previous (backup) file. */
     696    static const char * const s_pszPrevSuff;
    690697
    691698private:
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