Merge Steve & Erik's etherdev & scsi changes with mine (specifically
authorSteve Reinhardt <stever@eecs.umich.edu>
Thu, 30 Oct 2003 06:13:16 +0000 (22:13 -0800)
committerSteve Reinhardt <stever@eecs.umich.edu>
Thu, 30 Oct 2003 06:13:16 +0000 (22:13 -0800)
new arg type for unserialize()).

dev/etherpkt.hh:
    unserialize() takes Checkpoint* instead of IniFile* now.

--HG--
extra : convert_revision : 21b9d97350a591b0f95d84f6c0cfcdfa0b28d714

dev/etherpkt.hh

index 030f51317432a4d9f5278959c1ddcc35c24f672c..c91322526022b3703960ab7c8c7b9fd9a3f9d2da 100644 (file)
@@ -39,7 +39,7 @@
 
 #include "base/refcnt.hh"
 
-class IniFile;
+class Checkpoint;
 
 /*
  * Reference counted class containing ethernet packet data
@@ -61,8 +61,8 @@ class EtherPacket : public RefCounted
     bool IsMulticast() { return data[0] == 0x01; }
     bool IsBroadcast() { return data[0] == 0xff; }
 
-    virtual void serialize(std::ostream &os);
-    virtual void unserialize(const IniFile *db, const std::string &section);
+    void serialize(std::ostream &os);
+    void unserialize(Checkpoint *cp, const std::string &section);
 };
 
 typedef RefCountingPtr<EtherPacket> PacketPtr;