Add an "unsafe" symlink to the symlink test case so we can see what happens.
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 9f23119..f723b34 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -389,7 +389,8 @@ static inline int flist_up(struct file_list *flist, int i)
 #include "byteorder.h"
 #include "proto.h"
 #include "lib/mdfour.h"
-
+#include "lib/permstring.h"
+#include "lib/addrinfo.h"
 
 /* We have replacement versions of these if they're missing. */
 #ifndef HAVE_ASPRINTF
@@ -566,4 +567,19 @@ extern int verbose;
 extern struct global_opts {
        /** Network address family. **/
        int af_hint;
+       
+       /** Do not go into the background when run as --daemon.  Good
+        * for debugging and required for running as a service on W32,
+        * or under Unix process-monitors. **/
+       int no_detach;
 } 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