--- a/servlib/bundling/BPQBlock.h Fri May 27 18:33:25 2011 +0100
+++ b/servlib/bundling/BPQBlock.h Mon May 30 19:36:18 2011 +0100
@@ -39,12 +39,22 @@
u_int length_; ///< Fragment length
};
-class BPQBlock {
+class BPQBlock
+{
public:
BPQBlock(Bundle* bundle);
BPQBlock(BlockInfo* block);
~BPQBlock();
+ /**
+ * Virtual from formatter.
+ *
+ int format(char* buf, size_t sz) const;
+
+ * Virtual from formatter.
+ *
+ void format_verbose(oasys::StringBuffer* buf);
+ */
int write_to_buffer(u_char* buf, size_t len);
/**
@@ -63,7 +73,7 @@
u_int length() const;
/// @}
- bool match(BPQBlock* other) const;
+ bool match(const BPQBlock* other) const;
/// @{ Typedefs and wrappers for the BPQFragment vector and iterators
typedef std::vector<BPQFragment> BPQFragmentVec;