12 #ifndef __NET_UTILS_H__
13 #define __NET_UTILS_H__
69 #endif // __NET_UTILS_H__
NET_API void NETparseUserAgent(const UT_StringView &user_agent, UT_StringHolder *version=nullptr, UT_StringHolder *platform=nullptr)
This represents a Ipv4 address.
NET_API UT_StringHolder NETdetermineCAInfo()
Determine the default CA Info path used by Houdini.
GLuint GLsizei GLsizei * length
NET_API UT_UniquePtr< UT_JSONWriter > NETcreateJSONWriter(UT_WorkBuffer &content)
NET_API UT_StringHolder NETremoveDotSegmentsInUrlPath(const UT_StringRef &p)
Remove any dot segments present in the provided url path.
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
A utility class to do read-only operations on a subset of an existing string.
NET_API UT_StringHolder NEThtmlEscape(const UT_StringHolder &name)
HTML escape text to ensure security saftey.
GLuint const GLchar * name
GT_API const UT_StringHolder version
NET_API UT_StringHolder NETdetermineCAPath()
Determine the default CA Path used by Houdini.
NET_API bool NETmatchIPMask(const UT_IpAddressV4 &server_ip, const UT_IpAddressV4 &client_ip, const char *ipmask)
NET_API void NETgetLocalAndRemoteIPs(UT_NetSocket *sock, UT_IpAddressV4 &local_ip, UT_IpAddressV4 &remote_ip)
NET_API UT_StringHolder NEThttpDate()
NET_API UT_StringHolder NETgenerateRandomString(int length)
NET_API bool NETsplitPassword(const UT_StringHolder &password, UT_StringHolder &alg_string, int &iterations, UT_StringHolder &salt, UT_StringHolder &hashed_password)