HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_Utils.h File Reference
#include "NET_API.h"
#include <UT/UT_JSONWriter.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_UniquePtr.h>
+ Include dependency graph for NET_Utils.h:

Go to the source code of this file.

Functions

NET_API UT_StringHolder NETdetermineCAPath ()
 Determine the default CA Path used by Houdini. More...
 
NET_API UT_StringHolder NETdetermineCAInfo ()
 Determine the default CA Info path used by Houdini. More...
 
NET_API void NETgetLocalAndRemoteIPs (UT_NetSocket *sock, UT_IpAddressV4 &local_ip, UT_IpAddressV4 &remote_ip)
 
NET_API bool NETmatchIPMask (const UT_IpAddressV4 &server_ip, const UT_IpAddressV4 &client_ip, const char *ipmask)
 
NET_API UT_UniquePtr
< UT_JSONWriter
NETcreateJSONWriter (UT_WorkBuffer &content)
 
NET_API UT_StringHolder NEThttpDate ()
 
NET_API UT_StringHolder NETgenerateRandomString (int length)
 
NET_API UT_StringHolder NETremoveDotSegmentsInUrlPath (const UT_StringRef &p)
 Remove any dot segments present in the provided url path. More...
 
NET_API UT_StringHolder NEThtmlEscape (const UT_StringHolder &name)
 HTML escape text to ensure security saftey. More...
 

Function Documentation

NET_API UT_UniquePtr<UT_JSONWriter> NETcreateJSONWriter ( UT_WorkBuffer content)
NET_API UT_StringHolder NETdetermineCAInfo ( )

Determine the default CA Info path used by Houdini.

NET_API UT_StringHolder NETdetermineCAPath ( )

Determine the default CA Path used by Houdini.

NET_API UT_StringHolder NETgenerateRandomString ( int  length)
NET_API void NETgetLocalAndRemoteIPs ( UT_NetSocket sock,
UT_IpAddressV4 local_ip,
UT_IpAddressV4 remote_ip 
)
NET_API UT_StringHolder NEThtmlEscape ( const UT_StringHolder name)

HTML escape text to ensure security saftey.

NET_API UT_StringHolder NEThttpDate ( )
NET_API bool NETmatchIPMask ( const UT_IpAddressV4 server_ip,
const UT_IpAddressV4 client_ip,
const char *  ipmask 
)
NET_API UT_StringHolder NETremoveDotSegmentsInUrlPath ( const UT_StringRef p)

Remove any dot segments present in the provided url path.