Keep unused parameter for API compatibility

This commit is contained in:
Will Storey 2019-10-15 19:07:48 -07:00
commit d84f285b91
3 changed files with 5 additions and 3 deletions

View file

@ -12,7 +12,7 @@ typedef struct {
} RESOLVED_IP_REC;
/* nonblocking gethostbyname(), PID of the resolver child is returned. */
int net_gethostbyname_nonblock(const char *addr, GIOChannel *pipe);
int net_gethostbyname_nonblock(const char *addr, GIOChannel *pipe, int reverse_lookup);
/* get the resolved IP address. returns -1 if some error occurred with read() */
int net_gethostbyname_return(GIOChannel *pipe, RESOLVED_IP_REC *rec);