summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-04 14:21:08 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-04 14:21:08 +0100
commit8831fe304fd7992c4017b434d3d6e70478b34872 (patch)
treebe713d71102da8d7a154c41e560308f8cd994b64 /tools.h
parentdc4a1bca2ee31042d36aa3fea09ef203aff22717 (diff)
downloadvdr-8831fe304fd7992c4017b434d3d6e70478b34872.tar.gz
vdr-8831fe304fd7992c4017b434d3d6e70478b34872.tar.bz2
Made FadviseDrop() private
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools.h b/tools.h
index bd2e97ce..1fbe8e7c 100644
--- a/tools.h
+++ b/tools.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.h 1.91 2006/02/04 13:58:01 kls Exp $
+ * $Id: tools.h 1.92 2006/02/04 14:21:08 kls Exp $
*/
#ifndef __TOOLS_H
@@ -251,13 +251,13 @@ private:
size_t readahead;
size_t written;
size_t totwritten;
+ int FadviseDrop(off_t Offset, off_t Len);
public:
cUnbufferedFile(void);
~cUnbufferedFile();
int Open(const char *FileName, int Flags, mode_t Mode = DEFFILEMODE);
int Close(void);
void SetReadAhead(size_t ra);
- int FadviseDrop(off_t Offset, off_t Len);
off_t Seek(off_t Offset, int Whence);
ssize_t Read(void *Data, size_t Size);
ssize_t Write(const void *Data, size_t Size);