[NUT-devel] max number of streams?
Clemens Ladisch
cladisch at fastmail.net
Tue Jan 23 08:54:21 CET 2007
nut.txt doesn't specify a limit for the number of streams:
| stream_count (v)
| number of streams in this file
| ...
| stream_id (v)
| Stream identifier
| stream_id MUST be < stream_count
but a stream id in the frame type table must be less than 250:
| stream_id[frame_code] (v)
| if FLAG_STREAM_ID is not set then this is the stream number for the
| frame following this frame_code
| if FLAG_STREAM_ID is set then this value has no meaning
| MUST be <250
Does this imply that NUT files can have _any_ number of streams, but
stream_id values of 250 or greater must be explicitly coded in frame
headers?
Regards,
Clemens
More information about the NUT-devel
mailing list