+// Used for alarms, tracing and Failed-AVP construction:
+typedef struct parent {
+
+ // Used on decoding:
+ anna::diameter::CommandId MessageId;
+ std::string MessageName;
+
+ std::vector<anna::diameter::AvpId> AvpsId;
+ std::vector<std::string> AvpsName;
+
+ void setMessage(const anna::diameter::CommandId & mid, const char *mname = NULL /* well known in validation */) throw();
+ void addAvp(const anna::diameter::AvpId & aid, const char *aname = NULL /* well known in validation */) throw();
+ std::string asString() const throw();
+
+} parent_t;
+
+
+
+