X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/1d54358e5207f5f5326dc9e9f362671275c86b22..0e916c6038927a3f4717196d91ce5dd9769b355a:/rsync.h diff --git a/rsync.h b/rsync.h index 5091a9e5..0346c6c8 100644 --- a/rsync.h +++ b/rsync.h @@ -387,10 +387,9 @@ static inline int flist_up(struct file_list *flist, int i) } #include "byteorder.h" -#include "version.h" #include "proto.h" #include "lib/mdfour.h" - +#include "lib/permstring.h" /* We have replacement versions of these if they're missing. */ #ifndef HAVE_ASPRINTF @@ -563,3 +562,18 @@ size_t strlcat(char *d, const char *s, size_t bufsize); extern int verbose; + +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