VirtualBox

Changeset 70068 in vbox


Ignore:
Timestamp:
Dec 11, 2017 5:28:02 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119612
Message:

GuestPropertySvc.h: Working on making it usable from C (VBoxGuest, ++)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/pam/pam_vbox.cpp

    r69500 r70068  
    5353#ifdef VBOX_WITH_GUEST_PROPS
    5454# include <VBox/HostServices/GuestPropertySvc.h>
    55   using namespace guestProp;
    5655#endif
    5756
     
    415414     * of space here in case the maximum values are raised. */
    416415    void *pvBuf = NULL;
    417     uint32_t cbBuf = MAX_VALUE_LEN + MAX_FLAGS_LEN + _1K;
     416    uint32_t cbBuf = GUEST_PROP_MAX_VALUE_LEN + GUEST_PROP_MAX_FLAGS_LEN + _1K;
    418417
    419418    /* Because there is a race condition between our reading the size of a
     
    517516     * of space here in case the maximum values are raised. */
    518517    void *pvBuf = NULL;
    519     uint32_t cbBuf = MAX_NAME_LEN + MAX_VALUE_LEN + MAX_FLAGS_LEN + _1K;
     518    uint32_t cbBuf = GUEST_PROP_MAX_NAME_LEN + GUEST_PROP_MAX_VALUE_LEN + GUEST_PROP_MAX_FLAGS_LEN + _1K;
    520519
    521520    for (int i = 0; i < 10; i++)
Note: See TracChangeset for help on using the changeset viewer.

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