*** empty log message ***
[h316.git] / pc-tools / ldc2 / src / tape_block.hh
index d2ca3df4c0e90a65bf62845e65bff59b9341c17b..c1084e9e5c4bdb17c6825ffda63c4fe7875854c3 100644 (file)
@@ -48,6 +48,7 @@ public: // methods
   virtual int get_subtype();
   virtual vector<string> get_description();
   int get_raw_size();
+  int get_discarded_bytes();
   unsigned char * get_raw_data();
   
   static tape_block * gen_from_fd(int  fd,
@@ -73,11 +74,12 @@ private:   // methods
 protected: // members
   int block_type;             //!< Type of this block.
   tb_state_t init_state;      //!< Initialisation state.
-  int data_read;              //!< Total data consumption during intialisation.
+  int discarded_bytes;        //!< Amount of bytes discarded before beginning.
   unsigned char * raw_data;   //!< Raw block data in bytes.
   int raw_size;               //!< Size of the raw data.
   unsigned short * word_data; //!< Data organized in machine words.
   int word_size;              //!< Size of the blocks in machine words.
+  int poolsize;               //!< Amount of data malloc'ed 
 }; // class tape_block