Added some includes
[h316.git] / pc-tools / ldc2 / src / tape_block.hh
index 3022a6a46d64210ec42df912de98e10ef730a5f9..64f13fd1ba0920831b55992e54612cbdc36f169f 100644 (file)
@@ -1,3 +1,20 @@
+/******************************************************************************
+ * 
+ * LDC2 source code
+ *
+ * $Date: 2007/12/23 15:25:11 $
+ * $Author: hachti $
+ *
+ * $Log: tape_block.hh,v $
+ * Revision 2.1  2007/12/23 15:25:11  hachti
+ * *** empty log message ***
+ *
+ * Revision 2.0  2007-03-26 01:00:40  hachti
+ * *** empty log message ***
+ *
+ *
+ ******************************************************************************/
 #ifndef TAPE_BLOCK_HH
 #define TAPE_BLOCK_HH
 
@@ -89,7 +106,13 @@ public: // methods
   int get_raw_size();
   int get_discarded_bytes();
   unsigned char * get_raw_data();
-  
+  virtual int dump_to_fd(int fd);
+  virtual bool is_endblock();
+  virtual vector<string> get_exported_symbols();
+  virtual vector<string> get_called_symbols();
+  virtual vector<string> dump_contents();
+  virtual bool has_known_type();
+
   static tape_block * gen_from_fd(int  fd,
                                  void(*input_start)(void *)=0,
                                  void (*input_stop)(void *)=0,
@@ -112,6 +135,7 @@ private:   // methods
   
 protected: // members
   int block_type;             //!< Type of this block.
+  bool m_has_known_type;      //!< Block is of a documented type.
   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.