diff options
author | lordjaxom <lordjaxom> | 2005-02-08 19:54:52 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-02-08 19:54:52 +0000 |
commit | 78b9b7c6ba30158f97a9f6c34a16ac3047d5f4e3 (patch) | |
tree | 4b792b0fa20c5857431dc4139217f06c172fdf8a /tools/source.h | |
parent | b2b925d1a933c9129eb84699e9893d80e7e9534d (diff) | |
download | vdr-plugin-streamdev-78b9b7c6ba30158f97a9f6c34a16ac3047d5f4e3.tar.gz vdr-plugin-streamdev-78b9b7c6ba30158f97a9f6c34a16ac3047d5f4e3.tar.bz2 |
- transfer
Diffstat (limited to 'tools/source.h')
-rw-r--r-- | tools/source.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/source.h b/tools/source.h index d55f3e1..09c4bf3 100644 --- a/tools/source.h +++ b/tools/source.h @@ -78,6 +78,8 @@ public: and errno is set appropriately. TimedRead only works on UNIX file descriptor sources. */ bool TimedWrite(const void *Buffer, size_t Length, uint TimeoutMs); + + bool SafeWrite(const void *Buffer, size_t Length); /* ReadUntil() tries to read at most Length bytes into the storage pointed to by Buffer, which must be at least Length bytes in size, within the |