Packet: added Packet::reparse() and ::clearAnnotations() member
[senf.git] / senf / Packets / PacketImpl.hh
index 0b4f905..32b2acf 100644 (file)
@@ -131,8 +131,8 @@ namespace detail {
 
         // rerference/memory management
 
-        void add_ref(refcount_t n=1);
-        void release(refcount_t n=1);
+        void add_ref();
+        void release();
         refcount_t refcount() const;
 
         // Interpreter chain
@@ -171,6 +171,7 @@ namespace detail {
         template <class Annotation>
         Annotation & annotation();
 
+        void clearAnnotations();
         void dumpAnnotations(std::ostream & os);
 
         /** \brief Internal: Keep PacketImpl instance alive