| Liboobs (System configuration management) Reference Manual | ||||
|---|---|---|---|---|
OobsStaticHost;
OobsStaticHost* oobs_static_host_new (const gchar *ip_address,
GList *aliases);
const gchar * oobs_static_host_get_ip_address (OobsStaticHost *static_host);
void oobs_static_host_set_ip_address (OobsStaticHost *static_host,
const gchar *ip_address);
GList * oobs_static_host_get_aliases (OobsStaticHost *static_host);
void oobs_static_host_set_aliases (OobsStaticHost *static_host,
GList *aliases);
OobsStaticHost* oobs_static_host_new (constgchar *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.
|
IP address for the static host. |
|
|
Returns : |
A new |
constgchar * oobs_static_host_get_ip_address (OobsStaticHost *static_host);
Returns the static host IP address.
|
An |
Returns : |
A pointer to the static host IP address as a string. This string must not be freed, modified or stored. |
void oobs_static_host_set_ip_address (OobsStaticHost *static_host, constgchar *ip_address);
Sets the IP address of
|
An |
|
A new IP address for |
GList * oobs_static_host_get_aliases (OobsStaticHost *static_host);
Returns the hostname aliases for the g_list_free()
|
An |
Returns : |
A |
void oobs_static_host_set_aliases (OobsStaticHost *static_host,GList *aliases);
Sets a new list of aliases for the
|
An |
|
a |