#ifndef JINGLE_GLUE_UTILS_H_
#define JINGLE_GLUE_UTILS_H_
#include <string>
namespace net {
class IPEndPoint;
}
namespace talk_base {
class SocketAddress;
}
namespace cricket {
class Candidate;
}
namespace jingle_glue {
bool IPEndPointToSocketAddress(const net::IPEndPoint& ip_endpoint,
talk_base::SocketAddress* address);
bool SocketAddressToIPEndPoint(const talk_base::SocketAddress& address,
net::IPEndPoint* ip_endpoint);
std::string SerializeP2PCandidate(const cricket::Candidate& candidate);
bool DeserializeP2PCandidate(const std::string& address,
cricket::Candidate* candidate);
}
#endif