MCPcopy Create free account
hub / github.com/apache/trafficserver / TSHostnameIsSelf

Function TSHostnameIsSelf

src/api/InkAPI.cc:8839–8843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8837}
8838
8839TSReturnCode
8840TSHostnameIsSelf(const char *hostname, size_t hostname_len)
8841{
8842 return Machine::instance()->is_self(std::string_view{hostname, hostname_len}) ? TS_SUCCESS : TS_ERROR;
8843}
8844
8845TSReturnCode
8846TSHostStatusGet(const char *hostname, const size_t hostname_len, TSHostStatus *status, unsigned int *reason)

Callers

nothing calls this directly

Calls 1

is_selfMethod · 0.80

Tested by

no test coverage detected