gebr-comm-hostinfo

gebr-comm-hostinfo

Functions

Types and Values

Description

Functions

GebrCommHostInfoFunc ()

void
(*GebrCommHostInfoFunc) (GebrCommHostInfo *host_info,
                         gpointer user_data);

gebr_comm_host_info_lookup ()

void
gebr_comm_host_info_lookup (GString *hostname,
                            GebrCommHostInfoFunc callback,
                            gpointer user_data);

gebr_comm_host_info_free ()

void
gebr_comm_host_info_free (GebrCommHostInfo *host_info);

gebr_comm_host_info_error ()

enum GebrCommHostInfoError
gebr_comm_host_info_error (GebrCommHostInfo *host_info);

gebr_comm_host_info_addesses ()

GList *
gebr_comm_host_info_addesses (GebrCommHostInfo *host_info);

gebr_comm_host_info_first_address ()

GebrCommSocketAddress *
gebr_comm_host_info_first_address (GebrCommHostInfo *host_info);

gebr_comm_host_info_lookup_blocking ()

GebrCommHostInfo *
gebr_comm_host_info_lookup_blocking (GString *hostname);

gebr_comm_host_info_lookup_local ()

GebrCommHostInfo *
gebr_comm_host_info_lookup_local (void);

Types and Values

enum GebrCommHostInfoError

Members

GEBR_COMM_HOST_INFO_ERROR_NONE

   

GEBR_COMM_HOST_INFO_ERROR_NOT_FOUND

   

GEBR_COMM_HOST_INFO_ERROR_NO_ADDRESS

   

GEBR_COMM_HOST_INFO_ERROR_TRY_AGAIN

   

GEBR_COMM_HOST_INFO_ERROR_UNKNOWN

   

struct GebrCommHostInfo

struct GebrCommHostInfo {
	enum GebrCommHostInfoError error;
	GList *addresses;
};