1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-18 13:39:02 +00:00

Replaced internal opaque types by structs.

This commit is contained in:
henri
2014-05-21 19:59:42 +00:00
parent 687d153378
commit d13dab54c3
22 changed files with 407 additions and 406 deletions

View File

@@ -185,7 +185,7 @@ static char *get_addr_string(const struct sockaddr_storage *ss, size_t sslen) {
* In case we have support for UNIX domain sockets, function returns
* string containing path to UNIX socket if the address family is AF_UNIX,
* otherwise it returns string containing "<address>:<port>". */
char *get_peeraddr_string(const msiod *iod) {
char *get_peeraddr_string(const struct niod *iod) {
if (iod->peerlen > 0)
return get_addr_string(&iod->peer, iod->peerlen);
else
@@ -193,6 +193,6 @@ char *get_peeraddr_string(const msiod *iod) {
}
/* Get the local bind address string. */
char *get_localaddr_string(const msiod *iod) {
char *get_localaddr_string(const struct niod *iod) {
return get_addr_string(&iod->local, iod->locallen);
}