X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Ftape_block.hh;h=64f13fd1ba0920831b55992e54612cbdc36f169f;hb=7ced2dbeb1a104912fbdd041ce18b0e29a72d893;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..64f13fd 100644 --- a/pc-tools/ldc2/src/tape_block.hh +++ b/pc-tools/ldc2/src/tape_block.hh @@ -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 get_exported_symbols(); + virtual vector get_called_symbols(); + virtual vector 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.