Top |
Functions
GObject * | nm_ip4_config_new () |
const char * | nm_ip4_config_get_gateway () |
const GSList * | nm_ip4_config_get_addresses () |
const GSList * | nm_ip4_config_get_routes () |
const GArray * | nm_ip4_config_get_nameservers () |
const GPtrArray * | nm_ip4_config_get_domains () |
const GPtrArray * | nm_ip4_config_get_searches () |
const GArray * | nm_ip4_config_get_wins_servers () |
Properties
gpointer | addresses | Read |
NMStringArray * | domains | Read |
gchar * | gateway | Read |
NMUintArray * | nameservers | Read |
gpointer | routes | Read |
NMStringArray * | searches | Read |
NMUintArray * | wins-servers | Read |
Types and Values
#define | NM_IP4_CONFIG_GATEWAY |
#define | NM_IP4_CONFIG_ADDRESSES |
#define | NM_IP4_CONFIG_ROUTES |
#define | NM_IP4_CONFIG_NAMESERVERS |
#define | NM_IP4_CONFIG_DOMAINS |
#define | NM_IP4_CONFIG_SEARCHES |
#define | NM_IP4_CONFIG_WINS_SERVERS |
Functions
nm_ip4_config_new ()
GObject * nm_ip4_config_new (DBusGConnection *connection
,const char *object_path
);
Creates a new NMIP4Config.
nm_ip4_config_get_gateway ()
const char *
nm_ip4_config_get_gateway (NMIP4Config *config
);
Gets the IP4 gateway address.
Since 0.9.10
nm_ip4_config_get_addresses ()
const GSList *
nm_ip4_config_get_addresses (NMIP4Config *config
);
Gets the IP4 addresses (containing the address, prefix, and gateway).
Returns
the GSList containing NMIP4Addresses. This is the internal copy used by the configuration and must not be modified.
[element-type NMIP4Address]
nm_ip4_config_get_routes ()
const GSList *
nm_ip4_config_get_routes (NMIP4Config *config
);
Gets the routes.
Returns
the GSList containing NMIP4Routes. This is the internal copy used by the configuration, and must not be modified.
[element-type NMIP4Route]
nm_ip4_config_get_nameservers ()
const GArray *
nm_ip4_config_get_nameservers (NMIP4Config *config
);
Gets the domain name servers (DNS).
nm_ip4_config_get_domains ()
const GPtrArray *
nm_ip4_config_get_domains (NMIP4Config *config
);
Gets the domain names.
nm_ip4_config_get_searches ()
const GPtrArray *
nm_ip4_config_get_searches (NMIP4Config *config
);
Gets the dns searches.
Returns
the GPtrArray containing dns searches as strings. This is the internal copy used by the configuration, and must not be modified.
[element-type utf8]
Since 0.9.10
nm_ip4_config_get_wins_servers ()
const GArray *
nm_ip4_config_get_wins_servers (NMIP4Config *config
);
Gets the Windows Internet Name Service servers (WINS).