VirtualBox

Changeset 58438 in vbox for trunk/include/iprt/net.h


Ignore:
Timestamp:
Oct 27, 2015 4:30:34 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103701
Message:

IPRT/net: add RTNetStrIsIPv4AddrAny, RTNetStrIsIPv6AddrAny.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/net.h

    r57926 r58438  
    7171
    7272/**
     73 * Tests if the given string is a wildcard IPv4 address.
     74 *
     75 * @returns boolean.
     76 * @param   pcszAddr        String which may be an IPv4 address.
     77 */
     78RTDECL(bool) RTNetStrIsIPv4AddrAny(const char *pcszAddr);
     79
     80/**
    7381 * Parses dotted-decimal IPv4 address into RTNETADDRIPV4 representation.
    7482 *
     
    112120 */
    113121RTDECL(bool) RTNetIsIPv6AddrStr(const char *pszAddress);
     122
     123/**
     124 * Tests if the given string is a wildcard IPv6 address.
     125 *
     126 * @returns @c true if it is, @c false if not.
     127 * @param   pszAddress          String which may be an IPv6 address.
     128 */
     129RTDECL(bool) RTNetStrIsIPv6AddrAny(const char *pszAddress);
    114130
    115131/**
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette