Index: src/libcfa/fstream
===================================================================
--- src/libcfa/fstream	(revision 4067aa896fa95717c23b7b70fff9f35b7375392f)
+++ src/libcfa/fstream	(revision 6ed1d4b52317879c3ddb7e2d57c79ba619eed0c2)
@@ -10,6 +10,6 @@
 // Created On       : Wed May 27 17:56:53 2015
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Wed Feb 17 14:02:01 2016
-// Update Count     : 22
+// Last Modified On : Wed Jan 27 23:47:41 2016
+// Update Count     : 3
 //
 
@@ -19,27 +19,25 @@
 #include "iostream"
 
+typedef struct ofstream ofstream;
+
 // implement context ostream
-struct ofstream;
+ofstream *write( ofstream *, const char *, streamsize_type );
+int fail( ofstream * );
 
-int fail( ofstream * os );
-int flush( ofstream * os );
-void open( ofstream ** os, const char * name, const char * mode );
-void close( ofstream * os );
-ofstream * write( ofstream * os, const char * data, streamsize_type size );
+ofstream *ofstream_stdout();
+ofstream *ofstream_stderr();
+ofstream *ofstream_fromfile( const char *name );
+void ofstream_close( ofstream *os );
 
-extern ofstream * sout, * serr;
+typedef struct ifstream ifstream;
 
 // implement context istream
-struct ifstream;
+ifstream *read( ifstream *, char *, streamsize_type );
+ifstream *unread( ifstream *, char );
+int fail( ifstream * );
+int eof( ifstream * );
 
-int fail( ifstream * is );
-int eof( ifstream * is );
-void open( ifstream ** is, const char * name, const char * mode );
-void close( ifstream * is );
-ifstream * get( ifstream * is, int * data );
-ifstream * read( ifstream * is, char * data, streamsize_type size );
-ifstream * ungetc( ifstream * is, char c );
-
-extern ifstream *sin;
+ifstream *ifstream_stdin();
+ifstream *ifstream_fromfile( const char *name );
 
 #endif // __FSTREAM_H__
