aboutsummaryrefslogtreecommitdiff
path: root/connected.h
diff options
context:
space:
mode:
Diffstat (limited to 'connected.h')
-rw-r--r--connected.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/connected.h b/connected.h
index 12594efa1..5d88e26c7 100644
--- a/connected.h
+++ b/connected.h
@@ -23,6 +23,13 @@ struct check_connected_options {
/* Transport whose objects we are checking, if available. */
struct transport *transport;
+
+ /*
+ * If non-zero, send error messages to this descriptor rather
+ * than stderr. The descriptor is closed before check_connected
+ * returns.
+ */
+ int err_fd;
};
#define CHECK_CONNECTED_INIT { 0 }