From b540328a44ada1a8612957e6bba74ea31345f77a Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 9 Aug 1997 23:43:39 +0000 Subject: (struct ftp_conn_hooks): Add INTERRUPT_CHECK field. --- libftpconn/ftpconn.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libftpconn') 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. */ -- cgit v1.2.3