VirtualBox

Changeset 45375 in vbox


Ignore:
Timestamp:
Apr 5, 2013 2:36:27 PM (11 years ago)
Author:
vboxsync
Message:

RTPathParse -> RTPathParseSimple.

Location:
trunk
Files:
8 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxGuest.h

    r45014 r45375  
    377377#endif
    378378
    379 /** IOCTL to for setting the mouse driver callback. (kernel only)
    380  * @todo r=bird: Why is this using VBOXGUEST_IOCTL_CODE_ and not
    381  *       VBOXGUEST_IOCTL_CODE? Doesn't make any sense to me as the data is bit
    382  *       specific...
    383  */
    384 #define VBOXGUEST_IOCTL_SET_MOUSE_NOTIFY_CALLBACK   VBOXGUEST_IOCTL_CODE_(31, sizeof(VBoxGuestMouseSetNotifyCallback))
     379/** IOCTL to for setting the mouse driver callback. (kernel only) */
     380#define VBOXGUEST_IOCTL_SET_MOUSE_NOTIFY_CALLBACK   VBOXGUEST_IOCTL_CODE(31, sizeof(VBoxGuestMouseSetNotifyCallback))
    385381
    386382typedef DECLCALLBACK(void) FNVBOXGUESTMOUSENOTIFY(void *pfnUser);
  • trunk/include/iprt/getopt.h

    r45116 r45375  
    394394 * vector that can be used with RTGetOptInit().
    395395 *
    396  * This function aims at following the bourn shell string quoting rules.
     396 * This function aims at following the bourne shell string quoting rules.
    397397 *
    398398 * @returns IPRT status code.
  • trunk/include/iprt/mangling.h

    r45231 r45375  
    938938# define RTPathJoinA                                    RT_MANGLER(RTPathJoinA)
    939939# define RTPathJoinEx                                   RT_MANGLER(RTPathJoinEx)
    940 # define RTPathParse                                    RT_MANGLER(RTPathParse)
     940# define RTPathParseSimple                              RT_MANGLER(RTPathParseSimple)
    941941# define RTPathQueryInfo                                RT_MANGLER(RTPathQueryInfo)
    942942# define RTPathQueryInfoEx                              RT_MANGLER(RTPathQueryInfoEx)
  • trunk/include/iprt/path.h

    r45265 r45375  
    294294
    295295/**
    296  * Parses a path.
     296 * Simple parsing of the a path.
    297297 *
    298298 * It figures the length of the directory component, the offset of
     
    311311 *                      will be set to -1. Optional.
    312312 */
    313 RTDECL(size_t) RTPathParse(const char *pszPath, size_t *pcchDir, ssize_t *poffName, ssize_t *poffSuff);
     313RTDECL(size_t) RTPathParseSimple(const char *pszPath, size_t *pcchDir, ssize_t *poffName, ssize_t *poffSuff);
    314314
    315315/**
  • trunk/src/VBox/Runtime/Makefile.kmk

    r45355 r45375  
    362362        common/path/RTPathJoinA.cpp \
    363363        common/path/RTPathJoinEx.cpp \
    364         common/path/RTPathParse.cpp \
     364        common/path/RTPathParseSimple.cpp \
    365365        common/path/RTPathRealDup.cpp \
    366366        common/path/RTPathRmCmd.cpp \
     
    12011201        common/path/RTPathJoin.cpp \
    12021202        common/path/RTPathJoinA.cpp \
    1203         common/path/RTPathParse.cpp \
     1203        common/path/RTPathParseSimple.cpp \
    12041204        common/path/RTPathRealDup.cpp \
    12051205        common/path/RTPathStripExt.cpp \
     
    17091709        common/path/RTPathHasExt.cpp \
    17101710        common/path/RTPathHasPath.cpp \
    1711         common/path/RTPathParse.cpp \
     1711        common/path/RTPathParseSimple.cpp \
    17121712        common/path/RTPathRealDup.cpp \
    17131713        common/path/RTPathStripExt.cpp \
  • trunk/src/VBox/Runtime/VBox/VBoxRTImp.def

    r45354 r45375  
    804804    RTPathJoinA
    805805    RTPathJoinEx
    806     RTPathParse
     806    RTPathParseSimple
    807807    RTPathQueryInfo
    808808    RTPathQueryInfoEx
  • trunk/src/VBox/Runtime/common/path/RTPathParseSimple.cpp

    r45317 r45375  
    11/* $Id$ */
    22/** @file
    3  * IPRT - RTPathParse
     3 * IPRT - RTPathParseSimple
    44 */
    55
     
    5151 *                      will be set to -1. Optional.
    5252 */
    53 RTDECL(size_t) RTPathParse(const char *pszPath, size_t *pcchDir, ssize_t *poffName, ssize_t *poffSuff)
     53RTDECL(size_t) RTPathParseSimple(const char *pszPath, size_t *pcchDir, ssize_t *poffName, ssize_t *poffSuff)
    5454{
    5555    const char *psz = pszPath;
  • trunk/src/VBox/Runtime/generic/createtemp-generic.cpp

    r42712 r45375  
    150150
    151151    /* Temporarily convert pszTemplate to a path. */
    152     RTPathParse(pszTemplate, &cchDir, NULL, NULL);
     152    RTPathParseSimple(pszTemplate, &cchDir, NULL, NULL);
    153153    chOld = pszTemplate[cchDir];
    154154    pszTemplate[cchDir] = '\0';
     
    219219
    220220    /* Temporarily convert pszTemplate to a path. */
    221     RTPathParse(pszTemplate, &cchDir, NULL, NULL);
     221    RTPathParseSimple(pszTemplate, &cchDir, NULL, NULL);
    222222    chOld = pszTemplate[cchDir];
    223223    pszTemplate[cchDir] = '\0';
  • trunk/src/VBox/Runtime/r3/init.cpp

    r45350 r45375  
    232232     */
    233233    ssize_t offName;
    234     g_cchrtProcExePath = RTPathParse(g_szrtProcExePath, &g_cchrtProcDir, &offName, NULL);
     234    g_cchrtProcExePath = RTPathParseSimple(g_szrtProcExePath, &g_cchrtProcDir, &offName, NULL);
    235235    g_offrtProcName = offName;
    236236    return VINF_SUCCESS;
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