Add second work package for REST API implementation
[anna.git] / include / anna / diameter / helpers / base / functions.hpp
index c358446..c500b97 100644 (file)
@@ -88,6 +88,16 @@ struct functions {
     U32 dummy2, dummy3;
     return (getSessionId(db, dummy1, dummy2, dummy3, dummy4));
   }
+
+
+  /**
+  * Gets the fixed Origin-Host AVP (DiameterIdentity) from datablock provided.
+  *
+  * @param db Provided Message DataBlock
+  *
+  * @return Origin-Host
+  */
+  static std::string getOriginHost(const anna::DataBlock &db) throw(anna::RuntimeException);
 };