1 //----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
4 //---------------------------------------------------------------------
7 MIME sniffer range declarations
9 #ifndef _SNIFFER_RANGE_H
10 #define _SNIFFER_RANGE_H
12 #include <SupportDefs.h>
20 //! A range of byte offsets from which to check a pattern against a data stream.
23 Range(int32 start
, int32 end
);
25 status_t
InitCheck() const;
31 void SetTo(int32 start
, int32 end
);
38 }; // namespace Sniffer
39 }; // namespace Storage
40 }; // namespace BPrivate
42 #endif // _SNIFFER_RANGE_H