- static const char * findAVP(const anna::DataBlock & avpsDB, const AvpId & id, int n = 1) throw(anna::RuntimeException);
+ static const char *findAVP(const char *avpsDB, int avpsLen, const diameter::AvpId & id, int n = 1) throw(anna::RuntimeException);
+
+// /**
+// * Gets the next AVP pointer reference within an AVPs set datablock with a certain AVP identification.
+// *
+// * @param avpsDB AVPs set as datablock
+// * @param id Avp identification (code, vendorId).
+// * @param n Ocurrence number (first avp, second avp, etc.). 1 by default.
+// *
+// * @return Pointer to first AVP found with identification provided. NULL if not found.
+// */
+// static const char * findAVP(const anna::DataBlock & avpsDB, const AvpId & id, int n = 1) throw(anna::RuntimeException);