8#ifndef BOTAN_TLS_SERVER_INFO_H_
9#define BOTAN_TLS_SERVER_INFO_H_
11#include <botan/types.h>
47 std::string
hostname()
const {
return m_hostname; }
53 std::string
service()
const {
return m_service; }
58 uint16_t
port()
const {
return m_port; }
63 bool empty()
const {
return m_hostname.empty(); }
66 std::string m_hostname;
67 std::string m_service;
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_FUTURE_EXPLICIT
bool operator==(const Server_Information &a, const Server_Information &b)
bool operator<(const Server_Information &a, const Server_Information &b)
bool operator!=(const Server_Information &a, const Server_Information &b)