third_party/virtualbox/src/VBox/Devices/Network/DevE1000.cpp
/** Initializes debug helpers (logging format types). */
Initializes debug helpers (logging format types).
Initializes debug helpers ( logging format types ) .
static int e1kInitDebugHelpers(void)
{
    int         rc                   = VINF_SUCCESS;
    static bool s_fHelpersRegistered = false;
    if (!s_fHelpersRegistered)
    {
        s_fHelpersRegistered = true;
        rc = RTStrFormatTypeRegister("e1krxd", e1kFmtRxDesc, NULL);
        AssertRCReturn(rc, rc);
        rc = RTStrFormatTypeRegister("e1ktxd", e1kFmtTxDesc, NULL);
        AssertRCReturn(rc, rc);
    }
    return rc;
}
static int e1kInitDebugHelpers ( void ) { int rc = VINF_SUCCESS ; static bool s_fHelpersRegistered = false ; if ( ! s_fHelpersRegistered ) { s_fHelpersRegistered = true ; rc = RTStrFormatTypeRegister ( " " , e1kFmtRxDesc , NULL ) ; AssertRCReturn ( rc , rc ) ; rc = RTStrFormatTypeRegister ( " " , e1kFmtTxDesc , NULL ) ; AssertRCReturn ( rc , rc ) ; } return rc ; }
Initializes debug helpers (logging format types).
Initializes debug helpers ( logging format types ) .