diff options
author | Miles Bader <miles@gnu.org> | 1997-08-09 23:43:39 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-08-09 23:43:39 +0000 |
commit | b540328a44ada1a8612957e6bba74ea31345f77a (patch) | |
tree | 427bf1320bb722d257ee8d037dceb3387ae420a4 | |
parent | 60403fd27c1fcb924cf360e0e3caa378b59112c0 (diff) |
(struct ftp_conn_hooks):
Add INTERRUPT_CHECK field.
-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. */ |