/* returns pointer to the struct that contains 3 strings(element name, attribute name, attribute value)  */
gpointer xmpp_name_attr_struct(const gchar *name, const gchar *attr_name, const gchar *attr_value)
/* returns pointer to the struct that contains 3 strings(element name, attribute name, attribute value)  */
gpointer xmpp_name_attr_struct(const gchar *name, const gchar *attr_name, const gchar *attr_value)
{
    name_attr_t *result;
    result =  wmem_new(wmem_packet_scope(), name_attr_t);
    result->name = name;
    result->attr_name = attr_name;
    result->attr_value = attr_value;
    return result;
}