Fixed dependencies in Makefile
[h316.git] / pc-tools / ldc2 / src / tape_block.cpp
index b6fc25b49183b5b80ebe296ce2fabbd9e477e03c..9583465f638e63e5c1fed2f790575c27e4cd3a4e 100644 (file)
@@ -1,4 +1,22 @@
-
+/******************************************************************************
+ * 
+ * LDC2 source code
+ *
+ * $Date: 2007/12/23 15:25:11 $
+ * $Author: hachti $
+ *
+ * $Log: tape_block.cpp,v $
+ * Revision 2.2  2007/12/23 15:25:11  hachti
+ * *** empty log message ***
+ *
+ * Revision 2.1  2007-03-26 03:20:31  hachti
+ * *** empty log message ***
+ *
+ * Revision 2.0  2007-03-26 01:00:40  hachti
+ * *** empty log message ***
+ *
+ *
+ ******************************************************************************/
 
 #include <string>
 #include <vector>
@@ -144,8 +162,8 @@ int tape_block::get_discarded_bytes(){
 /*!
  *\brief Access internal raw data buffer
  *
- * The raw data buffer contains all block data except the \    \
- * block start delimiter and block end delimiter.
+ * The raw data buffer contains all block data except the
+ * block start and end delimiters.
  *\return Pointer to internal raw data buffer of the block
  */
 unsigned char * tape_block::get_raw_data(){
@@ -212,6 +230,18 @@ vector<string> tape_block::get_called_symbols(){
   return result;
 }
 
+/***************************************************************/
+/*!
+ *\brief Dump block contents
+ *\return A vector containing Information about the block's 
+ *        content.
+ */
+vector<string> tape_block::dump_contents(){
+  vector<string> result;
+  result.insert(result.end(),"No known contents.");
+  return result;
+}
+
 /***************************************************************/
 /*!
  *\brief Determine if the block has a known type.
@@ -619,7 +649,7 @@ eof_legal_exception(int bytes_consumed){
 /***************************************************************/
 /*!
  *\brief Get amount of consumed data before EOF came along.
- *\return Amound of bytes read from fd while looking for
+ *\return Amount of bytes read from fd while looking for
  *        new block or EOF.
  */
 int tape_block::eof_legal_exception::get_consumed(){