diff options
Diffstat (limited to 'libftpconn')
-rw-r--r-- | libftpconn/ftpconn.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libftpconn/ftpconn.h b/libftpconn/ftpconn.h index b9e4bc8a..5af41ee3 100644 --- a/libftpconn/ftpconn.h +++ b/libftpconn/ftpconn.h @@ -143,6 +143,11 @@ struct ftp_conn_hooks /* Called when CONN is about to be destroyed. No hook calls are ever made after this one. */ void (*fini) (struct ftp_conn *conn); + + /* This hook should return true if the current thread has been interrupted + in some way, and EINTR (or a short count in some cases) should be + returned from a blocking function. */ + int (*interrupt_check) (struct ftp_conn *conn); }; /* A single ftp connection. */ |