gebr-comm-hostinfo

gebr-comm-hostinfo

Synopsis

struct              GebrCommHostInfo;
void                (*GebrCommHostInfoFunc)             (GebrCommHostInfo *host_info,
                                                         gpointer user_data);
void                gebr_comm_host_info_lookup          (GString *hostname,
                                                         GebrCommHostInfoFunc callback,
                                                         gpointer user_data);
void                gebr_comm_host_info_free            (GebrCommHostInfo *host_info);
enum GebrCommHostInfoError  gebr_comm_host_info_error   (GebrCommHostInfo *host_info);
GList *             gebr_comm_host_info_addesses        (GebrCommHostInfo *host_info);
GebrCommSocketAddress * gebr_comm_host_info_first_address
                                                        (GebrCommHostInfo *host_info);
GebrCommHostInfo *  gebr_comm_host_info_lookup_blocking (GString *hostname);
GebrCommHostInfo *  gebr_comm_host_info_lookup_local    (void);

Description

Details

struct GebrCommHostInfo

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

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);