VirtualBox

Changeset 65428 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 24, 2017 3:32:55 PM (8 years ago)
Author:
vboxsync
Message:

doxygen fixes

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/netif.h

    r63256 r65428  
    9393int NetIfGetConfig(HostNetworkInterface * pIf, NETIFINFO *);
    9494int NetIfGetConfigByName(PNETIFINFO pInfo);
    95 int NetIfGetState(const char *pszIfName, NETIFSTATUS *penmState);
    96 int NetIfGetLinkSpeed(const char *pszIfName, uint32_t *puMbits);
     95int NetIfGetState(const char *pcszIfName, NETIFSTATUS *penmState);
     96int NetIfGetLinkSpeed(const char *pcszIfName, uint32_t *puMbits);
    9797int NetIfDhcpRediscover(VirtualBox *pVBox, HostNetworkInterface * pIf);
    9898int NetIfAdpCtlOut(const char *pszName, const char *pszCmd, char *pszBuffer, size_t cBufSize);
     
    153153    /* Get the index from the name */
    154154    Utf8Str strTmp = bstrIfName;
    155     const char *pszIfName = strTmp.c_str();
     155    const char *pcszIfName = strTmp.c_str();
    156156    int iInstance = 0;
    157     size_t iPos = strcspn(pszIfName, "0123456789");
    158     if (pszIfName[iPos])
    159         iInstance = RTStrToUInt32(pszIfName + iPos);
     157    size_t iPos = strcspn(pcszIfName, "0123456789");
     158    if (pcszIfName[iPos])
     159        iInstance = RTStrToUInt32(pcszIfName + iPos);
    160160
    161161    in_addr tmp;
  • trunk/src/VBox/Main/src-server/win/NetIf-win.cpp

    r63563 r65428  
    11121112 * @returns VBox status code.
    11131113 *
    1114  * @param   pszIfName   Interface name.
     1114 * @param   pcszIfName  Interface name.
    11151115 * @param   penmState   Where to store the retrieved state.
    11161116 */
    1117 int NetIfGetState(const char *pszIfName, NETIFSTATUS *penmState)
    1118 {
    1119     RT_NOREF(pszIfName, penmState);
     1117int NetIfGetState(const char *pcszIfName, NETIFSTATUS *penmState)
     1118{
     1119    RT_NOREF(pcszIfName, penmState);
    11201120    return VERR_NOT_IMPLEMENTED;
    11211121}
     
    11271127 * @returns VBox status code.
    11281128 *
    1129  * @param   pszIfName  Interface name.
     1129 * @param   pcszIfName  Interface name.
    11301130 * @param   puMbits     Where to store the link speed.
    11311131 */
    1132 int NetIfGetLinkSpeed(const char *pszIfName, uint32_t *puMbits)
    1133 {
    1134     RT_NOREF(pszIfName, puMbits);
     1132int NetIfGetLinkSpeed(const char *pcszIfName, uint32_t *puMbits)
     1133{
     1134    RT_NOREF(pcszIfName, puMbits);
    11351135    return VERR_NOT_IMPLEMENTED;
    11361136}
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