New features
[anna.git] / include / anna / diameter / stack / Avp.hpp
index 9a124e5..1c2de1d 100644 (file)
@@ -229,10 +229,11 @@ public:
   void setFormatName(const std::string & fn) throw() { a_formatName = fn; }
   void setVbit(const FlagRule::_v &v) throw() { a_vBit = v; }
   void setMbit(const FlagRule::_v &m) throw() { a_mBit = m; }
-  void setPbit(const FlagRule::_v &p) throw() { a_pBit = p; }
+  void setPbit(const FlagRule::_v &p) throw() { a_pBit = p; } // deprecated flag ...
   void setMayEncrypt(bool me) throw() { a_mayEncrypt = me; }
 
   void setEnums(const char * e) throw() { a_enums.setLiteral(e); }
+  void addEnums(const char * e) throw() { a_enums.addLiteral(e); a_enums.simplifyLiteral(); }
 
   // After format configuration:
   void addLabel(const std::string & data,  const std::string & alias) throw(anna::RuntimeException);