Top | ![]() |
![]() |
![]() |
![]() |
OobsStaticHost * | oobs_static_host_new () |
const gchar * | oobs_static_host_get_ip_address () |
void | oobs_static_host_set_ip_address () |
GList * | oobs_static_host_get_aliases () |
void | oobs_static_host_set_aliases () |
OobsStaticHost * oobs_static_host_new (const gchar *ip_address
,GList *aliases
);
Returns a new OobsStaticHost defining both the IP address and the list of hostnames that will point to the IP address.
const gchar *
oobs_static_host_get_ip_address (OobsStaticHost *static_host
);
Returns the static host IP address.
void oobs_static_host_set_ip_address (OobsStaticHost *static_host
,const gchar *ip_address
);
Sets the IP address of static_host to be ip_address, overwriting the previous one.
GList *
oobs_static_host_get_aliases (OobsStaticHost *static_host
);
Returns the hostname aliases for the static_host IP address.
The returned list must be freed with g_list_free()
.
void oobs_static_host_set_aliases (OobsStaticHost *static_host
,GList *aliases
);
Sets a new list of aliases for the static_host IP address. overwriting the previous one.
static_host |
An OobsStaticHost. |
|
aliases |
a GList of gchar pointers containing the host aliases. |