VirtualBox

Ignore:
Timestamp:
Jan 23, 2012 6:38:18 PM (13 years ago)
Author:
vboxsync
Message:

GuestCtrl: Request (IPC) changes, bugfixes, fixed handle leaks.

File:
1 edited

Legend:

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

    r39475 r39843  
    3737
    3838/** Structure representing the "value" side of a "key=value" pair. */
    39 class VBOXGUESTCTRL_STREAMVALUE
     39class GuestProcessStreamValue
    4040{
    4141public:
    4242
    43     VBOXGUESTCTRL_STREAMVALUE() { }
    44     VBOXGUESTCTRL_STREAMVALUE(const char *pszValue)
     43    GuestProcessStreamValue() { }
     44    GuestProcessStreamValue(const char *pszValue)
    4545        : mValue(pszValue) {}
    4646
    47     VBOXGUESTCTRL_STREAMVALUE(const VBOXGUESTCTRL_STREAMVALUE& aThat)
     47    GuestProcessStreamValue(const GuestProcessStreamValue& aThat)
    4848           : mValue(aThat.mValue) {}
    4949
     
    5252
    5353/** Map containing "key=value" pairs of a guest process stream. */
    54 typedef std::pair< Utf8Str, VBOXGUESTCTRL_STREAMVALUE > GuestCtrlStreamPair;
    55 typedef std::map < Utf8Str, VBOXGUESTCTRL_STREAMVALUE > GuestCtrlStreamPairMap;
    56 typedef std::map < Utf8Str, VBOXGUESTCTRL_STREAMVALUE >::iterator GuestCtrlStreamPairMapIter;
    57 typedef std::map < Utf8Str, VBOXGUESTCTRL_STREAMVALUE >::const_iterator GuestCtrlStreamPairMapIterConst;
     54typedef std::pair< Utf8Str, GuestProcessStreamValue > GuestCtrlStreamPair;
     55typedef std::map < Utf8Str, GuestProcessStreamValue > GuestCtrlStreamPairMap;
     56typedef std::map < Utf8Str, GuestProcessStreamValue >::iterator GuestCtrlStreamPairMapIter;
     57typedef std::map < Utf8Str, GuestProcessStreamValue >::const_iterator GuestCtrlStreamPairMapIterConst;
    5858
    5959/**
     
    7575
    7676    void Clear();
     77
     78#ifdef DEBUG
     79    void Dump();
     80#endif
    7781
    7882    int GetInt64Ex(const char *pszKey, int64_t *piVal);
     
    118122
    119123    void Destroy();
     124
     125#ifdef DEBUG
     126    void Dump(const char *pszFile);
     127#endif
    120128
    121129    uint32_t GetOffset();
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