diff options
Diffstat (limited to 'connected.h')
-rw-r--r-- | connected.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/connected.h b/connected.h index 12594efa16..5d88e26c79 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 } |