poser
A C framework for POsix SERvices
Loading...
Searching...
No Matches
PSC_ResolverEntry Class Reference

A single entry for the PSC_Resolver. More...

#include <poser/core/resolver.h>

Public Member Functions

const PSC_IpAddrPSC_ResolverEntry_addr (const PSC_ResolverEntry *self)
 The IP address of the entry.
 
const char * PSC_ResolverEntry_name (const PSC_ResolverEntry *self)
 The resolved name of the entry.
 

Detailed Description

A single entry for the PSC_Resolver.

This just holds a PSC_IpAddr and, if a successful reverse lookup was done, a corresponding name.

Member Function Documentation

◆ PSC_ResolverEntry_addr()

const PSC_IpAddr * PSC_ResolverEntry_addr ( const PSC_ResolverEntry self)

The IP address of the entry.

Parameters
selfthe PSC_ResolverEntry
Returns
the PSC_IpAddr originally added to the PSC_Resolver

◆ PSC_ResolverEntry_name()

const char * PSC_ResolverEntry_name ( const PSC_ResolverEntry self)

The resolved name of the entry.

Parameters
selfthe PSC_ResolverEntry
Returns
the resolved name for an IP address, or NULL if resolving didn't succeed or no resolving was done yet

The documentation for this class was generated from the following file: