X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/d5d4b282203f9cb06e77e67021ffdd62abb24d89..647c5433f81a0c756f704bf61e252252373fa9c6:/rsync.h diff --git a/rsync.h b/rsync.h index 9f231199..e02ebf35 100644 --- a/rsync.h +++ b/rsync.h @@ -567,3 +567,13 @@ extern struct global_opts { /** Network address family. **/ int af_hint; } global_opts; + + +#ifndef HAVE_INET_NTOP +const char * +inet_ntop(int af, const void *src, char *dst, size_t size); +#endif /* !HAVE_INET_NTOP */ + +#ifndef HAVE_INET_PTON +int isc_net_pton(int af, const char *src, void *dst); +#endif