comparison src/lstream.h @ 219:262b8bb4a523 r20-4b8

Import from CVS: tag r20-4b8
author cvs
date Mon, 13 Aug 2007 10:09:35 +0200
parents 3d6bfa290dbd
children 727739f917cb
comparison
equal deleted inserted replaced
218:c9f226976f56 219:262b8bb4a523
130 130
131 #define DEFINE_LSTREAM_IMPLEMENTATION(name,c_name,size) \ 131 #define DEFINE_LSTREAM_IMPLEMENTATION(name,c_name,size) \
132 Lstream_implementation c_name[1] = \ 132 Lstream_implementation c_name[1] = \
133 { { (name), (size) } } 133 { { (name), (size) } }
134 134
135 #define LSTREAM_FL_IS_OPEN 1 135 #define LSTREAM_FL_IS_OPEN 1
136 #define LSTREAM_FL_READ 2 136 #define LSTREAM_FL_READ 2
137 #define LSTREAM_FL_WRITE 4 137 #define LSTREAM_FL_WRITE 4
138 #define LSTREAM_FL_NO_PARTIAL_CHARS 8 138 #define LSTREAM_FL_NO_PARTIAL_CHARS 8
139 #define LSTREAM_FL_CLOSE_AT_DISKSAVE 16
139 140
140 struct lstream 141 struct lstream
141 { 142 {
142 struct lcrecord_header header; 143 struct lcrecord_header header;
143 CONST Lstream_implementation *imp; /* methods for this stream */ 144 CONST Lstream_implementation *imp; /* methods for this stream */