summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 20:13:29 -0800
committerNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 20:13:29 -0800
commitf6e2bfe69c014b9b99423320ba787a3df938754b (patch)
tree5488041351a38bac3744df9d22e5ada6ea754b99 /includes
parent76ab3f1ddc143d65e97ab301c742ad6553f1b560 (diff)
Input's open, read and close are now operations fully interruptible.
Diffstat (limited to 'includes')
-rw-r--r--includes/Input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/Input.h b/includes/Input.h
index 51b17c7..af17107 100644
--- a/includes/Input.h
+++ b/includes/Input.h
@@ -15,6 +15,7 @@ class Input : public SeekableHandle {
virtual const char * getName();
virtual off_t getSize();
virtual time_t getMTime();
+ bool isPendingComplete();
const char * getFName() { return m_fname.to_charp(); }
private:
int m_fd = -1;
@@ -22,6 +23,7 @@ class Input : public SeekableHandle {
String m_fname;
off_t m_size = -1;
time_t m_mtime = -1;
+ void * m_pendingOp = NULL;
};
};