VirtualBox

Changeset 34406 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Nov 26, 2010 4:45:34 PM (14 years ago)
Author:
vboxsync
Message:

iprt/list.h: RTListNodeGetFirst/Last -> RTListGetFirst/Last; added RTListGetNext, RTListGetPrev, RTListNodeInsertAfter and RTListNodeInsertBefore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/isofs.cpp

    r33566 r34406  
    4545static void rtIsoFsDestroyPathCache(PRTISOFSFILE pFile)
    4646{
    47     PRTISOFSPATHTABLEENTRY pNode = RTListNodeGetFirst(&pFile->listPaths, RTISOFSPATHTABLEENTRY, Node);
     47    PRTISOFSPATHTABLEENTRY pNode = RTListGetFirst(&pFile->listPaths, RTISOFSPATHTABLEENTRY, Node);
    4848    while (pNode)
    4949    {
     
    120120        uint16_t idx = 1;
    121121        /* Get the parent of our current node (pNode) */
    122         PRTISOFSPATHTABLEENTRY pNodeParent = RTListNodeGetFirst(pList, RTISOFSPATHTABLEENTRY, Node);
     122        PRTISOFSPATHTABLEENTRY pNodeParent = RTListGetFirst(pList, RTISOFSPATHTABLEENTRY, Node);
    123123        while (idx++ < pNode->header.parent_index)
    124124            pNodeParent =  RTListNodeGetNext(&pNodeParent->Node, RTISOFSPATHTABLEENTRY, Node);
     
    202202
    203203    /* Transform path names into full paths. This is a bit ugly right now. */
    204     PRTISOFSPATHTABLEENTRY pNode = RTListNodeGetLast(&pFile->listPaths, RTISOFSPATHTABLEENTRY, Node);
     204    PRTISOFSPATHTABLEENTRY pNode = RTListGetLast(&pFile->listPaths, RTISOFSPATHTABLEENTRY, Node);
    205205    while (   pNode
    206206           && !RTListNodeIsFirst(&pFile->listPaths, &pNode->Node)
     
    416416        if (!RTStrCmp(pszTemp, ".")) /* Root directory? Use first node! */
    417417        {
    418             pNode = RTListNodeGetFirst(&pFile->listPaths, RTISOFSPATHTABLEENTRY, Node);
     418            pNode = RTListGetFirst(&pFile->listPaths, RTISOFSPATHTABLEENTRY, Node);
    419419            if (pNode)
    420420                bFound = true;
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