[NUT-devel] Another suggestion for broadcast [PATCH]

Rich Felker dalias at aerifal.cx
Mon Feb 11 04:26:10 CET 2008


On Mon, Feb 11, 2008 at 03:16:26AM +0100, Michael Niedermayer wrote:
> 
> ok, ill add a
> main_flags              v
> to the main header

I assume this is in the reserved bytes of main header?

> and use
> if(main_flags & WHATEVER)
>     buffer_fullness                 v
> in case we agree on the buffer_fullness field
> 
> 
> I think we dont need the "if(bytes remaining in the syncpoint)"
> then anymore

I suppose not. Would you be happier considering files with the flag in
the main header, but with missing buffer field(s) in syncpoints, as
corrupt/broken files?

Rich



More information about the NUT-devel mailing list