X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/740819ef7b3b96451e16b2fa3891d46cfc73ec64..7c583c73160714a2f61034515adb1a4a32f9d818:/rsync.h diff --git a/rsync.h b/rsync.h index 0346c6c8..f723b34c 100644 --- a/rsync.h +++ b/rsync.h @@ -390,6 +390,7 @@ static inline int flist_up(struct file_list *flist, int i) #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,6 +567,11 @@ 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;