Changes in src/libcfa/fstream [829c907:6152c81]
- File:
-
- 1 edited
-
src/libcfa/fstream (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/fstream
r829c907 r6152c81 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Mar 21 15:57:24201713 // Update Count : 10212 // Last Modified On : Tue Mar 7 14:48:08 2017 13 // Update Count : 91 14 14 // 15 15 … … 21 21 enum { separateSize = 16 }; 22 22 struct ofstream { 23 void * file;23 void *file; 24 24 _Bool sepDefault; 25 25 _Bool sepOnOff; 26 const char * sepCur;27 26 char separator[separateSize]; 28 char tupleSeparator[separateSize];29 27 }; // ofstream 30 28 … … 34 32 void sepReset( ofstream * ); 35 33 void sepReset( ofstream *, _Bool ); 36 const char * sepGetCur( ofstream * );37 void sepSetCur( ofstream *, const char * );38 34 const char * sepGet( ofstream * ); 39 35 void sepSet( ofstream *, const char * ); 40 const char * sepGetTuple( ofstream * );41 void sepSetTuple( ofstream *, const char * );42 36 _Bool sepDisable( ofstream * ); 43 37 _Bool sepEnable( ofstream * ); … … 48 42 void close( ofstream * ); 49 43 ofstream * write( ofstream *, const char * data, unsigned long int size ); 50 int fmt( ofstream *, const char fmt[], ... ); 51 52 void ?{}( ofstream * ); 44 int prtfmt( ofstream *, const char fmt[], ... ); 53 45 54 46 extern ofstream * sout, * serr; … … 56 48 // implement context istream 57 49 struct ifstream { 58 void * file;50 void *file; 59 51 }; // ifstream 60 52 … … 65 57 ifstream * read( ifstream * is, char * data, unsigned long int size ); 66 58 ifstream * ungetc( ifstream * is, char c ); 67 int fmt( ifstream *, const char fmt[], ... );59 int scanfmt( ifstream *, const char fmt[], ... ); 68 60 69 extern ifstream * sin;61 extern ifstream *sin; 70 62 71 63 #endif // __FSTREAM_H__
Note:
See TracChangeset
for help on using the changeset viewer.