X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Ftape_block.hh;h=ebd8f025d2753e1faab44d133c7c1557688f70c4;hb=4741aa72fcdfe52497013c7cbbeaa0bde9be3564;hp=3022a6a46d64210ec42df912de98e10ef730a5f9;hpb=7880ae2dd0ed55ec671be0fc449487420a126626;p=h316.git diff --git a/pc-tools/ldc2/src/tape_block.hh b/pc-tools/ldc2/src/tape_block.hh index 3022a6a..ebd8f02 100644 --- a/pc-tools/ldc2/src/tape_block.hh +++ b/pc-tools/ldc2/src/tape_block.hh @@ -1,3 +1,17 @@ +/****************************************************************************** + * + * LDC2 source code + * + * $Date: 2007/03/26 01:00:40 $ + * $Author: hachti $ + * + * $Log: tape_block.hh,v $ + * Revision 2.0 2007/03/26 01:00:40 hachti + * *** empty log message *** + * + * + ******************************************************************************/ + #ifndef TAPE_BLOCK_HH #define TAPE_BLOCK_HH @@ -89,7 +103,12 @@ 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 get_exported_symbols(); + virtual vector get_called_symbols(); + 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 +131,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.