All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_NetUtil.h File Reference
#include "UT_API.h"
#include <netinet/in.h>
+ Include dependency graph for UT_NetUtil.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


UT_API bool UTresolveCanonicalHostname (UT_String &host)
UT_API void UTstripDomainName (UT_String &host)
UT_API void UTstripDomainName (UT_WorkBuffer &host)
UT_API bool UTdoPortsMatch (const UT_String &host1, const UT_String &host2)
UT_API bool UTdoPortsMatch (const UT_WorkBuffer &host1, const UT_WorkBuffer &host2)
UT_API bool UTatHostnameDelimeter (const char *p)
UT_API bool UTisHostnameAllNonAlpha (const char *str)

Detailed Description

Common network utilities

Definition in file UT_NetUtil.h.

Function Documentation

UT_API bool UTatHostnameDelimeter ( const char *  p)
UT_API bool UTdoPortsMatch ( const UT_String host1,
const UT_String host2 
UT_API bool UTdoPortsMatch ( const UT_WorkBuffer host1,
const UT_WorkBuffer host2 
UT_API bool UTisHostnameAllNonAlpha ( const char *  str)
UT_API bool UTresolveCanonicalHostname ( UT_String host)

Given host, resolves it to the canonical name if possible. If false is returned, then host is untouched.

UT_API void UTstripDomainName ( UT_String host)
UT_API void UTstripDomainName ( UT_WorkBuffer host)