\hypertarget{group__library__functions}{}\doxysection{Library Functions}
\label{group__library__functions}\index{Library Functions@{Library Functions}}
Library functions\hypertarget{group__library__functions_host_information_hash}{}\doxysubsection{Host Information Hash}\label{group__library__functions_host_information_hash}
 \tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{3}{|X[-1]}|}
\hline
{\bfseries{Key}} &{\bfseries{\mbox{\hyperlink{namespace_qore_1_1_type}{Type}}}} &{\bfseries{Description}}  \\\cline{1-3}
{\ttfamily name}  &\mbox{\hyperlink{data_type_declarations_string_type}{string}} &The official fully-\/qualified name of the host  \\\cline{1-3}
{\ttfamily aliases}  &\mbox{\hyperlink{data_type_declarations_list_type}{list}} of \mbox{\hyperlink{data_type_declarations_string_type}{string}} &Any hostname aliases for the host  \\\cline{1-3}
{\ttfamily typename}  &\mbox{\hyperlink{data_type_declarations_string_type}{string}} &The type of network address (either {\ttfamily \char`\"{}ipv4\char`\"{}} or {\ttfamily \char`\"{}ipv6\char`\"{}})  \\\cline{1-3}
{\ttfamily type}  &\mbox{\hyperlink{data_type_declarations_int_type}{int}} &One of the \mbox{\hyperlink{group__network__address__family__constants}{Network Address Family Constants}} (either \mbox{\hyperlink{group__network__address__family__constants_gad33bf2a0a393d1100099acfb6ca644e2}{Qore\+::\+AF\+\_\+\+INET}} or \mbox{\hyperlink{group__network__address__family__constants_ga4b71df64cd838d8f5c0c1974d3011dab}{Qore\+::\+AF\+\_\+\+INET6}}) corresponding to the type of network addresses given  \\\cline{1-3}
{\ttfamily len}  &\mbox{\hyperlink{data_type_declarations_int_type}{int}} &The length of the addresses in bytes when represented in binary form  \\\cline{1-3}
{\ttfamily addresses}  &\mbox{\hyperlink{data_type_declarations_list_type}{list}} of \mbox{\hyperlink{data_type_declarations_string_type}{string}} &All addresses corresponding to the host; the list should have at least 1 element  \\\cline{1-3}
\end{longtabu}
\hypertarget{group__library__functions_address_information_hash}{}\doxysubsection{Address Information Hash}\label{group__library__functions_address_information_hash}
 \tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{3}{|X[-1]}|}
\hline
{\bfseries{Key}} &{\bfseries{\mbox{\hyperlink{namespace_qore_1_1_type}{Type}}}} &{\bfseries{Description}}  \\\cline{1-3}
{\ttfamily address}  &\mbox{\hyperlink{data_type_declarations_string_type}{string}} &A valid address of the host, for example\+: {\ttfamily \char`\"{}\+::1\char`\"{}}.  \\\cline{1-3}
{\ttfamily address\+\_\+desc}  &\mbox{\hyperlink{data_type_declarations_string_type}{string}} &A descriptive string of the address containing the address family, for example\+: {\ttfamily \char`\"{}ipv6\mbox{[}\+::1\mbox{]}\char`\"{}}   \\\cline{1-3}
{\ttfamily family}  &\mbox{\hyperlink{data_type_declarations_int_type}{int}} &The network address family; see Network Address Family Constants.  \\\cline{1-3}
{\ttfamily familystr}  &\mbox{\hyperlink{data_type_declarations_string_type}{string}} &A descriptive string for the network address family, for example\+: {\ttfamily \char`\"{}ipv6\char`\"{}}.  \\\cline{1-3}
{\ttfamily addrlen}  &\mbox{\hyperlink{data_type_declarations_int_type}{int}} &The length of the internal network address data structure (not normally needed in Qore but provided anyway)  \\\cline{1-3}
\mbox{[}{\ttfamily port}\mbox{]} &\mbox{\hyperlink{data_type_declarations_int_type}{int}} &The port number corresponding to the service (if applicable)  \\\cline{1-3}
\end{longtabu}
