projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Packets: Add 'name()' member to packet registry entries
[senf.git]
/
Packets
/
PacketRegistry.hh
diff --git
a/Packets/PacketRegistry.hh
b/Packets/PacketRegistry.hh
index
8233d66
..
2ae1fa3
100644
(file)
--- a/
Packets/PacketRegistry.hh
+++ b/
Packets/PacketRegistry.hh
@@
-48,6
+48,7
@@
namespace senf {
virtual ~PkReg_Entry();
virtual Packet::factory_t factory() const = 0;
///< Get factory of the registered packet type
+ virtual std::string name() const = 0;
};
namespace detail { template <class Key> class PacketRegistryImpl; }