Changeset 45375 in vbox
- Timestamp:
- Apr 5, 2013 2:36:27 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
- 1 moved
-
include/VBox/VBoxGuest.h (modified) (1 diff)
-
include/iprt/getopt.h (modified) (1 diff)
-
include/iprt/mangling.h (modified) (1 diff)
-
include/iprt/path.h (modified) (2 diffs)
-
src/VBox/Runtime/Makefile.kmk (modified) (3 diffs)
-
src/VBox/Runtime/VBox/VBoxRTImp.def (modified) (1 diff)
-
src/VBox/Runtime/common/path/RTPathParseSimple.cpp (moved) (moved from trunk/src/VBox/Runtime/common/path/RTPathParse.cpp ) (2 diffs)
-
src/VBox/Runtime/generic/createtemp-generic.cpp (modified) (2 diffs)
-
src/VBox/Runtime/r3/init.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxGuest.h
r45014 r45375 377 377 #endif 378 378 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)) 385 381 386 382 typedef DECLCALLBACK(void) FNVBOXGUESTMOUSENOTIFY(void *pfnUser); -
trunk/include/iprt/getopt.h
r45116 r45375 394 394 * vector that can be used with RTGetOptInit(). 395 395 * 396 * This function aims at following the bourn shell string quoting rules.396 * This function aims at following the bourne shell string quoting rules. 397 397 * 398 398 * @returns IPRT status code. -
trunk/include/iprt/mangling.h
r45231 r45375 938 938 # define RTPathJoinA RT_MANGLER(RTPathJoinA) 939 939 # define RTPathJoinEx RT_MANGLER(RTPathJoinEx) 940 # define RTPathParse RT_MANGLER(RTPathParse)940 # define RTPathParseSimple RT_MANGLER(RTPathParseSimple) 941 941 # define RTPathQueryInfo RT_MANGLER(RTPathQueryInfo) 942 942 # define RTPathQueryInfoEx RT_MANGLER(RTPathQueryInfoEx) -
trunk/include/iprt/path.h
r45265 r45375 294 294 295 295 /** 296 * Parsesa path.296 * Simple parsing of the a path. 297 297 * 298 298 * It figures the length of the directory component, the offset of … … 311 311 * will be set to -1. Optional. 312 312 */ 313 RTDECL(size_t) RTPathParse (const char *pszPath, size_t *pcchDir, ssize_t *poffName, ssize_t *poffSuff);313 RTDECL(size_t) RTPathParseSimple(const char *pszPath, size_t *pcchDir, ssize_t *poffName, ssize_t *poffSuff); 314 314 315 315 /** -
trunk/src/VBox/Runtime/Makefile.kmk
r45355 r45375 362 362 common/path/RTPathJoinA.cpp \ 363 363 common/path/RTPathJoinEx.cpp \ 364 common/path/RTPathParse .cpp \364 common/path/RTPathParseSimple.cpp \ 365 365 common/path/RTPathRealDup.cpp \ 366 366 common/path/RTPathRmCmd.cpp \ … … 1201 1201 common/path/RTPathJoin.cpp \ 1202 1202 common/path/RTPathJoinA.cpp \ 1203 common/path/RTPathParse .cpp \1203 common/path/RTPathParseSimple.cpp \ 1204 1204 common/path/RTPathRealDup.cpp \ 1205 1205 common/path/RTPathStripExt.cpp \ … … 1709 1709 common/path/RTPathHasExt.cpp \ 1710 1710 common/path/RTPathHasPath.cpp \ 1711 common/path/RTPathParse .cpp \1711 common/path/RTPathParseSimple.cpp \ 1712 1712 common/path/RTPathRealDup.cpp \ 1713 1713 common/path/RTPathStripExt.cpp \ -
trunk/src/VBox/Runtime/VBox/VBoxRTImp.def
r45354 r45375 804 804 RTPathJoinA 805 805 RTPathJoinEx 806 RTPathParse 806 RTPathParseSimple 807 807 RTPathQueryInfo 808 808 RTPathQueryInfoEx -
trunk/src/VBox/Runtime/common/path/RTPathParseSimple.cpp
r45317 r45375 1 1 /* $Id$ */ 2 2 /** @file 3 * IPRT - RTPathParse 3 * IPRT - RTPathParseSimple 4 4 */ 5 5 … … 51 51 * will be set to -1. Optional. 52 52 */ 53 RTDECL(size_t) RTPathParse (const char *pszPath, size_t *pcchDir, ssize_t *poffName, ssize_t *poffSuff)53 RTDECL(size_t) RTPathParseSimple(const char *pszPath, size_t *pcchDir, ssize_t *poffName, ssize_t *poffSuff) 54 54 { 55 55 const char *psz = pszPath; -
trunk/src/VBox/Runtime/generic/createtemp-generic.cpp
r42712 r45375 150 150 151 151 /* Temporarily convert pszTemplate to a path. */ 152 RTPathParse (pszTemplate, &cchDir, NULL, NULL);152 RTPathParseSimple(pszTemplate, &cchDir, NULL, NULL); 153 153 chOld = pszTemplate[cchDir]; 154 154 pszTemplate[cchDir] = '\0'; … … 219 219 220 220 /* Temporarily convert pszTemplate to a path. */ 221 RTPathParse (pszTemplate, &cchDir, NULL, NULL);221 RTPathParseSimple(pszTemplate, &cchDir, NULL, NULL); 222 222 chOld = pszTemplate[cchDir]; 223 223 pszTemplate[cchDir] = '\0'; -
trunk/src/VBox/Runtime/r3/init.cpp
r45350 r45375 232 232 */ 233 233 ssize_t offName; 234 g_cchrtProcExePath = RTPathParse (g_szrtProcExePath, &g_cchrtProcDir, &offName, NULL);234 g_cchrtProcExePath = RTPathParseSimple(g_szrtProcExePath, &g_cchrtProcDir, &offName, NULL); 235 235 g_offrtProcName = offName; 236 236 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.

