Avoid appending null byte to RTMP method name.
[gnash.git] / libbase / tu_file.h
blob6406e02e5324b47927407ead736435084d5d531c
1 // tu_file.h -- Ignacio CastaƱo, Thatcher Ulrich 2003
3 // This source code has been donated to the Public Domain. Do
4 // whatever you want with it.
6 // A very generic file class that can be customized with callbacks.
9 #ifndef TU_FILE_H
10 #define TU_FILE_H
12 #include <cstdio>
13 #include <memory>
14 #include "dsodefs.h"
16 namespace gnash {
17 class IOChannel;
20 namespace gnash {
22 DSOEXPORT std::auto_ptr<IOChannel> makeFileChannel(FILE* fp, bool close);
24 } // namespace gnash
25 #endif
27 // Local Variables:
28 // mode: C++
29 // indent-tabs-mode: t
30 // End: