VirtualBox

Ignore:
Timestamp:
Sep 28, 2015 2:05:58 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102898
Message:

IPRT: Doxygen clenaups (mostly).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asn1/asn1-basics.cpp

    r57358 r57926  
    334334 */
    335335
    336 RTDECL(void) RTAsn1VtDelete(PRTASN1CORE pAsn1Core)
    337 {
    338     if (pAsn1Core)
    339     {
    340         PCRTASN1COREVTABLE pOps = pAsn1Core->pOps;
     336RTDECL(void) RTAsn1VtDelete(PRTASN1CORE pThisCore)
     337{
     338    if (pThisCore)
     339    {
     340        PCRTASN1COREVTABLE pOps = pThisCore->pOps;
    341341        if (pOps)
    342             pOps->pfnDtor(pAsn1Core);
     342            pOps->pfnDtor(pThisCore);
    343343    }
    344344}
     
    355355
    356356
    357 static DECLCALLBACK(int) rtAsn1VtDeepEnumDepthFirst(PRTASN1CORE pAsn1Core, const char *pszName, uint32_t uDepth, void *pvUser)
    358 {
    359     AssertReturn(pAsn1Core, VINF_SUCCESS);
    360 
    361     if (pAsn1Core->pOps && pAsn1Core->pOps->pfnEnum)
    362     {
    363         int rc = pAsn1Core->pOps->pfnEnum(pAsn1Core, rtAsn1VtDeepEnumDepthFirst, uDepth, pvUser);
     357static DECLCALLBACK(int) rtAsn1VtDeepEnumDepthFirst(PRTASN1CORE pThisCore, const char *pszName, uint32_t uDepth, void *pvUser)
     358{
     359    AssertReturn(pThisCore, VINF_SUCCESS);
     360
     361    if (pThisCore->pOps && pThisCore->pOps->pfnEnum)
     362    {
     363        int rc = pThisCore->pOps->pfnEnum(pThisCore, rtAsn1VtDeepEnumDepthFirst, uDepth, pvUser);
    364364        if (rc != VINF_SUCCESS)
    365365            return rc;
     
    367367
    368368    RTASN1DEEPENUMCTX *pCtx = (RTASN1DEEPENUMCTX *)pvUser;
    369     return pCtx->pfnCallback(pAsn1Core, pszName, uDepth, pCtx->pvUser);
    370 }
    371 
    372 
    373 static DECLCALLBACK(int) rtAsn1VtDeepEnumDepthLast(PRTASN1CORE pAsn1Core, const char *pszName, uint32_t uDepth, void *pvUser)
    374 {
    375     AssertReturn(pAsn1Core, VINF_SUCCESS);
     369    return pCtx->pfnCallback(pThisCore, pszName, uDepth, pCtx->pvUser);
     370}
     371
     372
     373static DECLCALLBACK(int) rtAsn1VtDeepEnumDepthLast(PRTASN1CORE pThisCore, const char *pszName, uint32_t uDepth, void *pvUser)
     374{
     375    AssertReturn(pThisCore, VINF_SUCCESS);
    376376
    377377    RTASN1DEEPENUMCTX *pCtx = (RTASN1DEEPENUMCTX *)pvUser;
    378     int rc = pCtx->pfnCallback(pAsn1Core, pszName, uDepth, pCtx->pvUser);
     378    int rc = pCtx->pfnCallback(pThisCore, pszName, uDepth, pCtx->pvUser);
    379379    if (rc == VINF_SUCCESS)
    380380    {
    381         if (pAsn1Core->pOps && pAsn1Core->pOps->pfnEnum)
    382             rc = pAsn1Core->pOps->pfnEnum(pAsn1Core, rtAsn1VtDeepEnumDepthFirst, uDepth, pvUser);
     381        if (pThisCore->pOps && pThisCore->pOps->pfnEnum)
     382            rc = pThisCore->pOps->pfnEnum(pThisCore, rtAsn1VtDeepEnumDepthFirst, uDepth, pvUser);
    383383    }
    384384    return rc;
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