Build getaddr/nameinfo into lib/.
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index c634bc3..e02ebf3 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -562,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