fix lengthfield parsing
[enigma2.git] / lib / base / filepush.h
index b8d9f22..a419d71 100644 (file)
@@ -2,6 +2,7 @@
 #define __lib_base_filepush_h
 
 #include <lib/base/thread.h>
+#include <sys/types.h>
 
 class eFilePushThread: public eThread
 {
@@ -10,6 +11,14 @@ public:
        void thread();
        void stop();
        void start(int sourcefd, int destfd);
+       
+       void pause();
+       void seek(int whence, off_t where);
+       void resume();
+       
+               /* flushes the internal readbuffer */ 
+       void flush();
+       
 private:
        int m_stop;
        unsigned char m_buffer[65536];