Changeset 43213 in vbox for trunk/include/iprt
- Timestamp:
- Sep 6, 2012 8:37:56 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80603
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r43171 r43213 1197 1197 # define RTSocketClose RT_MANGLER(RTSocketClose) 1198 1198 # define RTSocketFromNative RT_MANGLER(RTSocketFromNative) 1199 # define RTSocket GetAddrInfo RT_MANGLER(RTSocketGetAddrInfo)1199 # define RTSocketQueryAddressStr RT_MANGLER(RTSocketQueryAddressStr) 1200 1200 # define RTSocketGetLocalAddress RT_MANGLER(RTSocketGetLocalAddress) 1201 1201 # define RTSocketGetPeerAddress RT_MANGLER(RTSocketGetPeerAddress) -
trunk/include/iprt/socket.h
r43206 r43213 130 130 * Try resolve a host name, returning the first matching address. 131 131 * 132 * @remarks Gets the ip addresses of a hostname via getaddrinfo(). It returns133 * only the first result for the moment, but this will change with the134 * upcoming IPv6 struct.135 *136 132 * @returns IPRT status code. 137 133 * @param pszHost Name or IP address to look up. 138 * @param psz Result Where to return the result.139 * @param pcb ResultInput: The size of the @a pszResult buffer.134 * @param pszAddress Where to return the stringified address. 135 * @param pcbAddress Input: The size of the @a pszResult buffer. 140 136 * Output: size of the returned string. This is set on 141 137 * VERR_BUFFER_OVERFLOW and most other error statuses. … … 148 144 * Not modified on failure. 149 145 */ 150 RTDECL(int) RTSocket GetAddrInfo(const char *pszHost, char *pszResult, size_t *pcbResult, PRTNETADDRTYPE penmAddrType);146 RTDECL(int) RTSocketQueryAddressStr(const char *pszHost, char *pszAddress, size_t *pcbAddress, PRTNETADDRTYPE penmAddrType); 151 147 152 148 /**
Note:
See TracChangeset
for help on using the changeset viewer.